Home
last modified time | relevance | path

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

/mbedtls-latest/include/psa/
Dcrypto_sizes.h331 PSA_ALG_IS_BLOCK_CIPHER_MAC(alg) ? PSA_BLOCK_CIPHER_BLOCK_LENGTH(key_type) : \
466 (PSA_BLOCK_CIPHER_BLOCK_LENGTH(key_type) == 16 ? \
520 PSA_ROUND_UP_TO_MULTIPLE(PSA_BLOCK_CIPHER_BLOCK_LENGTH(key_type), (input_length)) : \
561 PSA_BLOCK_CIPHER_BLOCK_LENGTH(key_type) : \
595 PSA_BLOCK_CIPHER_BLOCK_LENGTH(key_type) : \
1138 (PSA_BLOCK_CIPHER_BLOCK_LENGTH(key_type) > 1 && \
1144 (alg) == PSA_ALG_CBC_PKCS7) ? PSA_BLOCK_CIPHER_BLOCK_LENGTH(key_type) : \
1181 (PSA_BLOCK_CIPHER_BLOCK_LENGTH(key_type) != 0 ? \
1182 PSA_ROUND_UP_TO_MULTIPLE(PSA_BLOCK_CIPHER_BLOCK_LENGTH(key_type), \
1263 (PSA_BLOCK_CIPHER_BLOCK_LENGTH(key_type) != 0 ? \
[all …]
Dcrypto_values.h764 #define PSA_BLOCK_CIPHER_BLOCK_LENGTH(type) \ macro
/mbedtls-latest/programs/psa/
Dcrypto_examples.c149 block_size = PSA_BLOCK_CIPHER_BLOCK_LENGTH(PSA_KEY_TYPE_AES), in cipher_example_encrypt_decrypt_aes_cbc_nopad_1_block()
197 block_size = PSA_BLOCK_CIPHER_BLOCK_LENGTH(PSA_KEY_TYPE_AES), in cipher_example_encrypt_decrypt_aes_cbc_pkcs7_multi()
245 block_size = PSA_BLOCK_CIPHER_BLOCK_LENGTH(PSA_KEY_TYPE_AES), in cipher_example_encrypt_decrypt_aes_ctr_multi()
/mbedtls-latest/library/
Dpsa_crypto_aead.c52 if (PSA_BLOCK_CIPHER_BLOCK_LENGTH(attributes->type) != 16) { in psa_aead_setup()
72 if (PSA_BLOCK_CIPHER_BLOCK_LENGTH(attributes->type) != 16) { in psa_aead_setup()
Dpsa_crypto_cipher.c353 PSA_BLOCK_CIPHER_BLOCK_LENGTH(key_type)); in psa_cipher_setup()
Dssl_msg.c5473 block_size = PSA_BLOCK_CIPHER_BLOCK_LENGTH(key_type); in mbedtls_ssl_get_record_expansion()
Dpsa_crypto.c701 if (PSA_BLOCK_CIPHER_BLOCK_LENGTH(key_type) > 1) { in psa_mac_key_can_do()
Dssl_tls.c8764 size_t block_size = PSA_BLOCK_CIPHER_BLOCK_LENGTH(key_type); in ssl_tls12_populate_transform()
/mbedtls-latest/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.function1193 PSA_BLOCK_CIPHER_BLOCK_LENGTH(key_type));
1322 PSA_BLOCK_CIPHER_BLOCK_LENGTH(key_type));
Dtest_suite_psa_crypto.function2259 input_buffer_size = PSA_BLOCK_CIPHER_BLOCK_LENGTH(exercise_alg);
3944 unsigned char iv[PSA_BLOCK_CIPHER_BLOCK_LENGTH(PSA_KEY_TYPE_AES)] = { 0 };
3953 uint8_t buffer[PSA_BLOCK_CIPHER_BLOCK_LENGTH(PSA_KEY_TYPE_AES)] = { 0 };
/mbedtls-latest/tests/src/
Dpsa_exercise_key.c106 TEST_ASSERT(PSA_BLOCK_CIPHER_BLOCK_LENGTH(type) <= PSA_BLOCK_CIPHER_BLOCK_MAX_SIZE); in check_key_attributes_sanity()