Home
last modified time | relevance | path

Searched refs:hash_length (Results 1 – 20 of 20) sorted by relevance

/openthread-3.6.0/third_party/mbedtls/repo/tests/src/drivers/
Dtest_driver_signature.c64 size_t hash_length, in sign_hash() argument
80 alg, hash, hash_length, in sign_hash()
87 alg, hash, hash_length, in sign_hash()
106 alg, hash, hash_length, in sign_hash()
113 alg, hash, hash_length, in sign_hash()
128 (void)hash_length; in sign_hash()
141 size_t hash_length, in verify_hash() argument
156 alg, hash, hash_length, in verify_hash()
163 alg, hash, hash_length, in verify_hash()
182 alg, hash, hash_length, in verify_hash()
[all …]
Dhash.c41 uint8_t *hash, size_t hash_size, size_t *hash_length ) in mbedtls_test_transparent_hash_compute() argument
57 hash, hash_size, hash_length ); in mbedtls_test_transparent_hash_compute()
62 hash, hash_size, hash_length ); in mbedtls_test_transparent_hash_compute()
69 (void) hash_length; in mbedtls_test_transparent_hash_compute()
175 size_t *hash_length ) in mbedtls_test_transparent_hash_finish() argument
190 operation, hash, hash_size, hash_length ); in mbedtls_test_transparent_hash_finish()
193 mbedtls_psa_hash_finish( operation, hash, hash_size, hash_length ); in mbedtls_test_transparent_hash_finish()
198 (void) hash_length; in mbedtls_test_transparent_hash_finish()
/openthread-3.6.0/third_party/mbedtls/repo/library/
Dpsa_crypto_rsa.c323 size_t hash_length, in psa_rsa_decode_md_type() argument
334 if( hash_length > UINT_MAX ) in psa_rsa_decode_md_type()
343 if( mbedtls_md_get_size( md_info ) != hash_length ) in psa_rsa_decode_md_type()
353 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, in mbedtls_psa_rsa_sign_hash() argument
368 status = psa_rsa_decode_md_type( alg, hash_length, &md_alg ); in mbedtls_psa_rsa_sign_hash()
388 (unsigned int) hash_length, in mbedtls_psa_rsa_sign_hash()
403 (unsigned int) hash_length, in mbedtls_psa_rsa_sign_hash()
428 size_t hash_length ) in rsa_pss_expected_salt_len() argument
435 int hlen = (int) hash_length; // known to fit in rsa_pss_expected_salt_len()
449 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, in mbedtls_psa_rsa_verify_hash() argument
[all …]
Dpsa_crypto_hash.h69 size_t *hash_length);
205 size_t *hash_length );
Dpsa_crypto_hash.c376 size_t *hash_length ) in mbedtls_psa_hash_finish() argument
385 *hash_length = hash_size; in mbedtls_psa_hash_finish()
452 *hash_length = actual_hash_length; in mbedtls_psa_hash_finish()
462 size_t *hash_length) in mbedtls_psa_hash_compute() argument
468 *hash_length = hash_size; in mbedtls_psa_hash_compute()
475 status = mbedtls_psa_hash_finish( &operation, hash, hash_size, hash_length ); in mbedtls_psa_hash_compute()
Dpsa_crypto_driver_wrappers.c257 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, in psa_driver_wrapper_sign_hash() argument
275 alg, hash, hash_length, in psa_driver_wrapper_sign_hash()
296 hash_length, in psa_driver_wrapper_sign_hash()
311 hash_length, in psa_driver_wrapper_sign_hash()
325 hash_length, in psa_driver_wrapper_sign_hash()
341 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, in psa_driver_wrapper_verify_hash() argument
359 alg, hash, hash_length, in psa_driver_wrapper_verify_hash()
381 hash_length, in psa_driver_wrapper_verify_hash()
395 hash_length, in psa_driver_wrapper_verify_hash()
408 hash_length, in psa_driver_wrapper_verify_hash()
[all …]
Dpsa_crypto_rsa.h176 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length,
212 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length,
Dpsa_crypto_ecp.h184 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length,
219 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length,
Dpsa_crypto_driver_wrappers.h61 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length,
67 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length,
173 size_t *hash_length);
192 size_t *hash_length );
Dpsa_crypto_ecp.c339 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, in mbedtls_psa_ecdsa_sign_hash() argument
375 hash_length, md_alg, in mbedtls_psa_ecdsa_sign_hash()
387 hash, hash_length, in mbedtls_psa_ecdsa_sign_hash()
413 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, in mbedtls_psa_ecdsa_verify_hash() argument
457 ret = mbedtls_ecdsa_verify( &ecp->grp, hash, hash_length, in mbedtls_psa_ecdsa_verify_hash()
Dpsa_crypto.c2216 size_t *hash_length ) in psa_hash_finish() argument
2218 *hash_length = 0; in psa_hash_finish()
2223 operation, hash, hash_size, hash_length ); in psa_hash_finish()
2230 size_t hash_length ) in psa_hash_verify() argument
2242 if( actual_hash_length != hash_length ) in psa_hash_verify()
2262 size_t *hash_length ) in psa_hash_compute() argument
2264 *hash_length = 0; in psa_hash_compute()
2269 hash, hash_size, hash_length ) ); in psa_hash_compute()
2274 const uint8_t *hash, size_t hash_length ) in psa_hash_compare() argument
2288 if( actual_hash_length != hash_length ) in psa_hash_compare()
[all …]
Dpsa_crypto_core.h497 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length,
532 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length,
/openthread-3.6.0/third_party/mbedtls/repo/tests/include/test/drivers/
Dsignature.h103 const uint8_t *hash, size_t hash_length,
110 const uint8_t *hash, size_t hash_length,
117 const uint8_t *hash, size_t hash_length,
124 const uint8_t *hash, size_t hash_length,
Dhash.h55 uint8_t *hash, size_t hash_size, size_t *hash_length );
74 size_t *hash_length );
/openthread-3.6.0/third_party/mbedtls/repo/include/psa/
Dcrypto.h878 size_t *hash_length);
913 size_t hash_length);
1087 size_t *hash_length);
1128 size_t hash_length);
3058 size_t hash_length,
3109 size_t hash_length,
Dcrypto_compat.h132 size_t hash_length, in psa_asymmetric_sign() argument
137 … return psa_sign_hash( key, alg, hash, hash_length, signature, signature_size, signature_length ); in psa_asymmetric_sign()
143 size_t hash_length, in psa_asymmetric_verify() argument
147 return psa_verify_hash( key, alg, hash, hash_length, signature, signature_length ); in psa_asymmetric_verify()
Dcrypto_se_driver.h562 size_t hash_length,
588 size_t hash_length,
/openthread-3.6.0/third_party/mbedtls/repo/tests/suites/
Dtest_suite_psa_crypto_se_driver_hal_mocks.function60 size_t hash_length;
70 size_t hash_length;
210 size_t hash_length,
223 mock_sign_data.hash_length = hash_length;
233 size_t hash_length,
244 mock_verify_data.hash_length = hash_length;
Dtest_suite_psa_crypto_se_driver_hal.function446 size_t hash_length,
468 hash, hash_length,
480 size_t hash_length,
502 hash, hash_length,
/openthread-3.6.0/third_party/mbedtls/repo/docs/proposed/
Dpsa-driver-interface.md272 size_t *hash_length);