Searched refs:hash_operation (Results 1 – 3 of 3) sorted by relevance
/third_party/mbedtls/library/ |
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()
|
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()
|
D | ssl_tls.c | 6974 psa_hash_operation_t hash_operation = PSA_HASH_OPERATION_INIT; in mbedtls_ssl_get_key_exchange_md_tls1_2() local 6979 if( ( status = psa_hash_setup( &hash_operation, in mbedtls_ssl_get_key_exchange_md_tls1_2() 6986 if( ( status = psa_hash_update( &hash_operation, ssl->handshake->randbytes, in mbedtls_ssl_get_key_exchange_md_tls1_2() 6993 if( ( status = psa_hash_update( &hash_operation, in mbedtls_ssl_get_key_exchange_md_tls1_2() 7000 if( ( status = psa_hash_finish( &hash_operation, hash, PSA_HASH_MAX_SIZE, in mbedtls_ssl_get_key_exchange_md_tls1_2()
|