Loading include/openssl/srtp.h +4 −0 Original line number Diff line number Diff line Loading @@ -129,6 +129,10 @@ extern "C" { # define SRTP_NULL_SHA1_80 0x0005 # define SRTP_NULL_SHA1_32 0x0006 /* AEAD SRTP protection profiles from RFC 7714 */ # define SRTP_AEAD_AES_128_GCM 0x0007 # define SRTP_AEAD_AES_256_GCM 0x0008 # ifndef OPENSSL_NO_SRTP __owur int SSL_CTX_set_tlsext_use_srtp(SSL_CTX *ctx, const char *profiles); Loading ssl/d1_srtp.c +8 −0 Original line number Diff line number Diff line Loading @@ -128,6 +128,14 @@ static SRTP_PROTECTION_PROFILE srtp_known_profiles[] = { "SRTP_AES128_CM_SHA1_32", SRTP_AES128_CM_SHA1_32, }, { "SRTP_AEAD_AES_128_GCM", SRTP_AEAD_AES_128_GCM }, { "SRTP_AEAD_AES_256_GCM", SRTP_AEAD_AES_256_GCM }, {0} }; Loading Loading
include/openssl/srtp.h +4 −0 Original line number Diff line number Diff line Loading @@ -129,6 +129,10 @@ extern "C" { # define SRTP_NULL_SHA1_80 0x0005 # define SRTP_NULL_SHA1_32 0x0006 /* AEAD SRTP protection profiles from RFC 7714 */ # define SRTP_AEAD_AES_128_GCM 0x0007 # define SRTP_AEAD_AES_256_GCM 0x0008 # ifndef OPENSSL_NO_SRTP __owur int SSL_CTX_set_tlsext_use_srtp(SSL_CTX *ctx, const char *profiles); Loading
ssl/d1_srtp.c +8 −0 Original line number Diff line number Diff line Loading @@ -128,6 +128,14 @@ static SRTP_PROTECTION_PROFILE srtp_known_profiles[] = { "SRTP_AES128_CM_SHA1_32", SRTP_AES128_CM_SHA1_32, }, { "SRTP_AEAD_AES_128_GCM", SRTP_AEAD_AES_128_GCM }, { "SRTP_AEAD_AES_256_GCM", SRTP_AEAD_AES_256_GCM }, {0} }; Loading