From 76200d4454df29ff6e2e673263cf545fa3222c75 Mon Sep 17 00:00:00 2001 From: Alexander Traud Date: Thu, 16 Jun 2016 15:03:33 +0200 Subject: [PATCH] enable AES-256 with all versions of libSRTP 1.5.x for details, see commit cisco/libsrtp@b8cb577 --- pjproject-2.1.0/pjmedia/src/pjmedia/transport_srtp.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pjproject-2.1.0/pjmedia/src/pjmedia/transport_srtp.c b/pjproject-2.1.0/pjmedia/src/pjmedia/transport_srtp.c index 9492187..595df84 100644 --- a/pjproject-2.1.0/pjmedia/src/pjmedia/transport_srtp.c +++ b/pjproject-2.1.0/pjmedia/src/pjmedia/transport_srtp.c @@ -88,27 +88,27 @@ static crypto_suite crypto_suites[] = { NULL_AUTH, 0, 8, 8, sec_serv_conf_and_auth}, /* cipher AES_CM, auth HMAC_SHA1, auth tag len = 10 octets */ - {"AES_256_CM_HMAC_SHA1_80", AES_256_ICM, 46, HMAC_SHA1, 20, 10, 10, + {"AES_256_CM_HMAC_SHA1_80", AES_ICM, 46, HMAC_SHA1, 20, 10, 10, sec_serv_conf_and_auth}, /* cipher AES_CM, auth HMAC_SHA1, auth tag len = 10 octets */ - {"AES_192_CM_HMAC_SHA1_80", AES_192_ICM, 38, HMAC_SHA1, 20, 10, 10, + {"AES_192_CM_HMAC_SHA1_80", AES_ICM, 38, HMAC_SHA1, 20, 10, 10, sec_serv_conf_and_auth}, /* cipher AES_CM, auth HMAC_SHA1, auth tag len = 10 octets */ - {"AES_CM_128_HMAC_SHA1_80", AES_128_ICM, 30, HMAC_SHA1, 20, 10, 10, + {"AES_CM_128_HMAC_SHA1_80", AES_ICM, 30, HMAC_SHA1, 20, 10, 10, sec_serv_conf_and_auth}, /* cipher AES_CM, auth HMAC_SHA1, auth tag len = 4 octets */ - {"AES_256_CM_HMAC_SHA1_32", AES_256_ICM, 46, HMAC_SHA1, 20, 4, 10, + {"AES_256_CM_HMAC_SHA1_32", AES_ICM, 46, HMAC_SHA1, 20, 4, 10, sec_serv_conf_and_auth}, /* cipher AES_CM, auth HMAC_SHA1, auth tag len = 4 octets */ - {"AES_192_CM_HMAC_SHA1_32", AES_192_ICM, 38, HMAC_SHA1, 20, 4, 10, + {"AES_192_CM_HMAC_SHA1_32", AES_ICM, 38, HMAC_SHA1, 20, 4, 10, sec_serv_conf_and_auth}, /* cipher AES_CM, auth HMAC_SHA1, auth tag len = 4 octets */ - {"AES_CM_128_HMAC_SHA1_32", AES_128_ICM, 30, HMAC_SHA1, 20, 4, 10, + {"AES_CM_128_HMAC_SHA1_32", AES_ICM, 30, HMAC_SHA1, 20, 4, 10, sec_serv_conf_and_auth}, /*