Searched refs:PSA_MAC_LENGTH (Results 1 – 5 of 5) sorted by relevance
/third_party/mbedtls/include/psa/ |
D | crypto_sizes.h | 266 #define PSA_MAC_LENGTH(key_type, key_bits, alg) \ macro
|
/third_party/mbedtls/library/ |
D | psa_crypto.c | 682 size_t alg1_len = PSA_MAC_LENGTH( key_type, 0, alg1 ); in psa_key_policy_algorithm_intersection() 683 size_t alg2_len = PSA_MAC_LENGTH( key_type, 0, alg2 ); in psa_key_policy_algorithm_intersection() 761 size_t requested_output_length = PSA_MAC_LENGTH( in psa_key_algorithm_permits() 763 size_t default_output_length = PSA_MAC_LENGTH( in psa_key_algorithm_permits() 2315 *mac_size = PSA_MAC_LENGTH( key_type, key_bits, alg ); in psa_mac_finalize_alg_and_key_validation() 2326 if( *mac_size > PSA_MAC_LENGTH( key_type, key_bits, in psa_mac_finalize_alg_and_key_validation()
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_psa_crypto_driver_wrappers.function | 1211 PSA_MAC_LENGTH( key_type, PSA_BYTES_TO_BITS( key_data->len ), alg ); 1218 /* We expect PSA_MAC_LENGTH to be exact. */
|
D | test_suite_psa_crypto_metadata.function | 208 TEST_EQUAL( length, PSA_MAC_LENGTH( key_type, key_bits, alg ) );
|
D | test_suite_psa_crypto.function | 2397 PSA_MAC_LENGTH( key_type, PSA_BYTES_TO_BITS( key_data->len ), alg ); 2408 /* We expect PSA_MAC_LENGTH to be exact. */
|