Home
last modified time | relevance | path

Searched refs:hash_operation (Results 1 – 2 of 2) sorted by relevance

/openthread-latest/third_party/mbedtls/repo/programs/psa/
Dpsa_hash.c64 psa_hash_operation_t hash_operation = PSA_HASH_OPERATION_INIT; in main() local
76 status = psa_hash_setup(&hash_operation, HASH_ALG); in main()
85 status = psa_hash_update(&hash_operation, sample_message, sample_message_length); in main()
91 status = psa_hash_clone(&hash_operation, &cloned_hash_operation); in main()
97 status = psa_hash_finish(&hash_operation, hash, sizeof(hash), &hash_length); in main()
155 psa_hash_abort(&hash_operation); in main()
/openthread-latest/third_party/mbedtls/repo/library/
Dssl_tls.c6421 psa_hash_operation_t hash_operation = psa_hash_operation_init(); in mbedtls_ssl_get_handshake_transcript() local
6442 status = psa_hash_clone(hash_operation_to_clone, &hash_operation); in mbedtls_ssl_get_handshake_transcript()
6447 status = psa_hash_finish(&hash_operation, dst, dst_len, olen); in mbedtls_ssl_get_handshake_transcript()
9333 psa_hash_operation_t hash_operation = PSA_HASH_OPERATION_INIT; in mbedtls_ssl_get_key_exchange_md_tls1_2() local
9338 if ((status = psa_hash_setup(&hash_operation, in mbedtls_ssl_get_key_exchange_md_tls1_2()
9344 if ((status = psa_hash_update(&hash_operation, ssl->handshake->randbytes, in mbedtls_ssl_get_key_exchange_md_tls1_2()
9350 if ((status = psa_hash_update(&hash_operation, in mbedtls_ssl_get_key_exchange_md_tls1_2()
9356 if ((status = psa_hash_finish(&hash_operation, hash, PSA_HASH_MAX_SIZE, in mbedtls_ssl_get_key_exchange_md_tls1_2()