Home
last modified time | relevance | path

Searched refs:IKEV2_SPI_LEN (Results 1 – 5 of 5) sorted by relevance

/external/wpa_supplicant_8/src/eap_peer/
Dikev2.c60 buf_len = data->i_nonce_len + data->r_nonce_len + 2 * IKEV2_SPI_LEN; in ikev2_derive_keys()
72 os_memcpy(pos, data->i_spi, IKEV2_SPI_LEN); in ikev2_derive_keys()
73 pos += IKEV2_SPI_LEN; in ikev2_derive_keys()
74 os_memcpy(pos, data->r_spi, IKEV2_SPI_LEN); in ikev2_derive_keys()
451 os_memcpy(data->i_spi, hdr->i_spi, IKEV2_SPI_LEN); in ikev2_process_sa_init()
746 hdr->i_spi, IKEV2_SPI_LEN); in ikev2_responder_process()
748 hdr->r_spi, IKEV2_SPI_LEN); in ikev2_responder_process()
779 if (os_memcmp(data->i_spi, hdr->i_spi, IKEV2_SPI_LEN) != 0) { in ikev2_responder_process()
784 if (os_memcmp(data->r_spi, hdr->r_spi, IKEV2_SPI_LEN) != 0) { in ikev2_responder_process()
829 os_memcpy(hdr->i_spi, data->i_spi, IKEV2_SPI_LEN); in ikev2_build_hdr()
[all …]
Dikev2.h26 u8 i_spi[IKEV2_SPI_LEN];
27 u8 r_spi[IKEV2_SPI_LEN];
/external/wpa_supplicant_8/src/eap_server/
Dikev2.c64 buf_len = data->i_nonce_len + data->r_nonce_len + 2 * IKEV2_SPI_LEN; in ikev2_derive_keys()
76 os_memcpy(pos, data->i_spi, IKEV2_SPI_LEN); in ikev2_derive_keys()
77 pos += IKEV2_SPI_LEN; in ikev2_derive_keys()
78 os_memcpy(pos, data->r_spi, IKEV2_SPI_LEN); in ikev2_derive_keys()
490 os_memcpy(data->r_spi, hdr->r_spi, IKEV2_SPI_LEN); in ikev2_process_sa_init()
814 hdr->i_spi, IKEV2_SPI_LEN); in ikev2_initiator_process()
816 hdr->r_spi, IKEV2_SPI_LEN); in ikev2_initiator_process()
847 if (os_memcmp(data->i_spi, hdr->i_spi, IKEV2_SPI_LEN) != 0) { in ikev2_initiator_process()
852 if (os_memcmp(data->r_spi, hdr->r_spi, IKEV2_SPI_LEN) != 0) { in ikev2_initiator_process()
893 os_memcpy(hdr->i_spi, data->i_spi, IKEV2_SPI_LEN); in ikev2_build_hdr()
[all …]
Dikev2.h25 u8 i_spi[IKEV2_SPI_LEN];
26 u8 r_spi[IKEV2_SPI_LEN];
/external/wpa_supplicant_8/src/eap_common/
Dikev2_common.h24 #define IKEV2_SPI_LEN 8 macro
27 u8 i_spi[IKEV2_SPI_LEN]; /* IKE_SA Initiator's SPI */
28 u8 r_spi[IKEV2_SPI_LEN]; /* IKE_SA Responder's SPI */