/external/scapy/scapy/layers/tls/ |
D | basefields.py | 126 cipher_type = pkt.tls_session.rcs.cipher.type 127 if cipher_type == "block": 130 elif cipher_type == "aead": 142 cipher_type = pkt.tls_session.rcs.cipher.type 143 if cipher_type == "block": 146 elif cipher_type == "aead":
|
D | record.py | 447 cipher_type = self.tls_session.rcs.cipher.type 468 if cipher_type == 'block': 514 elif cipher_type == 'stream': 526 elif cipher_type == 'aead': 685 cipher_type = self.tls_session.wcs.cipher.type 687 if cipher_type == 'block': 717 elif cipher_type == "stream": 723 elif cipher_type == "aead":
|
/external/libsrtp2/crypto/kernel/ |
D | crypto_kernel.c | 184 ctype->cipher_type->description); in srtp_crypto_kernel_status() 186 status = srtp_cipher_type_self_test(ctype->cipher_type); in srtp_crypto_kernel_status() 246 ctype->cipher_type->description); in srtp_crypto_kernel_shutdown() 306 srtp_cipher_type_test(new_ct, ctype->cipher_type->test_data); in srtp_crypto_kernel_do_load_cipher_type() 312 } else if (new_ct == ctype->cipher_type) { in srtp_crypto_kernel_do_load_cipher_type() 333 new_ctype->cipher_type = new_ct; in srtp_crypto_kernel_do_load_cipher_type() 437 return ctype->cipher_type; in srtp_crypto_kernel_get_cipher_type()
|
/external/linux-kselftest/tools/testing/selftests/net/ |
D | tls.c | 40 static void tls_crypto_info_init(uint16_t tls_version, uint16_t cipher_type, in tls_crypto_info_init() argument 45 switch (cipher_type) { in tls_crypto_info_init() 49 tls12->chacha20.info.cipher_type = cipher_type; in tls_crypto_info_init() 54 tls12->aes128.info.cipher_type = cipher_type; in tls_crypto_info_init() 59 tls12->sm4gcm.info.cipher_type = cipher_type; in tls_crypto_info_init() 64 tls12->sm4ccm.info.cipher_type = cipher_type; in tls_crypto_info_init() 69 tls12->aesccm128.info.cipher_type = cipher_type; in tls_crypto_info_init() 74 tls12->aesgcm256.info.cipher_type = cipher_type; in tls_crypto_info_init() 237 uint16_t cipher_type; in FIXTURE_VARIANT() local 244 .cipher_type = TLS_CIPHER_AES_GCM_128, [all …]
|
/external/openthread/third_party/mbedtls/repo/tests/suites/ |
D | test_suite_cmac.function | 102 void mbedtls_cmac_setkey(int cipher_type, int key_size, int result) 112 TEST_ASSERT((cipher_info = mbedtls_cipher_info_from_type(cipher_type)) 128 void mbedtls_cmac_multiple_blocks(int cipher_type, data_t *key, 151 TEST_ASSERT((cipher_info = mbedtls_cipher_info_from_type(cipher_type)) 196 void mbedtls_cmac_multiple_operations_same_key(int cipher_type, 235 TEST_ASSERT((cipher_info = mbedtls_cipher_info_from_type(cipher_type))
|
D | test_suite_block_cipher.function | 97 void block_cipher_psa_dynamic_dispatch(int cipher_type, int pre_psa_ret, int post_psa_engine) 107 TEST_EQUAL(pre_psa_ret, mbedtls_block_cipher_setup(&ctx, cipher_type)); 120 TEST_EQUAL(0, mbedtls_block_cipher_setup(&ctx, cipher_type));
|
D | test_suite_ssl_decrypt.function | 23 const mbedtls_cipher_type_t cipher_type = MBEDTLS_CIPHER_NULL; 48 cipher_type, hash_id, 0, 0, 124 void ssl_decrypt_non_etm_cbc(int cipher_type, int hash_id, int trunc_hmac, 160 ret = mbedtls_test_ssl_build_transforms(&t0, &t1, cipher_type, hash_id,
|
D | test_suite_cipher.function | 153 const int *cipher_type; 155 for (cipher_type = mbedtls_cipher_list(); *cipher_type != 0; cipher_type++) { 157 mbedtls_cipher_info_from_type(*cipher_type); 158 mbedtls_test_set_step(*cipher_type); 159 if (!check_cipher_info(*cipher_type, info)) {
|
/external/mbedtls/tests/suites/ |
D | test_suite_cmac.function | 102 void mbedtls_cmac_setkey(int cipher_type, int key_size, int result) 112 TEST_ASSERT((cipher_info = mbedtls_cipher_info_from_type(cipher_type)) 128 void mbedtls_cmac_multiple_blocks(int cipher_type, data_t *key, 151 TEST_ASSERT((cipher_info = mbedtls_cipher_info_from_type(cipher_type)) 196 void mbedtls_cmac_multiple_operations_same_key(int cipher_type, 235 TEST_ASSERT((cipher_info = mbedtls_cipher_info_from_type(cipher_type))
|
D | test_suite_ssl_decrypt.function | 23 const mbedtls_cipher_type_t cipher_type = MBEDTLS_CIPHER_NULL; 48 cipher_type, hash_id, 0, 0, 124 void ssl_decrypt_non_etm_cbc(int cipher_type, int hash_id, int trunc_hmac, 160 ret = mbedtls_test_ssl_build_transforms(&t0, &t1, cipher_type, hash_id,
|
D | test_suite_cipher.function | 153 const int *cipher_type; 155 for (cipher_type = mbedtls_cipher_list(); *cipher_type != 0; cipher_type++) { 157 mbedtls_cipher_info_from_type(*cipher_type); 158 mbedtls_test_set_step(*cipher_type); 159 if (!check_cipher_info(*cipher_type, info)) {
|
/external/mbedtls/include/mbedtls/ |
D | pkcs12.h | 90 mbedtls_cipher_type_t cipher_type, 140 mbedtls_cipher_type_t cipher_type, mbedtls_md_type_t md_type,
|
/external/openthread/third_party/mbedtls/repo/include/mbedtls/ |
D | pkcs12.h | 90 mbedtls_cipher_type_t cipher_type, 140 mbedtls_cipher_type_t cipher_type, mbedtls_md_type_t md_type,
|
/external/mbedtls/library/ |
D | pkcs12.c | 122 mbedtls_cipher_type_t cipher_type, mbedtls_md_type_t md_type, 131 mbedtls_cipher_type_t cipher_type, mbedtls_md_type_t md_type, in mbedtls_pkcs12_pbe() argument 142 return mbedtls_pkcs12_pbe_ext(pbe_params, mode, cipher_type, md_type, in mbedtls_pkcs12_pbe() 149 mbedtls_cipher_type_t cipher_type, mbedtls_md_type_t md_type, in mbedtls_pkcs12_pbe_ext() argument 167 cipher_info = mbedtls_cipher_info_from_type(cipher_type); in mbedtls_pkcs12_pbe_ext()
|
D | cmac.c | 734 mbedtls_cipher_type_t cipher_type, in cmac_test_subkeys() argument 744 cipher_info = mbedtls_cipher_info_from_type(cipher_type); in cmac_test_subkeys() 773 cipher_type == MBEDTLS_CIPHER_AES_192_ECB) { in cmac_test_subkeys() 830 mbedtls_cipher_type_t cipher_type, in cmac_test_wth_cipher() argument 838 cipher_info = mbedtls_cipher_info_from_type(cipher_type); in cmac_test_wth_cipher() 858 (cipher_type == MBEDTLS_CIPHER_AES_192_ECB || in cmac_test_wth_cipher() 859 cipher_type == MBEDTLS_CIPHER_DES_EDE3_ECB)) { in cmac_test_wth_cipher()
|
/external/openthread/third_party/mbedtls/repo/library/ |
D | pkcs12.c | 124 mbedtls_cipher_type_t cipher_type, mbedtls_md_type_t md_type, 133 mbedtls_cipher_type_t cipher_type, mbedtls_md_type_t md_type, in mbedtls_pkcs12_pbe() argument 144 return mbedtls_pkcs12_pbe_ext(pbe_params, mode, cipher_type, md_type, in mbedtls_pkcs12_pbe() 151 mbedtls_cipher_type_t cipher_type, mbedtls_md_type_t md_type, in mbedtls_pkcs12_pbe_ext() argument 170 cipher_info = mbedtls_cipher_info_from_type(cipher_type); in mbedtls_pkcs12_pbe_ext()
|
D | cmac.c | 734 mbedtls_cipher_type_t cipher_type, in cmac_test_subkeys() argument 744 cipher_info = mbedtls_cipher_info_from_type(cipher_type); in cmac_test_subkeys() 773 cipher_type == MBEDTLS_CIPHER_AES_192_ECB) { in cmac_test_subkeys() 830 mbedtls_cipher_type_t cipher_type, in cmac_test_wth_cipher() argument 838 cipher_info = mbedtls_cipher_info_from_type(cipher_type); in cmac_test_wth_cipher() 858 (cipher_type == MBEDTLS_CIPHER_AES_192_ECB || in cmac_test_wth_cipher() 859 cipher_type == MBEDTLS_CIPHER_DES_EDE3_ECB)) { in cmac_test_wth_cipher()
|
/external/libsrtp2/srtp/ |
D | srtp.c | 330 p->rtp.cipher_type, &session_keys->rtp_cipher, in srtp_stream_alloc() 351 p->rtcp.cipher_type, &session_keys->rtcp_cipher, in srtp_stream_alloc() 403 switch (p->rtp.cipher_type) { in srtp_stream_alloc() 413 enc_xtn_hdr_cipher_type = p->rtp.cipher_type; in srtp_stream_alloc() 3167 p->cipher_type = SRTP_AES_ICM_128; in srtp_crypto_policy_set_rtp_default() 3178 p->cipher_type = SRTP_AES_ICM_128; in srtp_crypto_policy_set_rtcp_default() 3195 p->cipher_type = SRTP_AES_ICM_128; in srtp_crypto_policy_set_aes_cm_128_hmac_sha1_32() 3212 p->cipher_type = SRTP_AES_ICM_128; in srtp_crypto_policy_set_aes_cm_128_null_auth() 3227 p->cipher_type = SRTP_NULL_CIPHER; in srtp_crypto_policy_set_null_cipher_hmac_sha1_80() 3241 p->cipher_type = SRTP_NULL_CIPHER; in srtp_crypto_policy_set_null_cipher_hmac_null() [all …]
|
/external/libsrtp2/crypto/include/ |
D | crypto_kernel.h | 74 const srtp_cipher_type_t *cipher_type; member
|
/external/kernel-headers/original/uapi/linux/ |
D | tls.h | 122 __u16 cipher_type; member
|
/external/ltp/testcases/kernel/syscalls/setsockopt/ |
D | setsockopt10.c | 65 .cipher_type = TLS_CIPHER_AES_GCM_128,
|
/external/mbedtls/programs/test/ |
D | benchmark.c | 809 mbedtls_cipher_type_t cipher_type; in main() local 812 for (keysize = 128, cipher_type = MBEDTLS_CIPHER_AES_128_ECB; in main() 814 keysize += 64, cipher_type++) { in main() 820 cipher_info = mbedtls_cipher_info_from_type(cipher_type); in main()
|
/external/openthread/third_party/mbedtls/repo/programs/test/ |
D | benchmark.c | 888 mbedtls_cipher_type_t cipher_type; in main() local 891 for (keysize = 128, cipher_type = MBEDTLS_CIPHER_AES_128_ECB; in main() 893 keysize += 64, cipher_type++) { in main() 899 cipher_info = mbedtls_cipher_info_from_type(cipher_type); in main()
|
/external/libsrtp2/include/ |
D | srtp.h | 227 srtp_cipher_type_id_t cipher_type; /**< An integer representing */ member
|
/external/openthread/third_party/mbedtls/repo/tests/src/test_helpers/ |
D | ssl_helpers.c | 1133 static void mbedtls_test_ssl_cipher_info_from_type(mbedtls_cipher_type_t cipher_type, in mbedtls_test_ssl_cipher_info_from_type() argument 1137 switch (cipher_type) { in mbedtls_test_ssl_cipher_info_from_type() 1252 int cipher_type, int hash_id, in mbedtls_test_ssl_build_transforms() argument 1288 mbedtls_test_ssl_cipher_info_from_type((mbedtls_cipher_type_t) cipher_type, in mbedtls_test_ssl_build_transforms() 1303 cipher_info = mbedtls_cipher_info_from_type((mbedtls_cipher_type_t) cipher_type); in mbedtls_test_ssl_build_transforms() 1537 status = mbedtls_ssl_cipher_to_psa(cipher_type, in mbedtls_test_ssl_build_transforms()
|