Lines Matching defs:alg
692 /* Then manually usage, alg and alg2 as requested by the test. */
1265 psa_algorithm_t alg;
1362 alg = mbedtls_md_psa_alg_from_type(hash_id);
1364 CHK(alg != 0);
1366 t_out->psa_mac_alg = PSA_ALG_HMAC(alg);
1367 t_in->psa_mac_alg = PSA_ALG_HMAC(alg);
1375 psa_set_key_algorithm(&attributes, PSA_ALG_HMAC(alg));
1539 &alg,
1548 t_in->psa_alg = alg;
1549 t_out->psa_alg = alg;
1551 if (alg != MBEDTLS_SSL_NULL_CIPHER) {
1554 psa_set_key_algorithm(&attributes, alg);