Home
last modified time | relevance | path

Searched refs:integ_alg (Results 1 – 3 of 3) sorted by relevance

/external/wpa_supplicant_8/src/eap_common/
Dikev2_common.c438 const struct ikev2_integ_alg *integ_alg; in ikev2_decrypt_payload() local
455 integ_alg = ikev2_get_integ(integ_id); in ikev2_decrypt_payload()
456 if (integ_alg == NULL) { in ikev2_decrypt_payload()
461 if (encrypted_len < iv_len + 1 + integ_alg->hash_len) { in ikev2_decrypt_payload()
470 integ = end - integ_alg->hash_len; in ikev2_decrypt_payload()
483 if (os_memcmp_const(integ, hash, integ_alg->hash_len) != 0) { in ikev2_decrypt_payload()
538 const struct ikev2_integ_alg *integ_alg; in ikev2_build_encrypted() local
554 integ_alg = ikev2_get_integ(integ_id); in ikev2_build_encrypted()
555 if (integ_alg == NULL) { in ikev2_build_encrypted()
594 icv = wpabuf_put(msg, integ_alg->hash_len); in ikev2_build_encrypted()
[all …]
Deap_ikev2_common.c68 int eap_ikev2_validate_icv(int integ_alg, struct ikev2_keys *keys, in eap_ikev2_validate_icv() argument
77 integ = ikev2_get_integ(integ_alg); in eap_ikev2_validate_icv()
96 if (ikev2_integ_hash(integ_alg, SK_a, keys->SK_integ_len, in eap_ikev2_validate_icv()
Deap_ikev2_common.h25 int eap_ikev2_validate_icv(int integ_alg, struct ikev2_keys *keys,