Home
last modified time | relevance | path

Searched refs:PSA_BLOCK_CIPHER_BLOCK_LENGTH (Results 1 - 9 of 9) sorted by relevance

/third_party/mbedtls/include/psa/
H A 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) : \
1113 (PSA_BLOCK_CIPHER_BLOCK_LENGTH(key_type) > 1 && \
1119 (alg) == PSA_ALG_CBC_PKCS7) ? PSA_BLOCK_CIPHER_BLOCK_LENGTH(key_type) : \
1156 (PSA_BLOCK_CIPHER_BLOCK_LENGTH(key_type) != 0 ? \
1157 PSA_ROUND_UP_TO_MULTIPLE(PSA_BLOCK_CIPHER_BLOCK_LENGTH(key_type), \
1238 (PSA_BLOCK_CIPHER_BLOCK_LENGTH(key_typ
[all...]
H A Dcrypto_values.h764 #define PSA_BLOCK_CIPHER_BLOCK_LENGTH(type) \ macro
/third_party/mbedtls/programs/psa/
H A 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()
/third_party/mbedtls/library/
H A 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()
H A Dpsa_crypto_cipher.c353 PSA_BLOCK_CIPHER_BLOCK_LENGTH(key_type)); in psa_cipher_setup()
H A Dssl_msg.c5473 block_size = PSA_BLOCK_CIPHER_BLOCK_LENGTH(key_type); in mbedtls_ssl_get_record_expansion()
H A Dpsa_crypto.c690 /* Check that we're calling PSA_BLOCK_CIPHER_BLOCK_LENGTH with a cipher in psa_mac_key_can_do()
694 /* PSA_BLOCK_CIPHER_BLOCK_LENGTH returns 1 for stream ciphers and in psa_mac_key_can_do()
696 if (PSA_BLOCK_CIPHER_BLOCK_LENGTH(key_type) > 1) { in psa_mac_key_can_do()
4628 input_length < PSA_BLOCK_CIPHER_BLOCK_LENGTH(slot->attr.type)) { in psa_cipher_decrypt()
H A Dssl_tls.c8987 size_t block_size = PSA_BLOCK_CIPHER_BLOCK_LENGTH(key_type); in ssl_tls12_populate_transform()
/third_party/mbedtls/tests/src/
H A Dpsa_exercise_key.c106 TEST_ASSERT(PSA_BLOCK_CIPHER_BLOCK_LENGTH(type) <= PSA_BLOCK_CIPHER_BLOCK_MAX_SIZE); in check_key_attributes_sanity()

Completed in 38 milliseconds