• Home
  • Raw
  • Download

Lines Matching refs:prf

37 	const struct ikev2_prf_alg *prf;  in ikev2_derive_keys()  local
46 prf = ikev2_get_prf(data->proposal.prf); in ikev2_derive_keys()
48 if (integ == NULL || prf == NULL || encr == NULL) { in ikev2_derive_keys()
107 if (ikev2_prf_hash(prf->id, buf, data->i_nonce_len + data->r_nonce_len, in ikev2_derive_keys()
124 skeyseed, prf->hash_len); in ikev2_derive_keys()
126 ret = ikev2_derive_sk_keys(prf, integ, encr, skeyseed, buf, buf_len, in ikev2_derive_keys()
210 prop->prf = transform_id; in ikev2_parse_transform()
344 prop.prf = -1; in ikev2_process_sai1()
351 if (!found && prop.integ != -1 && prop.prf != -1 && in ikev2_process_sai1()
373 data->proposal.encr, data->proposal.prf, in ikev2_process_sai1()
574 const struct ikev2_prf_alg *prf; in ikev2_process_auth_secret() local
583 if (ikev2_derive_auth_data(data->proposal.prf, data->i_sign_msg, in ikev2_process_auth_secret()
597 prf = ikev2_get_prf(data->proposal.prf); in ikev2_process_auth_secret()
598 if (prf == NULL) in ikev2_process_auth_secret()
601 if (auth_len != prf->hash_len || in ikev2_process_auth_secret()
607 auth_data, prf->hash_len); in ikev2_process_auth_secret()
923 WPA_PUT_BE16(t->transform_id, data->proposal.prf); in ikev2_build_sar1()
1032 const struct ikev2_prf_alg *prf; in ikev2_build_auth() local
1036 prf = ikev2_get_prf(data->proposal.prf); in ikev2_build_auth()
1037 if (prf == NULL) in ikev2_build_auth()
1048 if (ikev2_derive_auth_data(data->proposal.prf, data->r_sign_msg, in ikev2_build_auth()
1054 wpabuf_put(msg, prf->hash_len)) < 0) { in ikev2_build_auth()