Lines Matching refs:kdf_alg
4357 psa_algorithm_t kdf_alg = psa_key_derivation_get_kdf_alg( operation ); in psa_key_derivation_abort() local
4358 if( kdf_alg == 0 ) in psa_key_derivation_abort()
4366 if( PSA_ALG_IS_HKDF( kdf_alg ) ) in psa_key_derivation_abort()
4375 if( PSA_ALG_IS_TLS12_PRF( kdf_alg ) || in psa_key_derivation_abort()
4377 PSA_ALG_IS_TLS12_PSK_TO_MS( kdf_alg ) ) in psa_key_derivation_abort()
4685 psa_algorithm_t kdf_alg = psa_key_derivation_get_kdf_alg( operation ); in psa_key_derivation_output_bytes() local
4714 if( PSA_ALG_IS_HKDF( kdf_alg ) ) in psa_key_derivation_output_bytes()
4716 psa_algorithm_t hash_alg = PSA_ALG_HKDF_GET_HASH( kdf_alg ); in psa_key_derivation_output_bytes()
4724 if( PSA_ALG_IS_TLS12_PRF( kdf_alg ) || in psa_key_derivation_output_bytes()
4725 PSA_ALG_IS_TLS12_PSK_TO_MS( kdf_alg ) ) in psa_key_derivation_output_bytes()
4728 kdf_alg, output, in psa_key_derivation_output_bytes()
4735 (void) kdf_alg; in psa_key_derivation_output_bytes()
4873 psa_algorithm_t kdf_alg ) in psa_key_derivation_setup_kdf() argument
4883 if( PSA_ALG_IS_HKDF( kdf_alg ) ) in psa_key_derivation_setup_kdf()
4888 if( PSA_ALG_IS_TLS12_PRF( kdf_alg ) ) in psa_key_derivation_setup_kdf()
4893 if( PSA_ALG_IS_TLS12_PSK_TO_MS( kdf_alg ) ) in psa_key_derivation_setup_kdf()
4901 psa_algorithm_t hash_alg = PSA_ALG_HKDF_GET_HASH( kdf_alg ); in psa_key_derivation_setup_kdf()
4905 if( ( PSA_ALG_IS_TLS12_PRF( kdf_alg ) || in psa_key_derivation_setup_kdf()
4906 PSA_ALG_IS_TLS12_PSK_TO_MS( kdf_alg ) ) && in psa_key_derivation_setup_kdf()
4932 psa_algorithm_t kdf_alg = PSA_ALG_KEY_AGREEMENT_GET_KDF( alg ); in psa_key_derivation_setup() local
4933 status = psa_key_derivation_setup_kdf( operation, kdf_alg ); in psa_key_derivation_setup()
5206 psa_algorithm_t kdf_alg = psa_key_derivation_get_kdf_alg( operation ); in psa_key_derivation_input_internal() local
5213 if( PSA_ALG_IS_HKDF( kdf_alg ) ) in psa_key_derivation_input_internal()
5216 PSA_ALG_HKDF_GET_HASH( kdf_alg ), in psa_key_derivation_input_internal()
5222 if( PSA_ALG_IS_TLS12_PRF( kdf_alg ) ) in psa_key_derivation_input_internal()
5230 if( PSA_ALG_IS_TLS12_PSK_TO_MS( kdf_alg ) ) in psa_key_derivation_input_internal()
5241 (void) kdf_alg; in psa_key_derivation_input_internal()