Home
last modified time | relevance | path

Searched refs:cipher_id (Results 1 – 14 of 14) sorted by relevance

/mbedtls/tests/suites/
A Dtest_suite_ccm.function91 ret = mbedtls_ccm_setkey(&ctx, cipher_id, key, key_size);
274 void mbedtls_ccm_auth_decrypt(int cipher_id, data_t *key,
338 void mbedtls_ccm_star_encrypt_and_tag(int cipher_id,
383 TEST_EQUAL(mbedtls_ccm_setkey(&ctx, cipher_id,
425 void mbedtls_ccm_star_auth_decrypt(int cipher_id,
505 void mbedtls_ccm_skip_ad(int cipher_id, int mode,
545 void mbedtls_ccm_skip_update(int cipher_id, int mode,
575 void mbedtls_ccm_overflow_ad(int cipher_id, int mode,
598 void mbedtls_ccm_unexpected_ad(int cipher_id, int mode,
650 void mbedtls_ccm_incomplete_ad(int cipher_id, int mode,
[all …]
A Dtest_suite_gcm.function179 void gcm_bad_parameters(int cipher_id, int direction,
207 void gcm_encrypt_and_tag(int cipher_id, data_t *key_str,
256 void gcm_decrypt_and_verify(int cipher_id, data_t *key_str,
315 void gcm_decrypt_and_verify_empty_cipher(int cipher_id,
338 void gcm_decrypt_and_verify_empty_ad(int cipher_id,
362 void gcm_decrypt_and_verify_no_ad_no_cipher(int cipher_id,
382 void gcm_encrypt_and_tag_empty_cipher(int cipher_id,
406 void gcm_encrypt_and_tag_empty_ad(int cipher_id,
431 void gcm_encrypt_and_verify_no_ad_no_cipher(int cipher_id,
471 void gcm_update_output_buffer_too_small(int cipher_id, int mode,
[all …]
A Dtest_suite_cipher.function390 cipher_info = mbedtls_cipher_info_from_type(cipher_id);
528 cipher_info = mbedtls_cipher_info_from_type(cipher_id);
685 cipher_info = mbedtls_cipher_info_from_type(cipher_id);
850 void auth_crypt_tv(int cipher_id, data_t *key, data_t *iv,
1045 void test_vec_ecb(int cipher_id, int operation, data_t *key,
1132 void set_padding(int cipher_id, int pad_mode, int ret)
1139 cipher_info = mbedtls_cipher_info_from_type(cipher_id);
1174 void iv_len_validity(int cipher_id, char *cipher_string,
1194 cipher_info = mbedtls_cipher_info_from_type(cipher_id);
1214 void check_set_padding(int cipher_id)
[all …]
A Dtest_suite_nist_kw.function125 void mbedtls_nist_kw_setkey(int cipher_id, int key_size,
137 ret = mbedtls_nist_kw_setkey(&ctx, cipher_id, key, key_size, is_wrap);
237 void mbedtls_nist_kw_wrap(int cipher_id, int mode, data_t *key, data_t *msg,
248 TEST_ASSERT(mbedtls_nist_kw_setkey(&ctx, cipher_id,
271 void mbedtls_nist_kw_unwrap(int cipher_id, int mode, data_t *key, data_t *msg,
282 TEST_ASSERT(mbedtls_nist_kw_setkey(&ctx, cipher_id,
A Dtest_suite_block_cipher.function70 mbedtls_cipher_id_t cipher_id = cipher_id_arg;
77 TEST_EQUAL(0, mbedtls_block_cipher_setup(&ctx, cipher_id));
/mbedtls/library/
A Dblock_cipher.c25 static psa_key_type_t psa_key_type_from_block_cipher_id(mbedtls_block_cipher_id_t cipher_id) in psa_key_type_from_block_cipher_id() argument
27 switch (cipher_id) { in psa_key_type_from_block_cipher_id()
83 mbedtls_cipher_id_t cipher_id) in mbedtls_block_cipher_setup() argument
85 ctx->id = (cipher_id == MBEDTLS_CIPHER_ID_AES) ? MBEDTLS_BLOCK_CIPHER_ID_AES : in mbedtls_block_cipher_setup()
86 (cipher_id == MBEDTLS_CIPHER_ID_ARIA) ? MBEDTLS_BLOCK_CIPHER_ID_ARIA : in mbedtls_block_cipher_setup()
87 (cipher_id == MBEDTLS_CIPHER_ID_CAMELLIA) ? MBEDTLS_BLOCK_CIPHER_ID_CAMELLIA : in mbedtls_block_cipher_setup()
A Dpsa_crypto_cipher.c131 mbedtls_cipher_id_t *cipher_id) in mbedtls_cipher_values_from_psa() argument
250 if (cipher_id != NULL) { in mbedtls_cipher_values_from_psa()
251 *cipher_id = cipher_id_tmp; in mbedtls_cipher_values_from_psa()
262 mbedtls_cipher_id_t *cipher_id) in mbedtls_cipher_info_from_psa() argument
272 if (cipher_id != NULL) { in mbedtls_cipher_info_from_psa()
273 *cipher_id = cipher_id_tmp; in mbedtls_cipher_info_from_psa()
A Dpsa_crypto_cipher.h34 mbedtls_cipher_id_t *cipher_id);
51 mbedtls_cipher_id_t *cipher_id);
A Dpsa_crypto_aead.c34 mbedtls_cipher_id_t cipher_id; in psa_aead_setup() local
40 &key_bits, &mode, &cipher_id); in psa_aead_setup()
58 mbedtls_ccm_setkey(&operation->ctx.ccm, cipher_id, in psa_aead_setup()
78 mbedtls_gcm_setkey(&operation->ctx.gcm, cipher_id, in psa_aead_setup()
A Dblock_cipher_internal.h50 mbedtls_cipher_id_t cipher_id);
A Dcipher.c118 const mbedtls_cipher_id_t cipher_id, in mbedtls_cipher_info_from_values() argument
125 if (mbedtls_cipher_get_base(def->info)->cipher == cipher_id && in mbedtls_cipher_info_from_values()
/mbedtls/include/mbedtls/
A Dcipher.h424 const mbedtls_cipher_info_t *mbedtls_cipher_info_from_values(const mbedtls_cipher_id_t cipher_id,
/mbedtls/tests/scripts/
A Dall.sh2443 tests/scripts/depends.py cipher_id --unset-use-psa
2479 tests/scripts/depends.py cipher_id
/mbedtls/docs/architecture/psa-migration/
A Dmd-cipher-dispatch.md584 mbedtls_cipher_id_t cipher_id);

Completed in 26 milliseconds