Lines Matching refs:alg
24 switch (operation->alg) { in mbedtls_psa_hash_abort()
87 operation->alg = 0; in mbedtls_psa_hash_abort()
93 psa_algorithm_t alg) in mbedtls_psa_hash_setup() argument
98 if (operation->alg != 0) { in mbedtls_psa_hash_setup()
102 switch (alg) { in mbedtls_psa_hash_setup()
170 return PSA_ALG_IS_HASH(alg) ? in mbedtls_psa_hash_setup()
175 operation->alg = alg; in mbedtls_psa_hash_setup()
186 switch (source_operation->alg) { in mbedtls_psa_hash_clone()
257 target_operation->alg = source_operation->alg; in mbedtls_psa_hash_clone()
268 switch (operation->alg) { in mbedtls_psa_hash_update()
348 size_t actual_hash_length = PSA_HASH_LENGTH(operation->alg); in mbedtls_psa_hash_finish()
365 switch (operation->alg) { in mbedtls_psa_hash_finish()
434 psa_algorithm_t alg, in mbedtls_psa_hash_compute() argument
446 status = mbedtls_psa_hash_setup(&operation, alg); in mbedtls_psa_hash_compute()