Home
last modified time | relevance | path

Searched refs:PSA_HASH_MAX_SIZE (Results 1 – 22 of 22) sorted by relevance

/openthread-3.7.0/third_party/mbedtls/repo/include/psa/
Dcrypto_builtin_key_derivation.h33 #if PSA_HASH_MAX_SIZE > 0xff
40 uint8_t MBEDTLS_PRIVATE(output_block)[PSA_HASH_MAX_SIZE];
41 uint8_t MBEDTLS_PRIVATE(prk)[PSA_HASH_MAX_SIZE];
65 #if PSA_HASH_MAX_SIZE > 0xff
89 uint8_t MBEDTLS_PRIVATE(Ai)[PSA_HASH_MAX_SIZE];
92 uint8_t MBEDTLS_PRIVATE(output_block)[PSA_HASH_MAX_SIZE];
112 uint8_t MBEDTLS_PRIVATE(output_block)[PSA_HASH_MAX_SIZE];
Dcrypto_sizes.h142 #define PSA_HASH_MAX_SIZE 64u macro
144 #define PSA_HASH_MAX_SIZE 48u macro
146 #define PSA_HASH_MAX_SIZE 32u macro
148 #define PSA_HASH_MAX_SIZE 28u macro
150 #define PSA_HASH_MAX_SIZE 20u macro
165 #define PSA_MAC_MAX_SIZE PSA_HASH_MAX_SIZE
/openthread-3.7.0/third_party/mbedtls/repo/tests/suites/
Dtest_suite_psa_crypto_hash.function17 unsigned char actual_hash[PSA_HASH_MAX_SIZE];
110 unsigned char actual_hash[PSA_HASH_MAX_SIZE];
Dtest_suite_psa_crypto_op_fail.function51 uint8_t output[PSA_HASH_MAX_SIZE] = { 0 };
Dtest_suite_x509write.function39 unsigned char hash[PSA_HASH_MAX_SIZE];
53 hash, PSA_HASH_MAX_SIZE, &hash_size);
Dtest_suite_psa_crypto_metadata.function290 TEST_ASSERT(length <= PSA_HASH_MAX_SIZE);
Dtest_suite_psa_crypto.function2535 unsigned char payload[PSA_HASH_MAX_SIZE] = { 1 };
3099 uint8_t output[PSA_HASH_MAX_SIZE + 1];
3347 unsigned char hash[PSA_HASH_MAX_SIZE];
3369 unsigned char hash[PSA_HASH_MAX_SIZE];
3414 unsigned char hash[PSA_HASH_MAX_SIZE];
Dtest_suite_pk.function2043 unsigned char hash[PSA_HASH_MAX_SIZE];
/openthread-3.7.0/third_party/mbedtls/repo/tests/src/drivers/
Dtest_driver_signature.c188 uint8_t hash[PSA_HASH_MAX_SIZE]; in mbedtls_test_transparent_signature_sign_message()
267 uint8_t hash[PSA_HASH_MAX_SIZE]; in mbedtls_test_transparent_signature_verify_message()
/openthread-3.7.0/third_party/mbedtls/repo/library/
Dssl_tls13_keys.h70 PSA_HASH_MAX_SIZE
Dssl_tls13_generic.c226 unsigned char verify_hash[PSA_HASH_MAX_SIZE]; in ssl_tls13_parse_certificate_verify()
1056 unsigned char verify_hash[PSA_HASH_MAX_SIZE]; in ssl_tls13_write_certificate_verify_body()
1521 unsigned char hash_transcript[PSA_HASH_MAX_SIZE + 4]; in mbedtls_ssl_reset_transcript_for_hrr()
1530 PSA_HASH_MAX_SIZE, in mbedtls_ssl_reset_transcript_for_hrr()
Dpsa_crypto_mac.c116 uint8_t tmp[PSA_HASH_MAX_SIZE]; in psa_hmac_finish_internal()
Dmd.c63 #if defined(MBEDTLS_PSA_CRYPTO_C) && MBEDTLS_MD_MAX_SIZE < PSA_HASH_MAX_SIZE
Dssl_tls13_server.c411 unsigned char transcript[PSA_HASH_MAX_SIZE]; in ssl_tls13_offered_psks_check_binder_match()
415 unsigned char server_computed_binder[PSA_HASH_MAX_SIZE]; in ssl_tls13_offered_psks_check_binder_match()
Dssl_tls13_keys.c304 unsigned char hashed_context[PSA_HASH_MAX_SIZE]; in mbedtls_ssl_tls13_derive_secret()
Dssl_msg.c96 unsigned char aux_out[PSA_HASH_MAX_SIZE]; in mbedtls_ct_hmac()
143 PSA_HASH_MAX_SIZE, &hash_length)); in mbedtls_ct_hmac()
174 mbedtls_platform_zeroize(aux_out, PSA_HASH_MAX_SIZE); in mbedtls_ct_hmac()
Dpsa_crypto.c2393 uint8_t actual_hash[PSA_HASH_MAX_SIZE]; in psa_hash_verify()
2457 uint8_t actual_hash[PSA_HASH_MAX_SIZE]; in psa_hash_compare()
3063 uint8_t hash[PSA_HASH_MAX_SIZE]; in psa_sign_message_builtin()
3122 uint8_t hash[PSA_HASH_MAX_SIZE]; in psa_verify_message_builtin()
Dssl_tls.c9356 if ((status = psa_hash_finish(&hash_operation, hash, PSA_HASH_MAX_SIZE, in mbedtls_ssl_get_key_exchange_md_tls1_2()
/openthread-3.7.0/third_party/mbedtls/repo/tests/src/
Dpsa_exercise_key.c359 unsigned char payload[PSA_HASH_MAX_SIZE] = { 1 }; in exercise_signature_key()
/openthread-3.7.0/third_party/mbedtls/repo/include/mbedtls/
Dssl.h690 #define MBEDTLS_TLS1_3_MD_MAX_SIZE PSA_HASH_MAX_SIZE
/openthread-3.7.0/third_party/mbedtls/repo/tests/src/test_helpers/
Dssl_helpers.c1642 unsigned char mac[PSA_HASH_MAX_SIZE]; in mbedtls_test_ssl_prepare_record_mac()
/openthread-3.7.0/third_party/mbedtls/repo/docs/
Dpsa-transition.md84 …ENGTH(hash_alg)` where `hash_alg` is a specific hash algorithm, or `PSA_HASH_MAX_SIZE` for a buffe…
491 …AX_SIZE` | [`PSA_HASH_MAX_SIZE`](https://mbed-tls.readthedocs.io/projects/api/en/development/api/f…