Searched refs:PSA_ALG_TRUNCATED_MAC (Results 1 – 6 of 6) sorted by relevance
/third_party/mbedtls/tests/suites/ |
D | test_suite_psa_crypto_metadata.function | 312 psa_algorithm_t truncated_alg = PSA_ALG_TRUNCATED_MAC(alg, n); 316 /* Check that calling PSA_ALG_TRUNCATED_MAC twice gives the length 319 TEST_EQUAL(PSA_ALG_TRUNCATED_MAC(truncated_alg, 1), 320 PSA_ALG_TRUNCATED_MAC(alg, 1)); 321 TEST_EQUAL(PSA_ALG_TRUNCATED_MAC(truncated_alg, length - 1), 322 PSA_ALG_TRUNCATED_MAC(alg, length - 1)); 323 TEST_EQUAL(PSA_ALG_TRUNCATED_MAC(truncated_alg, length), 324 PSA_ALG_TRUNCATED_MAC(alg, length)); 326 /* Check that calling PSA_ALG_TRUNCATED_MAC on an algorithm 330 TEST_EQUAL(PSA_ALG_TRUNCATED_MAC( [all …]
|
D | test_suite_psa_crypto.data | 696 …aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa":PSA_ALG_TRUNCATED_MAC(PSA_ALG_HM… 700 …aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa":PSA_ALG_TRUNCATED_MAC(PSA_ALG_HM… 704 …aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa":PSA_ALG_TRUNCATED_MAC(PSA_ALG_HM… 708 …ALG_CMAC, 10):PSA_KEY_TYPE_AES:"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa":PSA_ALG_TRUNCATED_MAC(PSA_ALG_CM… 712 …ALG_CMAC, 10):PSA_KEY_TYPE_AES:"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa":PSA_ALG_TRUNCATED_MAC(PSA_ALG_CM… 716 …ALG_CMAC, 10):PSA_KEY_TYPE_AES:"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa":PSA_ALG_TRUNCATED_MAC(PSA_ALG_CM… 732 …aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa":PSA_ALG_TRUNCATED_MAC(PSA_ALG_CM… 736 …aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa":PSA_ALG_TRUNCATED_MAC(PSA_ALG_HM… 748 …PSA_ALG_TRUNCATED_MAC(PSA_ALG_HMAC(PSA_ALG_SHA_256), 10):PSA_KEY_TYPE_HMAC:"aaaaaaaaaaaaaaaaaaaaaa… 752 …PSA_ALG_TRUNCATED_MAC(PSA_ALG_HMAC(PSA_ALG_SHA_256), 20):PSA_KEY_TYPE_HMAC:"aaaaaaaaaaaaaaaaaaaaaa… [all …]
|
/third_party/mbedtls/include/psa/ |
D | crypto_values.h | 1060 #define PSA_ALG_TRUNCATED_MAC(mac_alg, mac_length) \ macro 1120 (PSA_ALG_TRUNCATED_MAC(mac_alg, min_mac_length) | \
|
/third_party/mbedtls/library/ |
D | ssl_cookie.c | 124 ctx->psa_hmac_alg = PSA_ALG_TRUNCATED_MAC(PSA_ALG_HMAC(alg), in mbedtls_ssl_cookie_setup()
|
D | psa_crypto.c | 761 return PSA_ALG_TRUNCATED_MAC(alg1, alg1_len); in psa_key_policy_algorithm_intersection()
|
/third_party/mbedtls/tests/src/ |
D | psa_exercise_key.c | 124 alg = PSA_ALG_TRUNCATED_MAC(alg, PSA_MAC_TRUNCATED_LENGTH(alg)); in exercise_mac_key()
|