### Changes between 3.0 and 3.1 [xx XXX xxxx]
+ * Add more SRTP protection profiles from RFC8723 and RFC8269.
+
+ *Kijin Kim*
+
* Extended Kernel TLS (KTLS) to support TLS 1.3 receive offload.
*Daiki Ueno, John Baldwin and Dmitry Podgorny*
This corresponds to the profile of the same name defined in RFC7714.
+=item SRTP_DOUBLE_AEAD_AES_128_GCM_AEAD_AES_128_GCM
+
+This corresponds to the profile of the same name defined in RFC8723.
+
+=item SRTP_DOUBLE_AEAD_AES_256_GCM_AEAD_AES_256_GCM
+
+This corresponds to the profile of the same name defined in RFC8723.
+
+=item SRTP_ARIA_128_CTR_HMAC_SHA1_80
+
+This corresponds to the profile of the same name defined in RFC8269.
+
+=item SRTP_ARIA_128_CTR_HMAC_SHA1_32
+
+This corresponds to the profile of the same name defined in RFC8269.
+
+=item SRTP_ARIA_256_CTR_HMAC_SHA1_80
+
+This corresponds to the profile of the same name defined in RFC8269.
+
+=item SRTP_ARIA_256_CTR_HMAC_SHA1_32
+
+This corresponds to the profile of the same name defined in RFC8269.
+
+=item SRTP_AEAD_ARIA_128_GCM
+
+This corresponds to the profile of the same name defined in RFC8269.
+
+=item SRTP_AEAD_ARIA_256_GCM
+
+This corresponds to the profile of the same name defined in RFC8269.
+
=back
Supplying an unrecognised protection profile name will result in an error.
extern "C" {
#endif
-# define SRTP_AES128_CM_SHA1_80 0x0001
-# define SRTP_AES128_CM_SHA1_32 0x0002
-# define SRTP_AES128_F8_SHA1_80 0x0003
-# define SRTP_AES128_F8_SHA1_32 0x0004
-# define SRTP_NULL_SHA1_80 0x0005
-# define SRTP_NULL_SHA1_32 0x0006
+# define SRTP_AES128_CM_SHA1_80 0x0001
+# define SRTP_AES128_CM_SHA1_32 0x0002
+# define SRTP_AES128_F8_SHA1_80 0x0003
+# define SRTP_AES128_F8_SHA1_32 0x0004
+# define SRTP_NULL_SHA1_80 0x0005
+# define SRTP_NULL_SHA1_32 0x0006
/* AEAD SRTP protection profiles from RFC 7714 */
-# define SRTP_AEAD_AES_128_GCM 0x0007
-# define SRTP_AEAD_AES_256_GCM 0x0008
+# define SRTP_AEAD_AES_128_GCM 0x0007
+# define SRTP_AEAD_AES_256_GCM 0x0008
+
+/* DOUBLE AEAD SRTP protection profiles from RFC 8723 */
+# define SRTP_DOUBLE_AEAD_AES_128_GCM_AEAD_AES_128_GCM 0x0009
+# define SRTP_DOUBLE_AEAD_AES_256_GCM_AEAD_AES_256_GCM 0x000A
+
+/* ARIA SRTP protection profiles from RFC 8269 */
+# define SRTP_ARIA_128_CTR_HMAC_SHA1_80 0x000B
+# define SRTP_ARIA_128_CTR_HMAC_SHA1_32 0x000C
+# define SRTP_ARIA_256_CTR_HMAC_SHA1_80 0x000D
+# define SRTP_ARIA_256_CTR_HMAC_SHA1_32 0x000E
+# define SRTP_AEAD_ARIA_128_GCM 0x000F
+# define SRTP_AEAD_ARIA_256_GCM 0x0010
# ifndef OPENSSL_NO_SRTP
"SRTP_AEAD_AES_256_GCM",
SRTP_AEAD_AES_256_GCM,
},
+ {
+ "SRTP_DOUBLE_AEAD_AES_128_GCM_AEAD_AES_128_GCM",
+ SRTP_DOUBLE_AEAD_AES_128_GCM_AEAD_AES_128_GCM,
+ },
+ {
+ "SRTP_DOUBLE_AEAD_AES_256_GCM_AEAD_AES_256_GCM",
+ SRTP_DOUBLE_AEAD_AES_256_GCM_AEAD_AES_256_GCM,
+ },
+ {
+ "SRTP_ARIA_128_CTR_HMAC_SHA1_80",
+ SRTP_ARIA_128_CTR_HMAC_SHA1_80,
+ },
+ {
+ "SRTP_ARIA_128_CTR_HMAC_SHA1_32",
+ SRTP_ARIA_128_CTR_HMAC_SHA1_32,
+ },
+ {
+ "SRTP_ARIA_256_CTR_HMAC_SHA1_80",
+ SRTP_ARIA_256_CTR_HMAC_SHA1_80,
+ },
+ {
+ "SRTP_ARIA_256_CTR_HMAC_SHA1_32",
+ SRTP_ARIA_256_CTR_HMAC_SHA1_32,
+ },
+ {
+ "SRTP_AEAD_ARIA_128_GCM",
+ SRTP_AEAD_ARIA_128_GCM,
+ },
+ {
+ "SRTP_AEAD_ARIA_256_GCM",
+ SRTP_AEAD_ARIA_256_GCM,
+ },
{0}
};