Lines Matching refs:dh
58 data->dh); in ikev2_derive_keys()
83 pad_len = data->dh->prime_len - wpabuf_len(shared); in ikev2_derive_keys()
200 transform_id == data->proposal.dh) in ikev2_parse_transform()
201 prop->dh = transform_id; in ikev2_parse_transform()
328 prop.dh = -1; in ikev2_process_sar1()
334 prop.encr != -1 && prop.dh != -1) { in ikev2_process_sar1()
357 data->proposal.integ, data->proposal.dh); in ikev2_process_sar1()
388 if (group != data->proposal.dh) { in ikev2_process_ker()
391 group, data->proposal.dh); in ikev2_process_ker()
395 if (data->dh == NULL) { in ikev2_process_ker()
404 if (ker_len - 4 != data->dh->prime_len) { in ikev2_process_ker()
407 (long) (ker_len - 4), (long) data->dh->prime_len); in ikev2_process_ker()
952 WPA_PUT_BE16(t->transform_id, data->proposal.dh); in ikev2_build_sai()
973 data->dh = dh_groups_get(data->proposal.dh); in ikev2_build_kei()
974 pv = dh_init(data->dh, &data->i_dh_private); in ikev2_build_kei()
985 wpabuf_put_be16(msg, data->proposal.dh); /* DH Group # */ in ikev2_build_kei()
991 wpabuf_put(msg, data->dh->prime_len - wpabuf_len(pv)); in ikev2_build_kei()