summaryrefslogtreecommitdiff
path: root/ext/srtp/gstsrtp.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/srtp/gstsrtp.h')
-rw-r--r--ext/srtp/gstsrtp.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/srtp/gstsrtp.h b/ext/srtp/gstsrtp.h
index 62c67276d..b303fc1f4 100644
--- a/ext/srtp/gstsrtp.h
+++ b/ext/srtp/gstsrtp.h
@@ -60,13 +60,18 @@
#else
# include <srtp/srtp.h>
# include <srtp/srtp_priv.h>
+# include <srtp/crypto_types.h>
# define srtp_crypto_policy_t crypto_policy_t
# define SRTP_AES_ICM_128 AES_ICM
# define SRTP_AES_ICM_256 AES_ICM
+# define SRTP_AES_GCM_128 AES_128_GCM
+# define SRTP_AES_GCM_256 AES_256_GCM
# define SRTP_NULL_CIPHER NULL_CIPHER
# define SRTP_AES_ICM_128_KEY_LEN_WSALT 30
# define SRTP_AES_ICM_256_KEY_LEN_WSALT 46
+# define SRTP_AES_GCM_128_KEY_LEN_WSALT AES_128_GCM_KEYSIZE_WSALT
+# define SRTP_AES_GCM_256_KEY_LEN_WSALT AES_256_GCM_KEYSIZE_WSALT
# define SRTP_HMAC_SHA1 HMAC_SHA1
# define SRTP_NULL_AUTH NULL_AUTH
# define srtp_err_status_t err_status_t