add AES-GCM constants from RFC 7714 for SRTP
authorlandry <landry@openbsd.org>
Fri, 11 Jun 2021 15:28:13 +0000 (15:28 +0000)
committerlandry <landry@openbsd.org>
Fri, 11 Jun 2021 15:28:13 +0000 (15:28 +0000)
commitd10f98510e816f59ba90467479444955e0a550c6
tree6a1b74af51d827d4dbfe5dc46b0c166b874c2d5f
parent320e14e35743196489e3b00741e897f5f6e98a8f
add AES-GCM constants from RFC 7714 for SRTP

SRTP_AEAD_AES_128_GCM/SRTP_AEAD_AES_256_GCM can be used as DTLS-SRTP
protection profiles - seen with an update of telephony/baresip i'm
working on.

adapted from openssl commit 43e5faa2539ae8aae6ef55be2239b9b1a77fea45

ok tb@ jsing@
lib/libssl/d1_srtp.c
lib/libssl/man/SSL_CTX_set_tlsext_use_srtp.3
lib/libssl/srtp.h