Home
last modified time | relevance | path

Searched refs:cipher_type (Results 1 – 13 of 13) sorted by relevance

/openthread-latest/third_party/mbedtls/repo/tests/suites/
Dtest_suite_cmac.function102 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))
Dtest_suite_block_cipher.function97 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));
Dtest_suite_ssl_decrypt.function23 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,
Dtest_suite_cipher.function153 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)) {
Dtest_suite_ssl.function1224 void ssl_crypt_record(int cipher_type, int hash_id,
1248 ret = mbedtls_test_ssl_build_transforms(&t0, &t1, cipher_type, hash_id,
1355 void ssl_crypt_record_small(int cipher_type, int hash_id,
1402 ret = mbedtls_test_ssl_build_transforms(&t0, &t1, cipher_type, hash_id,
/openthread-latest/third_party/mbedtls/repo/include/mbedtls/
Dpkcs12.h90 mbedtls_cipher_type_t cipher_type,
140 mbedtls_cipher_type_t cipher_type, mbedtls_md_type_t md_type,
Dcipher.h408 const mbedtls_cipher_info_t *mbedtls_cipher_info_from_type(const mbedtls_cipher_type_t cipher_type);
/openthread-latest/third_party/mbedtls/repo/library/
Dpkcs12.c124 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()
Dcmac.c734 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()
Dcipher.c86 const mbedtls_cipher_type_t cipher_type) in mbedtls_cipher_info_from_type() argument
91 if (def->type == cipher_type) { in mbedtls_cipher_info_from_type()
/openthread-latest/third_party/mbedtls/repo/programs/test/
Dbenchmark.c888 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()
/openthread-latest/third_party/mbedtls/repo/tests/src/test_helpers/
Dssl_helpers.c1133 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()
/openthread-latest/third_party/mbedtls/repo/tests/include/test/
Dssl_helpers.h517 int cipher_type, int hash_id,