Home
last modified time | relevance | path

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

/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Dx509write_csr.c151 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 Dx509_crt.c2441 psa_hash_operation_t hash_operation = PSA_HASH_OPERATION_INIT; in x509_crt_check_signature() local
2444 if( psa_hash_setup( &hash_operation, hash_alg ) != PSA_SUCCESS ) in x509_crt_check_signature()
2447 if( psa_hash_update( &hash_operation, child->tbs.p, child->tbs.len ) in x509_crt_check_signature()
2453 if( psa_hash_finish( &hash_operation, hash, sizeof( hash ), &hash_len ) in x509_crt_check_signature()
A Dssl_tls.c7625 psa_hash_operation_t hash_operation = PSA_HASH_OPERATION_INIT; in mbedtls_ssl_get_key_exchange_md_tls1_2() local
7630 if( ( status = psa_hash_setup( &hash_operation, in mbedtls_ssl_get_key_exchange_md_tls1_2()
7637 if( ( status = psa_hash_update( &hash_operation, ssl->handshake->randbytes, in mbedtls_ssl_get_key_exchange_md_tls1_2()
7644 if( ( status = psa_hash_update( &hash_operation, in mbedtls_ssl_get_key_exchange_md_tls1_2()
7651 if( ( status = psa_hash_finish( &hash_operation, hash, PSA_HASH_MAX_SIZE, in mbedtls_ssl_get_key_exchange_md_tls1_2()

Completed in 34 milliseconds