5 #ifndef EAP_IKEV2_COMMON_H
6 #define EAP_IKEV2_COMMON_H
8 #define IKEV2_FLAGS_LENGTH_INCLUDED 0x80
9 #define IKEV2_FLAGS_MORE_FRAGMENTS 0x40
10 #define IKEV2_FLAGS_ICV_INCLUDED 0x20
12 #define IKEV2_FRAGMENT_SIZE 1400
16 int eap_ikev2_derive_keymat(
int prf,
struct ikev2_keys *keys,
17 const u8 *i_nonce,
size_t i_nonce_len,
18 const u8 *r_nonce,
size_t r_nonce_len,
20 struct wpabuf * eap_ikev2_build_frag_ack(u8
id, u8 code);
21 int eap_ikev2_validate_icv(
int integ_alg,
struct ikev2_keys *keys,
22 int initiator,
const struct wpabuf *msg,
23 const u8 *pos,
const u8 *end);
Definition: ikev2_common.h:235