Lines Matching refs:alg
560 psa_algorithm_t alg, in setup_psa_key_derivation() argument
567 status = psa_key_derivation_setup( derivation, alg ); in setup_psa_key_derivation()
571 if( PSA_ALG_IS_TLS12_PRF( alg ) || PSA_ALG_IS_TLS12_PSK_TO_MS( alg ) ) in setup_psa_key_derivation()
619 psa_algorithm_t alg; in tls_prf_generic() local
625 alg = PSA_ALG_TLS12_PRF(PSA_ALG_SHA_384); in tls_prf_generic()
627 alg = PSA_ALG_TLS12_PRF(PSA_ALG_SHA_256); in tls_prf_generic()
640 psa_set_key_algorithm( &key_attributes, alg ); in tls_prf_generic()
649 master_key, alg, in tls_prf_generic()
1659 psa_algorithm_t alg; in ssl_compute_master() local
1670 alg = PSA_ALG_TLS12_PSK_TO_MS(PSA_ALG_SHA_384); in ssl_compute_master()
1672 alg = PSA_ALG_TLS12_PSK_TO_MS(PSA_ALG_SHA_256); in ssl_compute_master()
1674 status = setup_psa_key_derivation( &derivation, psk, alg, in ssl_compute_master()