Home
last modified time | relevance | path

Searched refs:PSA_ALG_TRUNCATED_MAC (Results 1 – 6 of 6) sorted by relevance

/third_party/mbedtls/tests/suites/
Dtest_suite_psa_crypto_metadata.function312 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 …]
Dtest_suite_psa_crypto.data696 …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…
748PSA_ALG_TRUNCATED_MAC(PSA_ALG_HMAC(PSA_ALG_SHA_256), 10):PSA_KEY_TYPE_HMAC:"aaaaaaaaaaaaaaaaaaaaaa…
752PSA_ALG_TRUNCATED_MAC(PSA_ALG_HMAC(PSA_ALG_SHA_256), 20):PSA_KEY_TYPE_HMAC:"aaaaaaaaaaaaaaaaaaaaaa…
[all …]
/third_party/mbedtls/include/psa/
Dcrypto_values.h1060 #define PSA_ALG_TRUNCATED_MAC(mac_alg, mac_length) \ macro
1120 (PSA_ALG_TRUNCATED_MAC(mac_alg, min_mac_length) | \
/third_party/mbedtls/library/
Dssl_cookie.c124 ctx->psa_hmac_alg = PSA_ALG_TRUNCATED_MAC(PSA_ALG_HMAC(alg), in mbedtls_ssl_cookie_setup()
Dpsa_crypto.c761 return PSA_ALG_TRUNCATED_MAC(alg1, alg1_len); in psa_key_policy_algorithm_intersection()
/third_party/mbedtls/tests/src/
Dpsa_exercise_key.c124 alg = PSA_ALG_TRUNCATED_MAC(alg, PSA_MAC_TRUNCATED_LENGTH(alg)); in exercise_mac_key()