srtp: add 256-bit key support
authorAleix Conchillo Flaqué <aleix@oblong.com>
Fri, 13 Dec 2013 22:16:49 +0000 (14:16 -0800)
committerOlivier Crête <olivier.crete@collabora.com>
Fri, 13 Dec 2013 22:51:18 +0000 (17:51 -0500)
commitfefd021ee2916531b8c0698c14787c2e810e9324
treebe2c820d99243f7dedd668f62dee8984eb189dac
parentb3910cabaf3cc0e606a307411e496c9136dbfccc
srtp: add 256-bit key support

* ext/srtp/gstsrtp.[ch]: added GST_SRTP_CIPHER_AES_256_ICM to
  GstSrtpCipherType and new function cipher_key_size.

* ext/srtp/gstsrtpenc.c: maximum key size is now 46 characters (14 for
  the salt plus the key). If different ciphers are chosen for RTP and
  RTCP the maximum needed key size is expected.

* ext/srtp/gstsrtpdec.c: minor documentation updates.

https://bugzilla.gnome.org/show_bug.cgi?id=720434
ext/srtp/gstsrtp.c
ext/srtp/gstsrtp.h
ext/srtp/gstsrtpdec.c
ext/srtp/gstsrtpenc.c