/openthread-3.6.0/third_party/mbedtls/repo/tests/src/drivers/ |
D | test_driver_signature.c | 64 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 …]
|
D | hash.c | 41 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/ |
D | psa_crypto_rsa.c | 323 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 …]
|
D | psa_crypto_hash.h | 69 size_t *hash_length); 205 size_t *hash_length );
|
D | psa_crypto_hash.c | 376 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()
|
D | psa_crypto_driver_wrappers.c | 257 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 …]
|
D | psa_crypto_rsa.h | 176 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,
|
D | psa_crypto_ecp.h | 184 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,
|
D | psa_crypto_driver_wrappers.h | 61 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 );
|
D | psa_crypto_ecp.c | 339 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()
|
D | psa_crypto.c | 2216 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 …]
|
D | psa_crypto_core.h | 497 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/ |
D | signature.h | 103 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,
|
D | hash.h | 55 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/ |
D | crypto.h | 878 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,
|
D | crypto_compat.h | 132 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()
|
D | crypto_se_driver.h | 562 size_t hash_length, 588 size_t hash_length,
|
/openthread-3.6.0/third_party/mbedtls/repo/tests/suites/ |
D | test_suite_psa_crypto_se_driver_hal_mocks.function | 60 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;
|
D | test_suite_psa_crypto_se_driver_hal.function | 446 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/ |
D | psa-driver-interface.md | 272 size_t *hash_length);
|