Lines Matching refs:alg
36 const mbedtls_md_info_t *mbedtls_md_info_from_psa( psa_algorithm_t alg ) in mbedtls_md_info_from_psa() argument
38 switch( alg ) in mbedtls_md_info_from_psa()
81 switch( operation->alg ) in mbedtls_psa_hash_abort()
126 operation->alg = 0; in mbedtls_psa_hash_abort()
132 psa_algorithm_t alg ) in mbedtls_psa_hash_setup() argument
137 if( operation->alg != 0 ) in mbedtls_psa_hash_setup()
142 switch( alg ) in mbedtls_psa_hash_setup()
187 return( PSA_ALG_IS_HASH( alg ) ? in mbedtls_psa_hash_setup()
192 operation->alg = alg; in mbedtls_psa_hash_setup()
202 switch( source_operation->alg ) in mbedtls_psa_hash_clone()
254 target_operation->alg = source_operation->alg; in mbedtls_psa_hash_clone()
265 switch( operation->alg ) in mbedtls_psa_hash_update()
326 size_t actual_hash_length = PSA_HASH_LENGTH( operation->alg ); in mbedtls_psa_hash_finish()
343 switch( operation->alg ) in mbedtls_psa_hash_finish()
393 psa_algorithm_t alg, in mbedtls_psa_hash_compute() argument
405 status = mbedtls_psa_hash_setup( &operation, alg ); in mbedtls_psa_hash_compute()