/external/libsrtp2/test/ |
D | replay_driver.c | 93 if (srtp_rdb_check(rdb, idx) != srtp_err_status_ok) { in rdb_check_add() 97 if (srtp_rdb_add_index(rdb, idx) != srtp_err_status_ok) { in rdb_check_add() 102 return srtp_err_status_ok; in rdb_check_add() 116 return srtp_err_status_ok; in rdb_check_expect_failure() 125 if ((rstat != srtp_err_status_ok) && in rdb_check_add_unordered() 131 return srtp_err_status_ok; in rdb_check_add_unordered() 133 if (srtp_rdb_add_index(rdb, idx) != srtp_err_status_ok) { in rdb_check_add_unordered() 138 return srtp_err_status_ok; in rdb_check_add_unordered() 148 if (srtp_rdb_init(&rdb) != srtp_err_status_ok) { in test_rdb_db() 168 if (srtp_rdb_init(&rdb) != srtp_err_status_ok) { in test_rdb_db() [all …]
|
D | rdbx_driver.c | 155 if (srtp_rdbx_check(rdbx, delta) != srtp_err_status_ok) { in rdbx_check_add() 165 if (srtp_rdbx_add_index(rdbx, delta) != srtp_err_status_ok) { in rdbx_check_add() 170 return srtp_err_status_ok; in rdbx_check_add() 189 if (status == srtp_err_status_ok) { in rdbx_check_expect_failure() 195 return srtp_err_status_ok; in rdbx_check_expect_failure() 207 if ((rstat != srtp_err_status_ok) && in rdbx_check_add_unordered() 213 return srtp_err_status_ok; in rdbx_check_add_unordered() 215 if (srtp_rdbx_add_index(rdbx, delta) != srtp_err_status_ok) { in rdbx_check_add_unordered() 220 return srtp_err_status_ok; in rdbx_check_add_unordered() 270 if (srtp_rdbx_init(&rdbx, ws) != srtp_err_status_ok) { in test_replay_dbx() [all …]
|
D | srtp_driver.c | 309 if (srtp_test(*policy, 0, -1) == srtp_err_status_ok) { in main() 318 if (srtp_test(*policy, 1, -1) == srtp_err_status_ok) { in main() 325 if (srtcp_test(*policy, -1) == srtp_err_status_ok) { in main() 333 if (srtp_test(*policy, 0, 0) == srtp_err_status_ok) { in main() 341 if (srtp_test(*policy, 0, 1) == srtp_err_status_ok) { in main() 350 if (srtcp_test(*policy, 0) == srtp_err_status_ok) { in main() 358 if (srtcp_test(*policy, 1) == srtp_err_status_ok) { in main() 374 if (srtp_test(big_policy, 0, -1) == srtp_err_status_ok) { in main() 382 if (srtp_test(big_policy, 1, -1) == srtp_err_status_ok) { in main() 397 if (srtp_test(&wildcard_policy, 0, -1) == srtp_err_status_ok) { in main() [all …]
|
D | test_srtp.c | 111 TEST_CHECK(status == srtp_err_status_ok); in srtp_calc_aead_iv_srtcp_all_zero_input_yield_zero_output() 177 &header) == srtp_err_status_ok); in srtp_calc_aead_iv_srtcp_distinct_iv_per_sequence_number()
|
/external/libsrtp2/crypto/hash/ |
D | null_auth.c | 83 return srtp_err_status_ok; in srtp_null_auth_alloc() 97 return srtp_err_status_ok; in srtp_null_auth_dealloc() 107 return srtp_err_status_ok; in srtp_null_auth_init() 118 return srtp_err_status_ok; in srtp_null_auth_compute() 127 return srtp_err_status_ok; in srtp_null_auth_update() 134 return srtp_err_status_ok; in srtp_null_auth_start()
|
D | hmac.c | 100 return srtp_err_status_ok; in srtp_hmac_alloc() 111 return srtp_err_status_ok; in srtp_hmac_dealloc() 154 return srtp_err_status_ok; in srtp_hmac_init() 163 return srtp_err_status_ok; in srtp_hmac_start() 178 return srtp_err_status_ok; in srtp_hmac_update() 228 return srtp_err_status_ok; in srtp_hmac_compute()
|
D | hmac_ossl.c | 119 return srtp_err_status_ok; in srtp_hmac_alloc() 144 return srtp_err_status_ok; in srtp_hmac_dealloc() 154 return srtp_err_status_ok; in srtp_hmac_start() 166 return srtp_err_status_ok; in srtp_hmac_init() 181 return srtp_err_status_ok; in srtp_hmac_update() 218 return srtp_err_status_ok; in srtp_hmac_compute()
|
/external/libsrtp2/crypto/replay/ |
D | rdb.c | 66 return srtp_err_status_ok; in srtp_rdb_init() 76 return srtp_err_status_ok; in srtp_rdb_check() 90 return srtp_err_status_ok; in srtp_rdb_check() 122 return srtp_err_status_ok; in srtp_rdb_add_index() 131 return srtp_err_status_ok; in srtp_rdb_increment()
|
D | rdbx.c | 187 return srtp_err_status_ok; in srtp_rdbx_init() 197 return srtp_err_status_ok; in srtp_rdbx_dealloc() 224 return srtp_err_status_ok; in srtp_rdbx_set_roc() 254 return srtp_err_status_ok; in srtp_rdbx_check() 267 return srtp_err_status_ok; in srtp_rdbx_check() 294 return srtp_err_status_ok; in srtp_rdbx_add_index() 385 return srtp_err_status_ok; in srtp_rdbx_set_roc_seq()
|
/external/libsrtp2/crypto/cipher/ |
D | null_cipher.c | 80 return srtp_err_status_ok; in srtp_null_cipher_alloc() 93 return srtp_err_status_ok; in srtp_null_cipher_dealloc() 102 return srtp_err_status_ok; in srtp_null_cipher_init() 110 return srtp_err_status_ok; in srtp_null_cipher_set_iv() 118 return srtp_err_status_ok; in srtp_null_cipher_encrypt()
|
D | aes_gcm_nss.c | 155 return (srtp_err_status_ok); in srtp_aes_gcm_nss_alloc() 185 return (srtp_err_status_ok); in srtp_aes_gcm_nss_dealloc() 223 return (srtp_err_status_ok); in srtp_aes_gcm_nss_context_init() 248 return (srtp_err_status_ok); in srtp_aes_gcm_nss_set_iv() 275 return (srtp_err_status_ok); in srtp_aes_gcm_nss_set_aad() 304 srtp_err_status_t status = (srtp_err_status_ok); in srtp_aes_gcm_nss_do_crypto() 346 if (status != srtp_err_status_ok) { in srtp_aes_gcm_nss_encrypt() 352 return srtp_err_status_ok; in srtp_aes_gcm_nss_encrypt() 373 return (srtp_err_status_ok); in srtp_aes_gcm_nss_get_tag() 389 if (status != srtp_err_status_ok) { in srtp_aes_gcm_nss_decrypt()
|
D | aes_gcm_ossl.c | 142 return (srtp_err_status_ok); in srtp_aes_gcm_openssl_alloc() 163 return (srtp_err_status_ok); in srtp_aes_gcm_openssl_dealloc() 200 return (srtp_err_status_ok); in srtp_aes_gcm_openssl_context_init() 232 return (srtp_err_status_ok); in srtp_aes_gcm_openssl_set_iv() 272 return (srtp_err_status_ok); in srtp_aes_gcm_openssl_set_aad() 298 return (srtp_err_status_ok); in srtp_aes_gcm_openssl_encrypt() 332 return (srtp_err_status_ok); in srtp_aes_gcm_openssl_get_tag() 372 return (srtp_err_status_ok); in srtp_aes_gcm_openssl_decrypt()
|
D | aes_icm_ossl.c | 173 return srtp_err_status_ok; in srtp_aes_icm_openssl_alloc() 201 return srtp_err_status_ok; in srtp_aes_icm_openssl_dealloc() 255 return srtp_err_status_ok; in srtp_aes_icm_openssl_context_init() 258 return srtp_err_status_ok; in srtp_aes_icm_openssl_context_init() 286 return srtp_err_status_ok; in srtp_aes_icm_openssl_set_iv() 317 return srtp_err_status_ok; in srtp_aes_icm_openssl_encrypt()
|
D | aes_icm.c | 146 return srtp_err_status_ok; in srtp_aes_icm_alloc() 167 return srtp_err_status_ok; in srtp_aes_icm_dealloc() 226 return srtp_err_status_ok; in srtp_aes_icm_context_init() 254 return srtp_err_status_ok; in srtp_aes_icm_set_iv() 319 return srtp_err_status_ok; in srtp_aes_icm_encrypt() 394 return srtp_err_status_ok; in srtp_aes_icm_encrypt()
|
D | aes_icm_nss.c | 175 return srtp_err_status_ok; in srtp_aes_icm_nss_alloc() 211 return (srtp_err_status_ok); in srtp_aes_icm_nss_dealloc() 264 return (srtp_err_status_ok); in srtp_aes_icm_nss_context_init() 309 return srtp_err_status_ok; in srtp_aes_icm_nss_set_iv() 333 srtp_err_status_t status = (srtp_err_status_ok); in srtp_aes_icm_nss_encrypt()
|
D | cipher.c | 325 status = srtp_err_status_ok; in srtp_cipher_type_test() 413 status = srtp_err_status_ok; in srtp_cipher_type_test() 584 status = srtp_err_status_ok; in srtp_cipher_type_test() 604 return srtp_err_status_ok; in srtp_cipher_type_test() 645 srtp_err_status_ok) { in srtp_cipher_bits_per_second() 649 if (srtp_cipher_encrypt(c, enc_buf, &len) != srtp_err_status_ok) { in srtp_cipher_bits_per_second()
|
/external/libsrtp2/crypto/test/ |
D | sha1_driver.c | 106 return srtp_err_status_ok; in hash_test_case_add() 132 return srtp_err_status_ok; in sha1_test_case_validate() 327 return srtp_err_status_ok; in sha1_add_test_cases() 341 return srtp_err_status_ok; in sha1_dealloc_test_cases() 370 return srtp_err_status_ok; in sha1_validate()
|
D | cipher_driver.c | 346 return srtp_err_status_ok; in cipher_driver_self_test() 428 return srtp_err_status_ok; in cipher_driver_test_buffering() 493 return srtp_err_status_ok; in cipher_array_alloc_init() 507 return srtp_err_status_ok; in cipher_array_delete() 602 return srtp_err_status_ok; in cipher_driver_test_array_throughput()
|
/external/libsrtp2/srtp/ |
D | ekt.c | 133 return srtp_err_status_ok; in srtp_ekt_alloc() 139 return srtp_err_status_ok; in srtp_ekt_alloc() 147 return srtp_err_status_ok; in srtp_ekt_stream_init_from_policy() 149 return srtp_err_status_ok; in srtp_ekt_stream_init_from_policy() 205 return srtp_err_status_ok; in srtp_stream_init_from_ekt()
|
D | srtp.c | 110 return srtp_err_status_ok; in srtp_validate_rtp_header() 281 return srtp_err_status_ok; in srtp_stream_dealloc() 440 return srtp_err_status_ok; in srtp_stream_alloc() 553 return srtp_err_status_ok; in srtp_stream_clone() 608 return srtp_err_status_ok; in srtp_kdf_init() 629 return srtp_err_status_ok; in srtp_kdf_init() 641 return srtp_err_status_ok; in srtp_kdf_generate() 655 return srtp_err_status_ok; in srtp_kdf_generate() 664 return srtp_err_status_ok; in srtp_kdf_clear() 708 return srtp_err_status_ok; in srtp_kdf_init() [all …]
|
/external/libsrtp2/crypto/kernel/ |
D | crypto_kernel.c | 172 return srtp_err_status_ok; in srtp_crypto_kernel_init() 213 return srtp_err_status_ok; in srtp_crypto_kernel_status() 232 return srtp_err_status_ok; in srtp_crypto_kernel_list_debug_modules() 272 return srtp_err_status_ok; in srtp_crypto_kernel_shutdown() 336 return srtp_err_status_ok; in srtp_crypto_kernel_do_load_cipher_type() 412 return srtp_err_status_ok; in srtp_crypto_kernel_do_load_auth_type() 543 return srtp_err_status_ok; in srtp_crypto_kernel_load_debug_module() 555 return srtp_err_status_ok; in srtp_crypto_kernel_set_debug_module()
|
D | key.c | 67 return srtp_err_status_ok; in srtp_key_limit_set() 77 return srtp_err_status_ok; in srtp_key_limit_clone() 85 return srtp_err_status_ok; in srtp_key_limit_check()
|
D | err.c | 69 return srtp_err_status_ok; in srtp_err_reporting_init() 78 return srtp_err_status_ok; in srtp_install_err_report_handler()
|
/external/libsrtp2/crypto/math/ |
D | stat.c | 80 return srtp_err_status_ok; in stat_test_monobit() 108 return srtp_err_status_ok; in stat_test_poker() 212 return srtp_err_status_ok; in stat_test_runs()
|
/external/libsrtp2/fuzzer/ |
D | fuzzer.c | 692 srtp_err_status_ok) { in run_srtp_func() 705 srtp_err_status_ok) { in run_srtp_func() 730 srtp_err_status_ok) { in run_srtp_func() 745 srtp_err_status_ok) { in run_srtp_func() 791 if (srtp_init() != srtp_err_status_ok) { in LLVMFuzzerInitialize() 817 srtp_err_status_ok) { in LLVMFuzzerInitialize() 869 if (srtp_create(&srtp_ctx, policy_chain) != srtp_err_status_ok) { in LLVMFuzzerTestOneInput() 894 srtp_err_status_ok) { in LLVMFuzzerTestOneInput() 905 srtp_err_status_ok) { in LLVMFuzzerTestOneInput() 909 srtp_err_status_ok) { in LLVMFuzzerTestOneInput()
|