Searched refs:hash_operation (Results 1 – 3 of 3) sorted by relevance
/mbedtls-development/library/ |
A D | x509write_csr.c | 152 psa_hash_operation_t hash_operation = PSA_HASH_OPERATION_INIT; in x509write_csr_der_internal() local 222 if( psa_hash_setup( &hash_operation, hash_alg ) != PSA_SUCCESS ) in x509write_csr_der_internal() 225 if( psa_hash_update( &hash_operation, c, len ) != PSA_SUCCESS ) in x509write_csr_der_internal() 228 if( psa_hash_finish( &hash_operation, hash, sizeof( hash ), &hash_len ) in x509write_csr_der_internal()
|
A D | x509_crt.c | 2435 psa_hash_operation_t hash_operation = PSA_HASH_OPERATION_INIT; in x509_crt_check_signature() local 2438 if( psa_hash_setup( &hash_operation, hash_alg ) != PSA_SUCCESS ) in x509_crt_check_signature() 2441 if( psa_hash_update( &hash_operation, child->tbs.p, child->tbs.len ) in x509_crt_check_signature() 2447 if( psa_hash_finish( &hash_operation, hash, sizeof( hash ), &hash_len ) in x509_crt_check_signature()
|
A D | ssl_tls.c | 6929 psa_hash_operation_t hash_operation = PSA_HASH_OPERATION_INIT; in mbedtls_ssl_get_key_exchange_md_tls1_2() local 6934 if( ( status = psa_hash_setup( &hash_operation, in mbedtls_ssl_get_key_exchange_md_tls1_2() 6941 if( ( status = psa_hash_update( &hash_operation, ssl->handshake->randbytes, in mbedtls_ssl_get_key_exchange_md_tls1_2() 6948 if( ( status = psa_hash_update( &hash_operation, in mbedtls_ssl_get_key_exchange_md_tls1_2() 6955 if( ( status = psa_hash_finish( &hash_operation, hash, MBEDTLS_MD_MAX_SIZE, in mbedtls_ssl_get_key_exchange_md_tls1_2()
|
Completed in 19 milliseconds