Lines Matching refs:dh
54 data->dh); in ikev2_derive_keys()
78 pad_len = data->dh->prime_len - wpabuf_len(shared); in ikev2_derive_keys()
192 prop->dh = transform_id; in ikev2_parse_transform()
320 prop.dh = -1; in ikev2_process_sai1()
326 prop.encr != -1 && prop.dh != -1) { in ikev2_process_sai1()
328 data->dh = dh_groups_get(prop.dh); in ikev2_process_sai1()
348 data->proposal.integ, data->proposal.dh); in ikev2_process_sai1()
379 if (group != data->proposal.dh) { in ikev2_process_kei()
382 group, data->proposal.dh); in ikev2_process_kei()
390 if (data->dh == NULL) { in ikev2_process_kei()
399 if (kei_len - 4 != data->dh->prime_len) { in ikev2_process_kei()
402 (long) (kei_len - 4), (long) data->dh->prime_len); in ikev2_process_kei()
887 WPA_PUT_BE16(t->transform_id, data->proposal.dh); in ikev2_build_sar1()
908 pv = dh_init(data->dh, &data->r_dh_private); in ikev2_build_ker()
919 wpabuf_put_be16(msg, data->proposal.dh); /* DH Group # */ in ikev2_build_ker()
925 wpabuf_put(msg, data->dh->prime_len - wpabuf_len(pv)); in ikev2_build_ker()
1044 if (data->proposal.dh == -1) { in ikev2_build_notification()
1049 wpabuf_put_be16(msg, data->proposal.dh); in ikev2_build_notification()
1051 "DH Group #%d", data->proposal.dh); in ikev2_build_notification()