Searched refs:hash_operation (Results 1 – 3 of 3) sorted by relevance
/optee_os/lib/libmbedtls/mbedtls/library/ |
A D | x509write_csr.c | 151 psa_hash_operation_t hash_operation = PSA_HASH_OPERATION_INIT; in x509write_csr_der_internal() local 221 if( psa_hash_setup( &hash_operation, hash_alg ) != PSA_SUCCESS ) in x509write_csr_der_internal() 224 if( psa_hash_update( &hash_operation, c, len ) != PSA_SUCCESS ) in x509write_csr_der_internal() 227 if( psa_hash_finish( &hash_operation, hash, sizeof( hash ), &hash_len ) in x509write_csr_der_internal()
|
A D | x509_crt.c | 2443 psa_hash_operation_t hash_operation = PSA_HASH_OPERATION_INIT; in x509_crt_check_signature() local 2446 if( psa_hash_setup( &hash_operation, hash_alg ) != PSA_SUCCESS ) in x509_crt_check_signature() 2449 if( psa_hash_update( &hash_operation, child->tbs.p, child->tbs.len ) in x509_crt_check_signature() 2455 if( psa_hash_finish( &hash_operation, hash, sizeof( hash ), &hash_len ) in x509_crt_check_signature()
|
A D | ssl_tls.c | 7533 psa_hash_operation_t hash_operation = PSA_HASH_OPERATION_INIT; in mbedtls_ssl_get_key_exchange_md_tls1_2() local 7538 if( ( status = psa_hash_setup( &hash_operation, in mbedtls_ssl_get_key_exchange_md_tls1_2() 7545 if( ( status = psa_hash_update( &hash_operation, ssl->handshake->randbytes, in mbedtls_ssl_get_key_exchange_md_tls1_2() 7552 if( ( status = psa_hash_update( &hash_operation, in mbedtls_ssl_get_key_exchange_md_tls1_2() 7559 if( ( status = psa_hash_finish( &hash_operation, hash, MBEDTLS_MD_MAX_SIZE, in mbedtls_ssl_get_key_exchange_md_tls1_2()
|
Completed in 20 milliseconds