summaryrefslogtreecommitdiff
path: root/libavformat/srtp.h
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2013-01-18 12:01:33 +0200
committerMartin Storsjö <martin@martin.st>2013-01-21 00:13:35 +0200
commite1d0b3d875a2ec713239eda2c3bd79249b9631c7 (patch)
treeb3060a57c12b69b8bd6635d4e7bcd60eb89cd485 /libavformat/srtp.h
parentf53490cc0c809975f8238d5a9edbd26f83bd2f84 (diff)
srtp: Add support for a few DTLS-SRTP related crypto suites
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ö <martin@martin.st>
Diffstat (limited to 'libavformat/srtp.h')
-rw-r--r--libavformat/srtp.h2
1 files changed, 1 insertions, 1 deletions
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];