Searched refs:srtp_cipher_t (Results 1 – 12 of 12) sorted by relevance
/external/libsrtp2/crypto/include/ |
D | cipher.h | 72 typedef struct srtp_cipher_t *srtp_cipher_pointer_t; 168 typedef struct srtp_cipher_t { struct 173 } srtp_cipher_t; argument 176 int srtp_cipher_get_key_length(const srtp_cipher_t *c); 205 uint64_t srtp_cipher_bits_per_second(srtp_cipher_t *c, 210 srtp_cipher_t **c, 213 srtp_err_status_t srtp_cipher_dealloc(srtp_cipher_t *c); 214 srtp_err_status_t srtp_cipher_init(srtp_cipher_t *c, const uint8_t *key); 215 srtp_err_status_t srtp_cipher_set_iv(srtp_cipher_t *c, 218 srtp_err_status_t srtp_cipher_output(srtp_cipher_t *c, [all …]
|
/external/libsrtp2/crypto/test/ |
D | cipher_driver.c | 63 void cipher_driver_test_throughput(srtp_cipher_t *c); 73 srtp_err_status_t cipher_driver_test_buffering(srtp_cipher_t *c); 82 void cipher_array_test_throughput(srtp_cipher_t *ca[], int num_cipher); 84 uint64_t cipher_array_bits_per_second(srtp_cipher_t *cipher_array[], 89 srtp_err_status_t cipher_array_delete(srtp_cipher_t *cipher_array[], 92 srtp_err_status_t cipher_array_alloc_init(srtp_cipher_t ***cipher_array, 129 srtp_cipher_t *c = NULL; in main() 319 void cipher_driver_test_throughput(srtp_cipher_t *c) in cipher_driver_test_throughput() 356 srtp_err_status_t cipher_driver_test_buffering(srtp_cipher_t *c) in cipher_driver_test_buffering() 439 srtp_err_status_t cipher_array_alloc_init(srtp_cipher_t ***ca, in cipher_array_alloc_init() [all …]
|
D | stat_driver.c | 78 srtp_cipher_t *c; in main()
|
/external/libsrtp2/crypto/cipher/ |
D | null_cipher.c | 57 static srtp_err_status_t srtp_null_cipher_alloc(srtp_cipher_t **c, in srtp_null_cipher_alloc() 67 *c = (srtp_cipher_t *)srtp_crypto_alloc(sizeof(srtp_cipher_t)); in srtp_null_cipher_alloc() 83 static srtp_err_status_t srtp_null_cipher_dealloc(srtp_cipher_t *c) in srtp_null_cipher_dealloc() 88 octet_string_set_to_zero(c, sizeof(srtp_cipher_t)); in srtp_null_cipher_dealloc()
|
D | cipher.c | 63 srtp_cipher_t **c, in srtp_cipher_type_alloc() 73 srtp_err_status_t srtp_cipher_dealloc(srtp_cipher_t *c) in srtp_cipher_dealloc() 81 srtp_err_status_t srtp_cipher_init(srtp_cipher_t *c, const uint8_t *key) in srtp_cipher_init() 89 srtp_err_status_t srtp_cipher_set_iv(srtp_cipher_t *c, in srtp_cipher_set_iv() 100 srtp_err_status_t srtp_cipher_output(srtp_cipher_t *c, in srtp_cipher_output() 111 srtp_err_status_t srtp_cipher_encrypt(srtp_cipher_t *c, in srtp_cipher_encrypt() 122 srtp_err_status_t srtp_cipher_decrypt(srtp_cipher_t *c, in srtp_cipher_decrypt() 133 srtp_err_status_t srtp_cipher_get_tag(srtp_cipher_t *c, in srtp_cipher_get_tag() 147 srtp_err_status_t srtp_cipher_set_aad(srtp_cipher_t *c, in srtp_cipher_set_aad() 163 int srtp_cipher_get_key_length(const srtp_cipher_t *c) in srtp_cipher_get_key_length() [all …]
|
D | aes_icm_ossl.c | 109 static srtp_err_status_t srtp_aes_icm_openssl_alloc(srtp_cipher_t **c, in srtp_aes_icm_openssl_alloc() 128 *c = (srtp_cipher_t *)srtp_crypto_alloc(sizeof(srtp_cipher_t)); in srtp_aes_icm_openssl_alloc() 179 static srtp_err_status_t srtp_aes_icm_openssl_dealloc(srtp_cipher_t *c) in srtp_aes_icm_openssl_dealloc()
|
D | aes_icm_nss.c | 103 static srtp_err_status_t srtp_aes_icm_nss_alloc(srtp_cipher_t **c, in srtp_aes_icm_nss_alloc() 132 *c = (srtp_cipher_t *)srtp_crypto_alloc(sizeof(srtp_cipher_t)); in srtp_aes_icm_nss_alloc() 181 static srtp_err_status_t srtp_aes_icm_nss_dealloc(srtp_cipher_t *c) in srtp_aes_icm_nss_dealloc()
|
D | aes_gcm_ossl.c | 77 static srtp_err_status_t srtp_aes_gcm_openssl_alloc(srtp_cipher_t **c, in srtp_aes_gcm_openssl_alloc() 100 *c = (srtp_cipher_t *)srtp_crypto_alloc(sizeof(srtp_cipher_t)); in srtp_aes_gcm_openssl_alloc() 148 static srtp_err_status_t srtp_aes_gcm_openssl_dealloc(srtp_cipher_t *c) in srtp_aes_gcm_openssl_dealloc()
|
D | aes_gcm_nss.c | 79 static srtp_err_status_t srtp_aes_gcm_nss_alloc(srtp_cipher_t **c, in srtp_aes_gcm_nss_alloc() 112 *c = (srtp_cipher_t *)srtp_crypto_alloc(sizeof(srtp_cipher_t)); in srtp_aes_gcm_nss_alloc() 161 static srtp_err_status_t srtp_aes_gcm_nss_dealloc(srtp_cipher_t *c) in srtp_aes_gcm_nss_dealloc()
|
D | aes_icm.c | 95 static srtp_err_status_t srtp_aes_icm_alloc(srtp_cipher_t **c, in srtp_aes_icm_alloc() 116 *c = (srtp_cipher_t *)srtp_crypto_alloc(sizeof(srtp_cipher_t)); in srtp_aes_icm_alloc() 149 static srtp_err_status_t srtp_aes_icm_dealloc(srtp_cipher_t *c) in srtp_aes_icm_dealloc()
|
/external/libsrtp2/include/ |
D | srtp_priv.h | 121 srtp_cipher_t *rtp_cipher; 122 srtp_cipher_t *rtp_xtn_hdr_cipher; 124 srtp_cipher_t *rtcp_cipher;
|
/external/libsrtp2/srtp/ |
D | srtp.c | 674 srtp_cipher_t *cipher; /* cipher used for key derivation */
|