Home
last modified time | relevance | path

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

/third_party/mbedtls/include/psa/
Dcrypto_sizes.h269 PSA_ALG_IS_BLOCK_CIPHER_MAC(alg) ? PSA_BLOCK_CIPHER_BLOCK_LENGTH(key_type) : \
404 (PSA_BLOCK_CIPHER_BLOCK_LENGTH(key_type) == 16 ? \
458 PSA_ROUND_UP_TO_MULTIPLE(PSA_BLOCK_CIPHER_BLOCK_LENGTH(key_type), (input_length)) : \
499 PSA_BLOCK_CIPHER_BLOCK_LENGTH(key_type) : \
533 PSA_BLOCK_CIPHER_BLOCK_LENGTH(key_type) : \
985 (PSA_BLOCK_CIPHER_BLOCK_LENGTH(key_type) > 1 && \
991 (alg) == PSA_ALG_CBC_PKCS7) ? PSA_BLOCK_CIPHER_BLOCK_LENGTH(key_type) : \
1028 (PSA_BLOCK_CIPHER_BLOCK_LENGTH(key_type) != 0 ? \
1029 PSA_ROUND_UP_TO_MULTIPLE(PSA_BLOCK_CIPHER_BLOCK_LENGTH(key_type), \
1110 (PSA_BLOCK_CIPHER_BLOCK_LENGTH(key_type) != 0 ? \
[all …]
Dcrypto_values.h710 #define PSA_BLOCK_CIPHER_BLOCK_LENGTH(type) \ macro
/third_party/mbedtls/programs/psa/
Dcrypto_examples.c162 block_size = PSA_BLOCK_CIPHER_BLOCK_LENGTH( PSA_KEY_TYPE_AES ), in cipher_example_encrypt_decrypt_aes_cbc_nopad_1_block()
210 block_size = PSA_BLOCK_CIPHER_BLOCK_LENGTH( PSA_KEY_TYPE_AES ), in cipher_example_encrypt_decrypt_aes_cbc_pkcs7_multi()
258 block_size = PSA_BLOCK_CIPHER_BLOCK_LENGTH( PSA_KEY_TYPE_AES ), in cipher_example_encrypt_decrypt_aes_ctr_multi()
/third_party/mbedtls/library/
Dpsa_crypto_aead.c73 if( PSA_BLOCK_CIPHER_BLOCK_LENGTH( attributes->core.type ) != 16 ) in psa_aead_setup()
92 if( PSA_BLOCK_CIPHER_BLOCK_LENGTH( attributes->core.type ) != 16 ) in psa_aead_setup()
Dpsa_crypto_cipher.c201 PSA_BLOCK_CIPHER_BLOCK_LENGTH( key_type ) ); in psa_cipher_setup()
Dpsa_crypto.c514 if( PSA_BLOCK_CIPHER_BLOCK_LENGTH( key_type ) > 1 ) in psa_mac_key_can_do()
3635 …if( alg == PSA_ALG_CCM_STAR_NO_TAG && input_length < PSA_BLOCK_CIPHER_BLOCK_LENGTH( slot->attr.typ… in psa_cipher_decrypt()
/third_party/mbedtls/tests/src/
Dpsa_exercise_key.c103 TEST_ASSERT( PSA_BLOCK_CIPHER_BLOCK_LENGTH( type ) <= PSA_BLOCK_CIPHER_BLOCK_MAX_SIZE ); in check_key_attributes_sanity()
202 iv_length = PSA_BLOCK_CIPHER_BLOCK_LENGTH( in exercise_cipher_key()
/third_party/mbedtls/tests/suites/
Dtest_suite_psa_crypto_metadata.function666 TEST_EQUAL( PSA_BLOCK_CIPHER_BLOCK_LENGTH( type ), block_size );
683 TEST_EQUAL( PSA_BLOCK_CIPHER_BLOCK_LENGTH( type ), 1 );
Dtest_suite_psa_crypto_driver_wrappers.function571 PSA_BLOCK_CIPHER_BLOCK_LENGTH( key_type ) );
703 PSA_BLOCK_CIPHER_BLOCK_LENGTH( key_type ) );
Dtest_suite_psa_crypto.function2657 unsigned char iv[PSA_BLOCK_CIPHER_BLOCK_LENGTH(PSA_KEY_TYPE_AES)] = { 0 };
2664 uint8_t buffer[PSA_BLOCK_CIPHER_BLOCK_LENGTH(PSA_KEY_TYPE_AES)] = { 0 };
/third_party/mbedtls/docs/
Dgetting_started.md206 block_size = PSA_BLOCK_CIPHER_BLOCK_LENGTH(PSA_KEY_TYPE_AES),
291 block_size = PSA_BLOCK_CIPHER_BLOCK_LENGTH(PSA_KEY_TYPE_AES),