From e1d0b3d875a2ec713239eda2c3bd79249b9631c7 Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Fri, 18 Jan 2013 12:01:33 +0200 Subject: srtp: Add support for a few DTLS-SRTP related crypto suites MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The main difference to the existing suites from RFC 4568 is that the version with a 32 bit HMAC still uses 80 bit HMAC for RTCP packets. Signed-off-by: Martin Storsjö --- libavformat/srtp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/srtp.h') diff --git a/libavformat/srtp.h b/libavformat/srtp.h index a1cb92d2ba..18ed177af5 100644 --- a/libavformat/srtp.h +++ b/libavformat/srtp.h @@ -30,7 +30,7 @@ struct AVHMAC; struct SRTPContext { struct AVAES *aes; struct AVHMAC *hmac; - int hmac_size; + int rtp_hmac_size, rtcp_hmac_size; uint8_t master_key[16]; uint8_t master_salt[14]; uint8_t rtp_key[16], rtcp_key[16]; -- cgit v1.2.3