Index: srtp/include/srtp.h |
diff --git a/srtp/include/srtp.h b/srtp/include/srtp.h |
index b9bf1eb3745bbc5a02b3b8ff9fa586ca324308b1..89834b12011ab9f2a426a73ccff4bbc95068a95b 100644 |
--- a/srtp/include/srtp.h |
+++ b/srtp/include/srtp.h |
@@ -55,6 +55,21 @@ extern "C" { |
#include "crypto_types.h" |
#include "err.h" |
+/* |
+ * Compatibility shim for v1->v2 transition. |
+ */ |
+ |
+#define srtp_crypto_policy_set_aes_cm_128_hmac_sha1_32 \ |
+ crypto_policy_set_aes_cm_128_hmac_sha1_32 |
+#define srtp_crypto_policy_set_aes_cm_128_hmac_sha1_80 \ |
+ crypto_policy_set_aes_cm_128_hmac_sha1_80 |
+#define srtp_crypto_policy_set_aes_gcm_128_16_auth \ |
+ crypto_policy_set_aes_gcm_128_16_auth |
+#define srtp_crypto_policy_set_aes_gcm_256_16_auth \ |
+ crypto_policy_set_aes_gcm_256_16_auth |
+ |
+#define srtp_ssrc_type_t ssrc_type_t |
+ |
/** |
* @defgroup SRTP Secure RTP |
* |