[−][src]Crate srtp2_sys
Structs
bitvector_t | |
srtp_aes_expanded_key_t | |
srtp_auth_t | |
srtp_auth_test_case_t | |
srtp_auth_type_t | |
srtp_cipher_t | |
srtp_cipher_test_case_t | |
srtp_cipher_type_t | |
srtp_crypto_policy_t | @brief srtp_crypto_policy_t describes a particular crypto policy that can be applied to an SRTP stream. |
srtp_ctx_t_ | |
srtp_debug_module_t | |
srtp_ekt_policy_ctx_t | |
srtp_ekt_stream_ctx_t | |
srtp_event_data_t | @brief srtp_event_data_t is the structure passed as a callback to the event handler function |
srtp_key_limit_ctx_t | |
srtp_master_key_t | @brief srtp_master_key_t represents a master key. There will be a Master Key Index and the Master Key associated with the Master Key Index. Need to also keep track of the Master Key Index Size to correctly read it from a packet. |
srtp_policy_t | @brief represents the policy for an SRTP session. |
srtp_rdb_t | |
srtp_rdbx_t | |
srtp_session_keys_t | |
srtp_ssrc_t | @brief An srtp_ssrc_t represents a particular SSRC value, or a `wildcard' SSRC. |
srtp_stream_ctx_t_ |
Constants
Functions
srtp_add_stream⚠ | @brief srtp_add_stream() allocates and initializes an SRTP stream within a given SRTP session. |
srtp_aes_decrypt⚠ | |
srtp_aes_encrypt⚠ | |
srtp_aes_expand_decryption_key⚠ | |
srtp_aes_expand_encryption_key⚠ | |
srtp_append_salt_to_key⚠ | @brief appends the salt to the key |
srtp_auth_get_key_length⚠ | |
srtp_auth_get_prefix_length⚠ | |
srtp_auth_get_tag_length⚠ | |
srtp_auth_type_self_test⚠ | |
srtp_auth_type_test⚠ | |
srtp_cipher_bits_per_second⚠ | |
srtp_cipher_dealloc⚠ | |
srtp_cipher_decrypt⚠ | |
srtp_cipher_encrypt⚠ | |
srtp_cipher_get_key_length⚠ | |
srtp_cipher_get_tag⚠ | |
srtp_cipher_init⚠ | |
srtp_cipher_output⚠ | |
srtp_cipher_set_aad⚠ | |
srtp_cipher_set_iv⚠ | |
srtp_cipher_type_alloc⚠ | |
srtp_cipher_type_self_test⚠ | |
srtp_cipher_type_test⚠ | |
srtp_cleanse⚠ | |
srtp_create⚠ | @brief srtp_create() allocates and initializes an SRTP session. |
srtp_crypto_alloc⚠ | |
srtp_crypto_free⚠ | |
srtp_crypto_kernel_alloc_auth⚠ | |
srtp_crypto_kernel_alloc_cipher⚠ | |
srtp_crypto_kernel_init⚠ | |
srtp_crypto_kernel_list_debug_modules⚠ | |
srtp_crypto_kernel_load_auth_type⚠ | |
srtp_crypto_kernel_load_cipher_type⚠ | |
srtp_crypto_kernel_load_debug_module⚠ | |
srtp_crypto_kernel_set_debug_module⚠ | |
srtp_crypto_kernel_shutdown⚠ | |
srtp_crypto_kernel_status⚠ | |
srtp_crypto_policy_set_aes_cm_128_null_auth⚠ | @brief srtp_crypto_policy_set_aes_cm_128_null_auth() sets a crypto policy structure to an encryption-only policy |
srtp_crypto_policy_set_aes_cm_192_null_auth⚠ | @brief srtp_crypto_policy_set_aes_cm_192_null_auth() sets a crypto policy structure to an encryption-only policy |
srtp_crypto_policy_set_aes_cm_256_null_auth⚠ | @brief srtp_crypto_policy_set_aes_cm_256_null_auth() sets a crypto policy structure to an encryption-only policy |
srtp_crypto_policy_set_aes_cm_128_hmac_sha1_32⚠ | @brief srtp_crypto_policy_set_aes_cm_128_hmac_sha1_32() sets a crypto policy structure to a short-authentication tag policy |
srtp_crypto_policy_set_aes_cm_192_hmac_sha1_32⚠ | @brief srtp_crypto_policy_set_aes_cm_192_hmac_sha1_32() sets a crypto policy structure to a short-authentication tag policy using AES-192 encryption. |
srtp_crypto_policy_set_aes_cm_192_hmac_sha1_80⚠ | @brief srtp_crypto_policy_set_aes_cm_192_hmac_sha1_80() sets a crypto policy structure to a encryption and authentication policy using AES-192 for RTP protection. |
srtp_crypto_policy_set_aes_cm_256_hmac_sha1_32⚠ | @brief 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. |
srtp_crypto_policy_set_aes_cm_256_hmac_sha1_80⚠ | @brief 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. |
srtp_crypto_policy_set_aes_gcm_128_8_auth⚠ | @brief srtp_crypto_policy_set_aes_gcm_128_8_auth() sets a crypto policy structure to an AEAD encryption policy. |
srtp_crypto_policy_set_aes_gcm_128_8_only_auth⚠ | @brief srtp_crypto_policy_set_aes_gcm_128_8_only_auth() sets a crypto policy structure to an AEAD authentication-only policy |
srtp_crypto_policy_set_aes_gcm_128_16_auth⚠ | @brief srtp_crypto_policy_set_aes_gcm_128_16_auth() sets a crypto policy structure to an AEAD encryption policy. |
srtp_crypto_policy_set_aes_gcm_256_8_auth⚠ | @brief srtp_crypto_policy_set_aes_gcm_256_8_auth() sets a crypto policy structure to an AEAD encryption policy |
srtp_crypto_policy_set_aes_gcm_256_8_only_auth⚠ | @brief srtp_crypto_policy_set_aes_gcm_256_8_only_auth() sets a crypto policy structure to an AEAD authentication-only policy |
srtp_crypto_policy_set_aes_gcm_256_16_auth⚠ | @brief srtp_crypto_policy_set_aes_gcm_256_16_auth() sets a crypto policy structure to an AEAD encryption policy |
srtp_crypto_policy_set_from_profile_for_rtcp⚠ | @brief 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 |
srtp_crypto_policy_set_from_profile_for_rtp⚠ | @brief 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 |
srtp_crypto_policy_set_null_cipher_hmac_null⚠ | @brief srtp_crypto_policy_set_null_cipher_hmac_null() sets a crypto policy structure to use no encryption or authentication. |
srtp_crypto_policy_set_null_cipher_hmac_sha1_80⚠ | @brief srtp_crypto_policy_set_null_cipher_hmac_sha1_80() sets a crypto policy structure to an authentication-only policy |
srtp_crypto_policy_set_rtcp_default⚠ | @brief srtp_crypto_policy_set_rtcp_default() sets a crypto policy structure to the SRTP default policy for RTCP protection. |
srtp_crypto_policy_set_rtp_default⚠ | @brief srtp_crypto_policy_set_rtp_default() sets a crypto policy structure to the SRTP default policy for RTP protection. |
srtp_dealloc⚠ | @brief srtp_dealloc() deallocates storage for an SRTP session context. |
srtp_err_report⚠ | |
srtp_err_reporting_init⚠ | |
srtp_get_protect_rtcp_trailer_length⚠ | @brief srtp_get_protect_rtcp_trailer_length(session, use_mki, mki_index, length) |
srtp_get_protect_trailer_length⚠ | @brief srtp_get_protect_trailer_length(session, use_mki, mki_index, length) |
srtp_get_stream⚠ | |
srtp_get_stream_roc⚠ | @brief srtp_get_stream_roc(session, ssrc, roc) |
srtp_get_user_data⚠ | @brief srtp_get_user_data() retrieves the pointer to the custom data previously stored with srtp_set_user_data(). |
srtp_get_version⚠ | @brief Returns the numeric representation of the library version. |
srtp_get_version_string⚠ | @brief Returns the version string of the library. |
srtp_index_advance⚠ | |
srtp_index_guess⚠ | |
srtp_index_init⚠ | |
srtp_init⚠ | @brief srtp_init() initializes the srtp library. |
srtp_install_err_report_handler⚠ | |
srtp_install_event_handler⚠ | @brief sets the event handler to the function supplied by the caller. |
srtp_install_log_handler⚠ | @brief sets the log handler to the function supplied by the caller. |
srtp_key_limit_check⚠ | |
srtp_key_limit_clone⚠ | |
srtp_key_limit_set⚠ | |
srtp_key_limit_update⚠ | |
srtp_list_debug_modules⚠ | @brief srtp_list_debug_modules() outputs a list of debugging modules |
srtp_octet_string_hex_string⚠ | |
srtp_profile_get_master_key_length⚠ | @brief returns the master key length for a given SRTP profile |
srtp_profile_get_master_salt_length⚠ | @brief returns the master salt length for a given SRTP profile |
srtp_protect⚠ | @brief srtp_protect() is the Secure RTP sender-side packet processing function. |
srtp_protect_mki⚠ | @brief srtp_protect_mki() is the Secure RTP sender-side packet processing function that can utilize MKI. |
srtp_protect_rtcp⚠ | @brief srtp_protect_rtcp() is the Secure RTCP sender-side packet processing function. |
srtp_protect_rtcp_mki⚠ | @brief srtp_protect_rtcp_mki() is the Secure RTCP sender-side packet processing function that can utilize mki. |
srtp_rdb_add_index⚠ | |
srtp_rdb_check⚠ | |
srtp_rdb_get_value⚠ | |
srtp_rdb_increment⚠ | |
srtp_rdb_init⚠ | |
srtp_rdbx_add_index⚠ | |
srtp_rdbx_check⚠ | |
srtp_rdbx_dealloc⚠ | |
srtp_rdbx_estimate_index⚠ | |
srtp_rdbx_get_packet_index⚠ | |
srtp_rdbx_get_roc⚠ | |
srtp_rdbx_get_window_size⚠ | |
srtp_rdbx_init⚠ | |
srtp_rdbx_set_roc⚠ | |
srtp_rdbx_set_roc_seq⚠ | |
srtp_remove_stream⚠ | @brief srtp_remove_stream() deallocates an SRTP stream. |
srtp_replace_auth_type⚠ | |
srtp_replace_cipher_type⚠ | |
srtp_set_debug_module⚠ | @brief srtp_set_debug_module(mod_name, v) |
srtp_set_stream_roc⚠ | @brief srtp_set_stream_roc(session, ssrc, roc) |
srtp_set_user_data⚠ | @brief srtp_set_user_data() stores the given pointer into the SRTP session for later retrieval. |
srtp_shutdown⚠ | @brief srtp_shutdown() de-initializes the srtp library. |
srtp_steam_init_all_master_keys⚠ | |
srtp_stream_init⚠ | |
srtp_stream_init_keys⚠ | |
srtp_unprotect⚠ | @brief srtp_unprotect() is the Secure RTP receiver-side packet processing function. |
srtp_unprotect_mki⚠ | @brief srtp_unprotect_mki() is the Secure RTP receiver-side packet processing function that checks for MKI. |
srtp_unprotect_rtcp⚠ | @brief srtp_unprotect_rtcp() is the Secure RTCP receiver-side packet processing function. |
srtp_unprotect_rtcp_mki⚠ | @brief srtp_unprotect_rtcp() is the Secure RTCP receiver-side packet processing function. |
srtp_update⚠ | @brief srtp_update() udpates all streams in the session. |
srtp_update_stream⚠ | @brief srtp_update_stream() udpates a SRTP stream. |
Type Definitions
Unions
v128_t |