Home
last modified time | relevance | path

Searched refs:PSA_BLOCK_CIPHER_BLOCK_LENGTH (Results 1 – 12 of 12) sorted by relevance

/mbedtls-3.5.0/include/psa/
Dcrypto_sizes.h278 PSA_ALG_IS_BLOCK_CIPHER_MAC(alg) ? PSA_BLOCK_CIPHER_BLOCK_LENGTH(key_type) : \
413 (PSA_BLOCK_CIPHER_BLOCK_LENGTH(key_type) == 16 ? \
467 PSA_ROUND_UP_TO_MULTIPLE(PSA_BLOCK_CIPHER_BLOCK_LENGTH(key_type), (input_length)) : \
508 PSA_BLOCK_CIPHER_BLOCK_LENGTH(key_type) : \
542 PSA_BLOCK_CIPHER_BLOCK_LENGTH(key_type) : \
994 (PSA_BLOCK_CIPHER_BLOCK_LENGTH(key_type) > 1 && \
1000 (alg) == PSA_ALG_CBC_PKCS7) ? PSA_BLOCK_CIPHER_BLOCK_LENGTH(key_type) : \
1037 (PSA_BLOCK_CIPHER_BLOCK_LENGTH(key_type) != 0 ? \
1038 PSA_ROUND_UP_TO_MULTIPLE(PSA_BLOCK_CIPHER_BLOCK_LENGTH(key_type), \
1119 (PSA_BLOCK_CIPHER_BLOCK_LENGTH(key_type) != 0 ? \
[all …]
Dcrypto_values.h756 #define PSA_BLOCK_CIPHER_BLOCK_LENGTH(type) \ macro
/mbedtls-3.5.0/programs/psa/
Dcrypto_examples.c161 block_size = PSA_BLOCK_CIPHER_BLOCK_LENGTH(PSA_KEY_TYPE_AES), in cipher_example_encrypt_decrypt_aes_cbc_nopad_1_block()
209 block_size = PSA_BLOCK_CIPHER_BLOCK_LENGTH(PSA_KEY_TYPE_AES), in cipher_example_encrypt_decrypt_aes_cbc_pkcs7_multi()
257 block_size = PSA_BLOCK_CIPHER_BLOCK_LENGTH(PSA_KEY_TYPE_AES), in cipher_example_encrypt_decrypt_aes_ctr_multi()
/mbedtls-3.5.0/library/
Dpsa_crypto_aead.c68 if (PSA_BLOCK_CIPHER_BLOCK_LENGTH(attributes->core.type) != 16) { in psa_aead_setup()
88 if (PSA_BLOCK_CIPHER_BLOCK_LENGTH(attributes->core.type) != 16) { in psa_aead_setup()
Dpsa_crypto_cipher.c235 PSA_BLOCK_CIPHER_BLOCK_LENGTH(key_type)); in psa_cipher_setup()
Dpsa_crypto.c574 if (PSA_BLOCK_CIPHER_BLOCK_LENGTH(key_type) > 1) { in psa_mac_key_can_do()
4300 input_length < PSA_BLOCK_CIPHER_BLOCK_LENGTH(slot->attr.type)) {
Dssl_msg.c5173 block_size = PSA_BLOCK_CIPHER_BLOCK_LENGTH(key_type); in mbedtls_ssl_get_record_expansion()
Dssl_tls.c8430 size_t block_size = PSA_BLOCK_CIPHER_BLOCK_LENGTH(key_type); in ssl_tls12_populate_transform()
/mbedtls-3.5.0/tests/suites/
Dtest_suite_psa_crypto_metadata.function664 TEST_EQUAL(PSA_BLOCK_CIPHER_BLOCK_LENGTH(type), block_size);
681 TEST_EQUAL(PSA_BLOCK_CIPHER_BLOCK_LENGTH(type), 1);
Dtest_suite_psa_crypto_driver_wrappers.function1172 PSA_BLOCK_CIPHER_BLOCK_LENGTH(key_type));
1300 PSA_BLOCK_CIPHER_BLOCK_LENGTH(key_type));
Dtest_suite_psa_crypto.function1917 input_buffer_size = PSA_BLOCK_CIPHER_BLOCK_LENGTH(exercise_alg);
3596 unsigned char iv[PSA_BLOCK_CIPHER_BLOCK_LENGTH(PSA_KEY_TYPE_AES)] = { 0 };
3605 uint8_t buffer[PSA_BLOCK_CIPHER_BLOCK_LENGTH(PSA_KEY_TYPE_AES)] = { 0 };
/mbedtls-3.5.0/tests/src/
Dpsa_exercise_key.c99 TEST_ASSERT(PSA_BLOCK_CIPHER_BLOCK_LENGTH(type) <= PSA_BLOCK_CIPHER_BLOCK_MAX_SIZE); in check_key_attributes_sanity()