Home
last modified time | relevance | path

Searched refs:hash_size (Results 1 – 12 of 12) sorted by relevance

/mbedtls-development/library/
A Dpsa_crypto_hash.c354 size_t hash_size, in hash_finish() argument
364 *hash_length = hash_size; in hash_finish()
367 if( hash_size != 0 ) in hash_finish()
368 memset( hash, '!', hash_size ); in hash_finish()
370 if( hash_size < actual_hash_length ) in hash_finish()
430 size_t hash_size, in hash_compute() argument
437 *hash_length = hash_size; in hash_compute()
464 size_t hash_size, in mbedtls_psa_hash_compute() argument
496 size_t hash_size, in mbedtls_psa_hash_finish() argument
556 size_t hash_size, in mbedtls_transparent_test_driver_hash_compute() argument
[all …]
A Dpsa_crypto_hash.h68 size_t hash_size,
204 size_t hash_size,
245 size_t hash_size,
264 size_t hash_size,
A Dpsa_crypto_mac.c60 size_t hash_size = PSA_HASH_LENGTH( hash_alg ); in psa_hmac_setup_internal() local
76 if( block_size < hash_size ) in psa_hmac_setup_internal()
132 size_t hash_size = 0; in psa_hmac_finish_internal() local
136 status = psa_hash_finish( &hmac->hash_ctx, tmp, sizeof( tmp ), &hash_size ); in psa_hmac_finish_internal()
149 status = psa_hash_update( &hmac->hash_ctx, tmp, hash_size ); in psa_hmac_finish_internal()
153 status = psa_hash_finish( &hmac->hash_ctx, tmp, sizeof( tmp ), &hash_size ); in psa_hmac_finish_internal()
160 mbedtls_platform_zeroize( tmp, hash_size ); in psa_hmac_finish_internal()
A Dpsa_crypto_driver_wrappers.c1304 size_t hash_size, in psa_driver_wrapper_hash_compute() argument
1312 alg, input, input_length, hash, hash_size, hash_length ); in psa_driver_wrapper_hash_compute()
1320 hash, hash_size, hash_length ); in psa_driver_wrapper_hash_compute()
1329 (void) hash_size; in psa_driver_wrapper_hash_compute()
1421 size_t hash_size, in psa_driver_wrapper_hash_finish() argument
1429 hash, hash_size, hash_length ) ); in psa_driver_wrapper_hash_finish()
1435 hash, hash_size, hash_length ) ); in psa_driver_wrapper_hash_finish()
1439 (void) hash_size; in psa_driver_wrapper_hash_finish()
A Dpsa_crypto_driver_wrappers.h175 size_t hash_size,
194 size_t hash_size,
A Dpsa_crypto.c2179 size_t hash_size, in psa_hash_finish() argument
2187 operation, hash, hash_size, hash_length ); in psa_hash_finish()
2224 uint8_t *hash, size_t hash_size, in psa_hash_compute() argument
2232 hash, hash_size, hash_length ) ); in psa_hash_compute()
4830 size_t hash_size = PSA_HASH_LENGTH( hash_alg ); in psa_key_derivation_setup_kdf() local
4831 if( hash_size == 0 ) in psa_key_derivation_setup_kdf()
4839 operation->capacity = 255 * hash_size; in psa_key_derivation_setup_kdf()
A Dssl_tls.c1336 size_t hash_size; in ssl_calc_verify_tls_sha256() local
1348 status = psa_hash_finish( &sha256_psa, hash, 32, &hash_size ); in ssl_calc_verify_tls_sha256()
1385 size_t hash_size; in ssl_calc_verify_tls_sha384() local
1397 status = psa_hash_finish( &sha384_psa, hash, 48, &hash_size ); in ssl_calc_verify_tls_sha384()
2501 size_t hash_size; in ssl_calc_finished_tls_sha256() local
2528 status = psa_hash_finish( &sha256_psa, padbuf, sizeof( padbuf ), &hash_size ); in ssl_calc_finished_tls_sha256()
2578 size_t hash_size; in ssl_calc_finished_tls_sha384() local
2605 status = psa_hash_finish( &sha384_psa, padbuf, sizeof( padbuf ), &hash_size ); in ssl_calc_finished_tls_sha384()
A Dssl_msg.c1123 const size_t hash_size = mbedtls_md_get_size( ctx->md_info ); in mbedtls_ssl_cf_hmac() local
1152 mbedtls_ssl_cf_memcpy_if_eq( output, aux_out, hash_size, in mbedtls_ssl_cf_hmac()
1165 MD_CHK( mbedtls_md_update( ctx, output, hash_size ) ); in mbedtls_ssl_cf_hmac()
/mbedtls-development/tests/src/drivers/
A Dhash.c33 uint8_t *hash, size_t hash_size, size_t *hash_length ) in mbedtls_test_transparent_hash_compute() argument
47 hash, hash_size, hash_length ); in mbedtls_test_transparent_hash_compute()
119 size_t hash_size, in mbedtls_test_transparent_hash_finish() argument
133 operation, hash, hash_size, hash_length ); in mbedtls_test_transparent_hash_finish()
/mbedtls-development/tests/include/test/drivers/
A Dhash.h51 uint8_t *hash, size_t hash_size, size_t *hash_length );
69 size_t hash_size,
/mbedtls-development/include/psa/
A Dcrypto.h871 size_t hash_size,
1074 size_t hash_size,
/mbedtls-development/docs/proposed/
A Dpsa-driver-interface.md271 size_t hash_size,

Completed in 42 milliseconds