summaryrefslogtreecommitdiff
path: root/include/asterisk/res_srtp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asterisk/res_srtp.h')
-rw-r--r--include/asterisk/res_srtp.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/include/asterisk/res_srtp.h b/include/asterisk/res_srtp.h
index c7fdc40b7..741d4f9ac 100644
--- a/include/asterisk/res_srtp.h
+++ b/include/asterisk/res_srtp.h
@@ -21,6 +21,8 @@
#ifndef _ASTERISK_RES_SRTP_H
#define _ASTERISK_RES_SRTP_H
+#include "asterisk.h" /* for size_t */
+
struct ast_srtp;
struct ast_srtp_policy;
struct ast_rtp_instance;
@@ -52,9 +54,17 @@ struct ast_srtp_res {
/* Crypto suites */
enum ast_srtp_suite {
+ /* https://www.iana.org/assignments/srtp-protection/srtp-protection.xhtml */
AST_AES_CM_128_HMAC_SHA1_80 = 1,
- AST_AES_CM_128_HMAC_SHA1_32 = 2,
- AST_F8_128_HMAC_SHA1_80 = 3
+ AST_AES_CM_128_HMAC_SHA1_32,
+ AST_AES_CM_256_HMAC_SHA1_80,
+ AST_AES_CM_256_HMAC_SHA1_32,
+ AST_AES_GCM_128 = 7,
+ AST_AES_GCM_256,
+ AST_AES_GCM_128_8,
+ AST_AES_GCM_256_8,
+ AST_AES_CM_192_HMAC_SHA1_80,
+ AST_AES_CM_192_HMAC_SHA1_32,
};
struct ast_srtp_policy_res {