Searched refs:integ (Results 1 – 9 of 9) sorted by relevance
/hostap-3.7.0/src/eap_common/ |
D | eap_ikev2_common.c | 72 const struct ikev2_integ_alg *integ; in eap_ikev2_validate_icv() local 77 integ = ikev2_get_integ(integ_alg); in eap_ikev2_validate_icv() 78 if (integ == NULL) { in eap_ikev2_validate_icv() 83 icv_len = integ->hash_len; in eap_ikev2_validate_icv()
|
D | ikev2_common.c | 435 const u8 *pos, *end, *iv, *integ; in ikev2_decrypt_payload() local 470 integ = end - integ_alg->hash_len; in ikev2_decrypt_payload() 478 integ - (const u8 *) hdr, hash) < 0) { in ikev2_decrypt_payload() 483 if (os_memcmp_const(integ, hash, integ_alg->hash_len) != 0) { in ikev2_decrypt_payload() 494 decrypted_len = integ - pos; in ikev2_decrypt_payload() 630 const struct ikev2_integ_alg *integ, in ikev2_derive_sk_keys() argument 644 keys->SK_integ_len = integ->key_len; in ikev2_derive_sk_keys()
|
D | ikev2_common.h | 329 const struct ikev2_integ_alg *integ,
|
/hostap-3.7.0/src/eap_peer/ |
D | ikev2.c | 36 const struct ikev2_integ_alg *integ; in ikev2_derive_keys() local 45 integ = ikev2_get_integ(data->proposal.integ); in ikev2_derive_keys() 48 if (integ == NULL || prf == NULL || encr == NULL) { in ikev2_derive_keys() 109 ret = ikev2_derive_sk_keys(prf, integ, encr, skeyseed, buf, buf_len, in ikev2_derive_keys() 188 prop->integ = transform_id; in ikev2_parse_transform() 319 prop.integ = -1; in ikev2_process_sai1() 327 if (!found && prop.integ != -1 && prop.prf != -1 && in ikev2_process_sai1() 350 data->proposal.integ, data->proposal.dh); in ikev2_process_sai1() 656 data->proposal.integ, in ikev2_process_sa_auth() 883 WPA_PUT_BE16(t->transform_id, data->proposal.integ); in ikev2_build_sar1() [all …]
|
D | eap_ikev2.c | 160 const struct ikev2_integ_alg *integ; in eap_ikev2_build_msg() local 164 integ = ikev2_get_integ(data->ikev2.proposal.integ); in eap_ikev2_build_msg() 165 if (integ == NULL) { in eap_ikev2_build_msg() 170 icv_len = integ->hash_len; in eap_ikev2_build_msg() 190 ikev2_integ_hash(data->ikev2.proposal.integ, in eap_ikev2_build_msg() 251 data->ikev2.proposal.integ, &data->ikev2.keys, 1, in eap_ikev2_process_icv()
|
D | ikev2.h | 16 int integ; member
|
/hostap-3.7.0/src/eap_server/ |
D | ikev2.c | 40 const struct ikev2_integ_alg *integ; in ikev2_derive_keys() local 49 integ = ikev2_get_integ(data->proposal.integ); in ikev2_derive_keys() 52 if (integ == NULL || prf == NULL || encr == NULL) { in ikev2_derive_keys() 113 ret = ikev2_derive_sk_keys(prf, integ, encr, skeyseed, buf, buf_len, in ikev2_derive_keys() 195 transform_id == data->proposal.integ) in ikev2_parse_transform() 196 prop->integ = transform_id; in ikev2_parse_transform() 325 prop.integ = -1; in ikev2_process_sar1() 333 if (!found && prop.integ != -1 && prop.prf != -1 && in ikev2_process_sar1() 357 data->proposal.integ, data->proposal.dh); in ikev2_process_sar1() 457 data->proposal.integ, &data->keys, 0, in ikev2_process_sa_init_encr() [all …]
|
D | eap_server_ikev2.c | 101 data->ikev2.proposal.integ = AUTH_HMAC_SHA1_96; in eap_ikev2_init() 156 const struct ikev2_integ_alg *integ; in eap_ikev2_build_msg() local 160 integ = ikev2_get_integ(data->ikev2.proposal.integ); in eap_ikev2_build_msg() 161 if (integ == NULL) { in eap_ikev2_build_msg() 166 icv_len = integ->hash_len; in eap_ikev2_build_msg() 186 ikev2_integ_hash(data->ikev2.proposal.integ, in eap_ikev2_build_msg() 263 data->ikev2.proposal.integ, &data->ikev2.keys, 0, in eap_ikev2_process_icv()
|
D | ikev2.h | 16 int integ; member
|