20 enum { SA_INIT, SA_AUTH, CHILD_SA, IKEV2_DONE } state;
21 u8 i_spi[IKEV2_SPI_LEN];
22 u8 r_spi[IKEV2_SPI_LEN];
23 u8 i_nonce[IKEV2_NONCE_MAX_LEN];
25 u8 r_nonce[IKEV2_NONCE_MAX_LEN];
27 struct wpabuf *r_dh_public;
28 struct wpabuf *i_dh_private;
40 size_t shared_secret_len;
41 enum { PEER_AUTH_CERT, PEER_AUTH_SECRET } peer_auth;
45 const u8 * (*get_shared_secret)(
void *ctx,
const u8 *IDr,
46 size_t IDr_len,
size_t *secret_len);
Definition: dh_groups.h:8
Definition: ikev2_common.h:235