Asterisk - The Open Source Telephony Project  18.5.0
Macros
srtp_compat.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define AES_128_GCM_KEYSIZE_WSALT   SRTP_AES_128_GCM_KEYSIZE_WSALT
 
#define AES_256_GCM_KEYSIZE_WSALT   SRTP_AES_256_GCM_KEYSIZE_WSALT
 
#define crypto_policy_set_aes_cm_128_hmac_sha1_32   srtp_crypto_policy_set_aes_cm_128_hmac_sha1_32
 
#define crypto_policy_set_aes_cm_128_hmac_sha1_80   srtp_crypto_policy_set_aes_cm_128_hmac_sha1_80
 
#define crypto_policy_set_aes_cm_192_hmac_sha1_32   srtp_crypto_policy_set_aes_cm_192_hmac_sha1_32
 
#define crypto_policy_set_aes_cm_192_hmac_sha1_80   srtp_crypto_policy_set_aes_cm_192_hmac_sha1_80
 
#define crypto_policy_set_aes_cm_256_hmac_sha1_32   srtp_crypto_policy_set_aes_cm_256_hmac_sha1_32
 
#define crypto_policy_set_aes_cm_256_hmac_sha1_80   srtp_crypto_policy_set_aes_cm_256_hmac_sha1_80
 
#define crypto_policy_set_aes_gcm_128_16_auth   srtp_crypto_policy_set_aes_gcm_128_16_auth
 
#define crypto_policy_set_aes_gcm_128_8_auth   srtp_crypto_policy_set_aes_gcm_128_8_auth
 
#define crypto_policy_set_aes_gcm_256_16_auth   srtp_crypto_policy_set_aes_gcm_256_16_auth
 
#define crypto_policy_set_aes_gcm_256_8_auth   srtp_crypto_policy_set_aes_gcm_256_8_auth
 
#define crypto_policy_t   srtp_crypto_policy_t
 
#define err_status_algo_fail   srtp_err_status_algo_fail
 
#define err_status_alloc_fail   srtp_err_status_alloc_fail
 
#define err_status_auth_fail   srtp_err_status_auth_fail
 
#define err_status_bad_param   srtp_err_status_bad_param
 
#define err_status_cant_check   srtp_err_status_cant_check
 
#define err_status_cipher_fail   srtp_err_status_cipher_fail
 
#define err_status_dealloc_fail   srtp_err_status_dealloc_fail
 
#define err_status_fail   srtp_err_status_fail
 
#define err_status_init_fail   srtp_err_status_init_fail
 
#define err_status_key_expired   srtp_err_status_key_expired
 
#define err_status_no_ctx   srtp_err_status_no_ctx
 
#define err_status_no_such_op   srtp_err_status_no_such_op
 
#define err_status_ok   srtp_err_status_ok
 
#define err_status_replay_fail   srtp_err_status_replay_fail
 
#define err_status_replay_old   srtp_err_status_replay_old
 
#define err_status_t   srtp_err_status_t
 
#define err_status_terminus   srtp_err_status_terminus
 

Macro Definition Documentation

◆ AES_128_GCM_KEYSIZE_WSALT

#define AES_128_GCM_KEYSIZE_WSALT   SRTP_AES_128_GCM_KEYSIZE_WSALT

Definition at line 22 of file srtp_compat.h.

Referenced by res_sdp_crypto_parse_offer(), and res_sdp_srtp_get_attr().

◆ AES_256_GCM_KEYSIZE_WSALT

#define AES_256_GCM_KEYSIZE_WSALT   SRTP_AES_256_GCM_KEYSIZE_WSALT

Definition at line 28 of file srtp_compat.h.

Referenced by res_sdp_crypto_parse_offer(), and res_sdp_srtp_get_attr().

◆ crypto_policy_set_aes_cm_128_hmac_sha1_32

#define crypto_policy_set_aes_cm_128_hmac_sha1_32   srtp_crypto_policy_set_aes_cm_128_hmac_sha1_32

Definition at line 9 of file srtp_compat.h.

Referenced by policy_set_suite().

◆ crypto_policy_set_aes_cm_128_hmac_sha1_80

#define crypto_policy_set_aes_cm_128_hmac_sha1_80   srtp_crypto_policy_set_aes_cm_128_hmac_sha1_80

Definition at line 8 of file srtp_compat.h.

Referenced by policy_set_suite().

◆ crypto_policy_set_aes_cm_192_hmac_sha1_32

#define crypto_policy_set_aes_cm_192_hmac_sha1_32   srtp_crypto_policy_set_aes_cm_192_hmac_sha1_32

Definition at line 11 of file srtp_compat.h.

Referenced by policy_set_suite().

◆ crypto_policy_set_aes_cm_192_hmac_sha1_80

#define crypto_policy_set_aes_cm_192_hmac_sha1_80   srtp_crypto_policy_set_aes_cm_192_hmac_sha1_80

Definition at line 10 of file srtp_compat.h.

Referenced by policy_set_suite().

◆ crypto_policy_set_aes_cm_256_hmac_sha1_32

#define crypto_policy_set_aes_cm_256_hmac_sha1_32   srtp_crypto_policy_set_aes_cm_256_hmac_sha1_32

Definition at line 13 of file srtp_compat.h.

Referenced by policy_set_suite().

◆ crypto_policy_set_aes_cm_256_hmac_sha1_80

#define crypto_policy_set_aes_cm_256_hmac_sha1_80   srtp_crypto_policy_set_aes_cm_256_hmac_sha1_80

Definition at line 12 of file srtp_compat.h.

Referenced by policy_set_suite().

◆ crypto_policy_set_aes_gcm_128_16_auth

#define crypto_policy_set_aes_gcm_128_16_auth   srtp_crypto_policy_set_aes_gcm_128_16_auth

Definition at line 14 of file srtp_compat.h.

Referenced by policy_set_suite().

◆ crypto_policy_set_aes_gcm_128_8_auth

#define crypto_policy_set_aes_gcm_128_8_auth   srtp_crypto_policy_set_aes_gcm_128_8_auth

Definition at line 16 of file srtp_compat.h.

Referenced by policy_set_suite().

◆ crypto_policy_set_aes_gcm_256_16_auth

#define crypto_policy_set_aes_gcm_256_16_auth   srtp_crypto_policy_set_aes_gcm_256_16_auth

Definition at line 15 of file srtp_compat.h.

Referenced by policy_set_suite().

◆ crypto_policy_set_aes_gcm_256_8_auth

#define crypto_policy_set_aes_gcm_256_8_auth   srtp_crypto_policy_set_aes_gcm_256_8_auth

Definition at line 17 of file srtp_compat.h.

Referenced by policy_set_suite().

◆ crypto_policy_t

#define crypto_policy_t   srtp_crypto_policy_t

Definition at line 6 of file srtp_compat.h.

◆ err_status_algo_fail

#define err_status_algo_fail   srtp_err_status_algo_fail

Definition at line 43 of file srtp_compat.h.

Referenced by srtp_errstr().

◆ err_status_alloc_fail

#define err_status_alloc_fail   srtp_err_status_alloc_fail

Definition at line 35 of file srtp_compat.h.

Referenced by srtp_errstr().

◆ err_status_auth_fail

#define err_status_auth_fail   srtp_err_status_auth_fail

Definition at line 39 of file srtp_compat.h.

Referenced by srtp_errstr().

◆ err_status_bad_param

#define err_status_bad_param   srtp_err_status_bad_param

Definition at line 34 of file srtp_compat.h.

Referenced by srtp_errstr().

◆ err_status_cant_check

#define err_status_cant_check   srtp_err_status_cant_check

Definition at line 46 of file srtp_compat.h.

Referenced by srtp_errstr().

◆ err_status_cipher_fail

#define err_status_cipher_fail   srtp_err_status_cipher_fail

Definition at line 40 of file srtp_compat.h.

Referenced by srtp_errstr().

◆ err_status_dealloc_fail

#define err_status_dealloc_fail   srtp_err_status_dealloc_fail

Definition at line 36 of file srtp_compat.h.

Referenced by srtp_errstr().

◆ err_status_fail

#define err_status_fail   srtp_err_status_fail

Definition at line 33 of file srtp_compat.h.

Referenced by srtp_errstr().

◆ err_status_init_fail

#define err_status_init_fail   srtp_err_status_init_fail

Definition at line 37 of file srtp_compat.h.

Referenced by srtp_errstr().

◆ err_status_key_expired

#define err_status_key_expired   srtp_err_status_key_expired

Definition at line 47 of file srtp_compat.h.

Referenced by srtp_errstr().

◆ err_status_no_ctx

#define err_status_no_ctx   srtp_err_status_no_ctx

Definition at line 45 of file srtp_compat.h.

Referenced by ast_srtp_unprotect(), and srtp_errstr().

◆ err_status_no_such_op

#define err_status_no_such_op   srtp_err_status_no_such_op

Definition at line 44 of file srtp_compat.h.

Referenced by srtp_errstr().

◆ err_status_ok

#define err_status_ok   srtp_err_status_ok

◆ err_status_replay_fail

#define err_status_replay_fail   srtp_err_status_replay_fail

Definition at line 41 of file srtp_compat.h.

Referenced by ast_srtp_protect(), ast_srtp_unprotect(), and srtp_errstr().

◆ err_status_replay_old

#define err_status_replay_old   srtp_err_status_replay_old

Definition at line 42 of file srtp_compat.h.

Referenced by ast_srtp_unprotect(), and srtp_errstr().

◆ err_status_t

#define err_status_t   srtp_err_status_t

Definition at line 31 of file srtp_compat.h.

Referenced by ast_srtp_change_source().

◆ err_status_terminus

#define err_status_terminus   srtp_err_status_terminus

Definition at line 38 of file srtp_compat.h.

Referenced by srtp_errstr().