|
srtp_err_status_t | srtp_init (void) |
| srtp_init() initializes the srtp library. More...
|
|
srtp_err_status_t | srtp_shutdown (void) |
| srtp_shutdown() de-initializes the srtp library. More...
|
|
srtp_err_status_t | srtp_protect (srtp_t ctx, void *rtp_hdr, int *len_ptr) |
| srtp_protect() is the Secure RTP sender-side packet processing function. More...
|
|
srtp_err_status_t | srtp_unprotect (srtp_t ctx, void *srtp_hdr, int *len_ptr) |
| srtp_unprotect() is the Secure RTP receiver-side packet processing function. More...
|
|
srtp_err_status_t | srtp_create (srtp_t *session, const srtp_policy_t *policy) |
| srtp_create() allocates and initializes an SRTP session. More...
|
|
srtp_err_status_t | srtp_add_stream (srtp_t session, const srtp_policy_t *policy) |
| srtp_add_stream() allocates and initializes an SRTP stream within a given SRTP session. More...
|
|
srtp_err_status_t | srtp_remove_stream (srtp_t session, unsigned int ssrc) |
| srtp_remove_stream() deallocates an SRTP stream. More...
|
|
srtp_err_status_t | srtp_update (srtp_t session, const srtp_policy_t *policy) |
| srtp_update() udpates all streams in the session. More...
|
|
srtp_err_status_t | srtp_update_stream (srtp_t session, const srtp_policy_t *policy) |
| srtp_update_stream() udpates a SRTP stream. More...
|
|
void | srtp_crypto_policy_set_rtp_default (srtp_crypto_policy_t *p) |
| srtp_crypto_policy_set_rtp_default() sets a crypto policy structure to the SRTP default policy for RTP protection. More...
|
|
void | srtp_crypto_policy_set_rtcp_default (srtp_crypto_policy_t *p) |
| srtp_crypto_policy_set_rtcp_default() sets a crypto policy structure to the SRTP default policy for RTCP protection. More...
|
|
void | srtp_crypto_policy_set_aes_cm_128_hmac_sha1_32 (srtp_crypto_policy_t *p) |
| srtp_crypto_policy_set_aes_cm_128_hmac_sha1_32() sets a crypto policy structure to a short-authentication tag policy More...
|
|
void | srtp_crypto_policy_set_aes_cm_128_null_auth (srtp_crypto_policy_t *p) |
| srtp_crypto_policy_set_aes_cm_128_null_auth() sets a crypto policy structure to an encryption-only policy More...
|
|
void | srtp_crypto_policy_set_null_cipher_hmac_sha1_80 (srtp_crypto_policy_t *p) |
| srtp_crypto_policy_set_null_cipher_hmac_sha1_80() sets a crypto policy structure to an authentication-only policy More...
|
|
void | srtp_crypto_policy_set_null_cipher_hmac_null (srtp_crypto_policy_t *p) |
| srtp_crypto_policy_set_null_cipher_hmac_null() sets a crypto policy structure to use no encryption or authentication. More...
|
|
void | srtp_crypto_policy_set_aes_cm_256_hmac_sha1_80 (srtp_crypto_policy_t *p) |
| srtp_crypto_policy_set_aes_cm_256_hmac_sha1_80() sets a crypto policy structure to a encryption and authentication policy using AES-256 for RTP protection. More...
|
|
void | srtp_crypto_policy_set_aes_cm_256_hmac_sha1_32 (srtp_crypto_policy_t *p) |
| srtp_crypto_policy_set_aes_cm_256_hmac_sha1_32() sets a crypto policy structure to a short-authentication tag policy using AES-256 encryption. More...
|
|
void | srtp_crypto_policy_set_aes_cm_256_null_auth (srtp_crypto_policy_t *p) |
| srtp_crypto_policy_set_aes_cm_256_null_auth() sets a crypto policy structure to an encryption-only policy More...
|
|
void | srtp_crypto_policy_set_aes_gcm_128_8_auth (srtp_crypto_policy_t *p) |
| srtp_crypto_policy_set_aes_gcm_128_8_auth() sets a crypto policy structure to an AEAD encryption policy. More...
|
|
void | srtp_crypto_policy_set_aes_gcm_256_8_auth (srtp_crypto_policy_t *p) |
| srtp_crypto_policy_set_aes_gcm_256_8_auth() sets a crypto policy structure to an AEAD encryption policy More...
|
|
void | srtp_crypto_policy_set_aes_gcm_128_8_only_auth (srtp_crypto_policy_t *p) |
| srtp_crypto_policy_set_aes_gcm_128_8_only_auth() sets a crypto policy structure to an AEAD authentication-only policy More...
|
|
void | srtp_crypto_policy_set_aes_gcm_256_8_only_auth (srtp_crypto_policy_t *p) |
| srtp_crypto_policy_set_aes_gcm_256_8_only_auth() sets a crypto policy structure to an AEAD authentication-only policy More...
|
|
void | srtp_crypto_policy_set_aes_gcm_128_16_auth (srtp_crypto_policy_t *p) |
| srtp_crypto_policy_set_aes_gcm_128_16_auth() sets a crypto policy structure to an AEAD encryption policy. More...
|
|
void | srtp_crypto_policy_set_aes_gcm_256_16_auth (srtp_crypto_policy_t *p) |
| srtp_crypto_policy_set_aes_gcm_256_16_auth() sets a crypto policy structure to an AEAD encryption policy More...
|
|
srtp_err_status_t | srtp_dealloc (srtp_t s) |
| srtp_dealloc() deallocates storage for an SRTP session context. More...
|
|
srtp_err_status_t | srtp_crypto_policy_set_from_profile_for_rtp (srtp_crypto_policy_t *policy, srtp_profile_t profile) |
| srtp_crypto_policy_set_from_profile_for_rtp() sets a crypto policy structure to the appropriate value for RTP based on an srtp_profile_t More...
|
|
srtp_err_status_t | srtp_crypto_policy_set_from_profile_for_rtcp (srtp_crypto_policy_t *policy, srtp_profile_t profile) |
| srtp_crypto_policy_set_from_profile_for_rtcp() sets a crypto policy structure to the appropriate value for RTCP based on an srtp_profile_t More...
|
|
unsigned int | srtp_profile_get_master_key_length (srtp_profile_t profile) |
| returns the master key length for a given SRTP profile More...
|
|
unsigned int | srtp_profile_get_master_salt_length (srtp_profile_t profile) |
| returns the master salt length for a given SRTP profile More...
|
|
void | srtp_append_salt_to_key (unsigned char *key, unsigned int bytes_in_key, unsigned char *salt, unsigned int bytes_in_salt) |
| appends the salt to the key More...
|
|
srtp_err_status_t | srtp_protect_rtcp (srtp_t ctx, void *rtcp_hdr, int *pkt_octet_len) |
| srtp_protect_rtcp() is the Secure RTCP sender-side packet processing function. More...
|
|
srtp_err_status_t | srtp_unprotect_rtcp (srtp_t ctx, void *srtcp_hdr, int *pkt_octet_len) |
| srtp_unprotect_rtcp() is the Secure RTCP receiver-side packet processing function. More...
|
|
void | srtp_set_user_data (srtp_t ctx, void *data) |
| srtp_set_user_data() stores the given pointer into the SRTP session for later retrieval. More...
|
|
void * | srtp_get_user_data (srtp_t ctx) |
| srtp_get_user_data() retrieves the pointer to the custom data previously stored with srtp_set_user_data(). More...
|
|
srtp_err_status_t | srtp_install_event_handler (srtp_event_handler_func_t func) |
| sets the event handler to the function supplied by the caller. More...
|
|
const char * | srtp_get_version_string (void) |
| Returns the version string of the library. More...
|
|
unsigned int | srtp_get_version (void) |
| Returns the numeric representation of the library version. More...
|
|
srtp_err_status_t | srtp_set_debug_module (char *mod_name, int v) |
| srtp_set_debug_module(mod_name, v) More...
|
|
srtp_err_status_t | srtp_list_debug_modules (void) |
| srtp_list_debug_modules() outputs a list of debugging modules More...
|
|