Searched refs:PSA_HASH_LENGTH (Results 1 – 10 of 10) sorted by relevance
/third_party/mbedtls/include/psa/ |
D | crypto_sizes.h | 65 #define PSA_HASH_LENGTH(alg) \ macro 268 PSA_ALG_IS_HMAC(alg) ? PSA_HASH_LENGTH(PSA_ALG_HMAC_GET_HASH(alg)) : \ 545 2 * PSA_HASH_LENGTH(PSA_ALG_RSA_OAEP_GET_HASH(alg)) + 1 : \
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_psa_crypto_driver_wrappers.function | 1551 ASSERT_ALLOC( output, PSA_HASH_LENGTH( alg ) ); 1554 output, PSA_HASH_LENGTH( alg ), 1585 ASSERT_ALLOC( output, PSA_HASH_LENGTH( alg ) ); 1602 output, PSA_HASH_LENGTH( alg ), 1631 ASSERT_ALLOC( output, PSA_HASH_LENGTH( alg ) ); 1658 output, PSA_HASH_LENGTH( alg ), 1687 ASSERT_ALLOC( output, PSA_HASH_LENGTH( alg ) ); 1694 TEST_EQUAL( psa_hash_finish( &operation, output, PSA_HASH_LENGTH( alg ), 1709 output, PSA_HASH_LENGTH( alg ), 1740 ASSERT_ALLOC( output, PSA_HASH_LENGTH( alg ) ); [all …]
|
D | test_suite_psa_crypto_metadata.function | 285 TEST_EQUAL( length, PSA_HASH_LENGTH( alg ) );
|
D | test_suite_psa_crypto.function | 1892 output, PSA_HASH_LENGTH( alg ), 1894 TEST_EQUAL( output_length, PSA_HASH_LENGTH( alg ) ); 1902 TEST_EQUAL( output_length, PSA_HASH_LENGTH( alg ) ); 2050 size_t expected_size = PSA_HASH_LENGTH( alg ); 2084 size_t expected_size = PSA_HASH_LENGTH( alg );
|
D | test_suite_psa_crypto.data | 4774 …0b0b0b0b":PSA_KEY_DERIVATION_INPUT_INFO:"f0f1f2f3f4f5f6f7f8f9":255 * PSA_HASH_LENGTH(PSA_ALG_SHA_2… 4778 …0c0c0c0c0c0c0c0c0c0c0c0c0c0c":PSA_KEY_DERIVATION_INPUT_INFO:"":255 * PSA_HASH_LENGTH(PSA_ALG_SHA_1… 4782 derive_set_capacity:PSA_ALG_HKDF(PSA_ALG_SHA_256):255 * PSA_HASH_LENGTH(PSA_ALG_SHA_256) + 1:PSA_ER… 4786 derive_set_capacity:PSA_ALG_HKDF(PSA_ALG_SHA_1):255 * PSA_HASH_LENGTH(PSA_ALG_SHA_1) + 1:PSA_ERROR_… 4806 …b0b0b0b0b":"000102030405060708090a0b0c":"f0f1f2f3f4f5f6f7f8f9":255 * PSA_HASH_LENGTH(PSA_ALG_SHA_2… 4810 …b0b0b0b0b":"000102030405060708090a0b0c":"f0f1f2f3f4f5f6f7f8f9":255 * PSA_HASH_LENGTH(PSA_ALG_SHA_2… 4814 …b0b0b0b0b":"000102030405060708090a0b0c":"f0f1f2f3f4f5f6f7f8f9":255 * PSA_HASH_LENGTH(PSA_ALG_SHA_2… 4818 …b0b0b0b0b":"000102030405060708090a0b0c":"f0f1f2f3f4f5f6f7f8f9":255 * PSA_HASH_LENGTH(PSA_ALG_SHA_2…
|
/third_party/mbedtls/library/ |
D | psa_crypto_hash.c | 326 size_t actual_hash_length = PSA_HASH_LENGTH( operation->alg ); in mbedtls_psa_hash_finish()
|
D | psa_crypto_mac.c | 49 size_t hash_size = PSA_HASH_LENGTH( hash_alg ); in psa_hmac_setup_internal()
|
D | psa_crypto.c | 4328 operation->mac_size = PSA_HASH_LENGTH( hash_alg ); in psa_key_derivation_start_hmac() 4447 uint8_t hash_length = PSA_HASH_LENGTH( hash_alg ); in psa_key_derivation_hkdf_read() 4522 uint8_t hash_length = PSA_HASH_LENGTH( hash_alg ); in psa_key_derivation_tls12_prf_generate_next_block() 4634 uint8_t hash_length = PSA_HASH_LENGTH( hash_alg ); in psa_key_derivation_tls12_prf_read() 4902 size_t hash_size = PSA_HASH_LENGTH( hash_alg ); in psa_key_derivation_setup_kdf() 5000 hkdf->offset_in_block = PSA_HASH_LENGTH( hash_alg ); in psa_hkdf_input()
|
/third_party/mbedtls/tests/src/ |
D | psa_exercise_key.c | 324 payload_length = PSA_HASH_LENGTH( hash_alg ); in exercise_signature_key()
|
/third_party/mbedtls/docs/ |
D | getting_started.md | 448 size_t expected_hash_len = PSA_HASH_LENGTH(alg); 485 The API provides the macro `PSA_HASH_LENGTH`, which returns the expected hash length (in bytes) for…
|