Searched refs:i_nonce_len (Results 1 - 25 of 27) sorted by relevance

12

/external/wpa_supplicant_8/hostapd/src/eap_common/
H A Deap_ikev2_common.c19 const u8 *i_nonce, size_t i_nonce_len,
30 nlen = i_nonce_len + r_nonce_len;
34 os_memcpy(nonces, i_nonce, i_nonce_len);
35 os_memcpy(nonces + i_nonce_len, r_nonce, r_nonce_len);
18 eap_ikev2_derive_keymat(int prf, struct ikev2_keys *keys, const u8 *i_nonce, size_t i_nonce_len, const u8 *r_nonce, size_t r_nonce_len, u8 *keymat) argument
H A Deap_ikev2_common.h21 const u8 *i_nonce, size_t i_nonce_len,
/external/wpa_supplicant_8/src/eap_common/
H A Deap_ikev2_common.c19 const u8 *i_nonce, size_t i_nonce_len,
30 nlen = i_nonce_len + r_nonce_len;
34 os_memcpy(nonces, i_nonce, i_nonce_len);
35 os_memcpy(nonces + i_nonce_len, r_nonce, r_nonce_len);
18 eap_ikev2_derive_keymat(int prf, struct ikev2_keys *keys, const u8 *i_nonce, size_t i_nonce_len, const u8 *r_nonce, size_t r_nonce_len, u8 *keymat) argument
H A Deap_ikev2_common.h21 const u8 *i_nonce, size_t i_nonce_len,
/external/wpa_supplicant_8/wpa_supplicant/src/eap_common/
H A Deap_ikev2_common.c19 const u8 *i_nonce, size_t i_nonce_len,
30 nlen = i_nonce_len + r_nonce_len;
34 os_memcpy(nonces, i_nonce, i_nonce_len);
35 os_memcpy(nonces + i_nonce_len, r_nonce, r_nonce_len);
18 eap_ikev2_derive_keymat(int prf, struct ikev2_keys *keys, const u8 *i_nonce, size_t i_nonce_len, const u8 *r_nonce, size_t r_nonce_len, u8 *keymat) argument
H A Deap_ikev2_common.h21 const u8 *i_nonce, size_t i_nonce_len,
/external/wpa_supplicant_8/hostapd/src/eap_peer/
H A Dikev2.h29 size_t i_nonce_len; member in struct:ikev2_responder_data
H A Deap_ikev2.c122 data->ikev2.i_nonce, data->ikev2.i_nonce_len,
491 sid_len = 1 + data->ikev2.i_nonce_len + data->ikev2.r_nonce_len;
498 data->ikev2.i_nonce_len);
499 offset += data->ikev2.i_nonce_len;
H A Dikev2.c60 buf_len = data->i_nonce_len + data->r_nonce_len + 2 * IKEV2_SPI_LEN;
68 os_memcpy(pos, data->i_nonce, data->i_nonce_len);
69 pos += data->i_nonce_len;
90 if (ikev2_prf_hash(prf->id, buf, data->i_nonce_len + data->r_nonce_len,
433 data->i_nonce_len = ni_len;
436 data->i_nonce, data->i_nonce_len);
1004 data->i_nonce, data->i_nonce_len,
/external/wpa_supplicant_8/hostapd/src/eap_server/
H A Dikev2.h28 size_t i_nonce_len; member in struct:ikev2_initiator_data
H A Dikev2.c64 buf_len = data->i_nonce_len + data->r_nonce_len + 2 * IKEV2_SPI_LEN;
72 os_memcpy(pos, data->i_nonce, data->i_nonce_len);
73 pos += data->i_nonce_len;
94 if (ikev2_prf_hash(prf->id, buf, data->i_nonce_len + data->r_nonce_len,
620 data->i_nonce, data->i_nonce_len,
1012 wpabuf_put_data(msg, data->i_nonce, data->i_nonce_len);
1096 data->i_nonce_len = IKEV2_NONCE_MIN_LEN;
1097 if (random_get_bytes(data->i_nonce, data->i_nonce_len))
1099 wpa_hexdump(MSG_DEBUG, "IKEV2: Ni", data->i_nonce, data->i_nonce_len);
H A Deap_server_ikev2.c338 data->ikev2.i_nonce, data->ikev2.i_nonce_len,
529 sid_len = 1 + data->ikev2.i_nonce_len + data->ikev2.r_nonce_len;
536 data->ikev2.i_nonce_len);
537 offset += data->ikev2.i_nonce_len;
/external/wpa_supplicant_8/src/eap_peer/
H A Dikev2.h29 size_t i_nonce_len; member in struct:ikev2_responder_data
H A Deap_ikev2.c122 data->ikev2.i_nonce, data->ikev2.i_nonce_len,
491 sid_len = 1 + data->ikev2.i_nonce_len + data->ikev2.r_nonce_len;
498 data->ikev2.i_nonce_len);
499 offset += data->ikev2.i_nonce_len;
H A Dikev2.c60 buf_len = data->i_nonce_len + data->r_nonce_len + 2 * IKEV2_SPI_LEN;
68 os_memcpy(pos, data->i_nonce, data->i_nonce_len);
69 pos += data->i_nonce_len;
90 if (ikev2_prf_hash(prf->id, buf, data->i_nonce_len + data->r_nonce_len,
433 data->i_nonce_len = ni_len;
436 data->i_nonce, data->i_nonce_len);
1004 data->i_nonce, data->i_nonce_len,
/external/wpa_supplicant_8/src/eap_server/
H A Dikev2.h28 size_t i_nonce_len; member in struct:ikev2_initiator_data
H A Dikev2.c64 buf_len = data->i_nonce_len + data->r_nonce_len + 2 * IKEV2_SPI_LEN;
72 os_memcpy(pos, data->i_nonce, data->i_nonce_len);
73 pos += data->i_nonce_len;
94 if (ikev2_prf_hash(prf->id, buf, data->i_nonce_len + data->r_nonce_len,
620 data->i_nonce, data->i_nonce_len,
1012 wpabuf_put_data(msg, data->i_nonce, data->i_nonce_len);
1096 data->i_nonce_len = IKEV2_NONCE_MIN_LEN;
1097 if (random_get_bytes(data->i_nonce, data->i_nonce_len))
1099 wpa_hexdump(MSG_DEBUG, "IKEV2: Ni", data->i_nonce, data->i_nonce_len);
H A Deap_server_ikev2.c338 data->ikev2.i_nonce, data->ikev2.i_nonce_len,
529 sid_len = 1 + data->ikev2.i_nonce_len + data->ikev2.r_nonce_len;
536 data->ikev2.i_nonce_len);
537 offset += data->ikev2.i_nonce_len;
/external/wpa_supplicant_8/wpa_supplicant/src/eap_peer/
H A Dikev2.h29 size_t i_nonce_len; member in struct:ikev2_responder_data
H A Deap_ikev2.c122 data->ikev2.i_nonce, data->ikev2.i_nonce_len,
491 sid_len = 1 + data->ikev2.i_nonce_len + data->ikev2.r_nonce_len;
498 data->ikev2.i_nonce_len);
499 offset += data->ikev2.i_nonce_len;
H A Dikev2.c60 buf_len = data->i_nonce_len + data->r_nonce_len + 2 * IKEV2_SPI_LEN;
68 os_memcpy(pos, data->i_nonce, data->i_nonce_len);
69 pos += data->i_nonce_len;
90 if (ikev2_prf_hash(prf->id, buf, data->i_nonce_len + data->r_nonce_len,
433 data->i_nonce_len = ni_len;
436 data->i_nonce, data->i_nonce_len);
1004 data->i_nonce, data->i_nonce_len,
/external/wpa_supplicant_8/wpa_supplicant/src/eap_server/
H A Dikev2.h28 size_t i_nonce_len; member in struct:ikev2_initiator_data
H A Dikev2.c64 buf_len = data->i_nonce_len + data->r_nonce_len + 2 * IKEV2_SPI_LEN;
72 os_memcpy(pos, data->i_nonce, data->i_nonce_len);
73 pos += data->i_nonce_len;
94 if (ikev2_prf_hash(prf->id, buf, data->i_nonce_len + data->r_nonce_len,
620 data->i_nonce, data->i_nonce_len,
1012 wpabuf_put_data(msg, data->i_nonce, data->i_nonce_len);
1096 data->i_nonce_len = IKEV2_NONCE_MIN_LEN;
1097 if (random_get_bytes(data->i_nonce, data->i_nonce_len))
1099 wpa_hexdump(MSG_DEBUG, "IKEV2: Ni", data->i_nonce, data->i_nonce_len);
H A Deap_server_ikev2.c338 data->ikev2.i_nonce, data->ikev2.i_nonce_len,
529 sid_len = 1 + data->ikev2.i_nonce_len + data->ikev2.r_nonce_len;
536 data->ikev2.i_nonce_len);
537 offset += data->ikev2.i_nonce_len;
/external/wpa_supplicant_8/hostapd/src/common/
H A Ddpp.c2158 u16 i_proto_len, i_nonce_len, i_capab_len, i_bootstrap_len; local
2245 &i_nonce_len);
2246 if (!i_nonce || i_nonce_len != auth->curve->nonce_len) {
2250 wpa_hexdump(MSG_DEBUG, "DPP: I-nonce", i_nonce, i_nonce_len);
2251 os_memcpy(auth->i_nonce, i_nonce, i_nonce_len);
2454 u16 i_nonce_len, r_capab_len; local
2497 &i_nonce_len);
2498 if (!i_nonce || i_nonce_len != auth->curve->nonce_len) {
2502 wpa_hexdump(MSG_DEBUG, "DPP: I-nonce", i_nonce, i_nonce_len);
2503 if (os_memcmp(auth->i_nonce, i_nonce, i_nonce_len) !
2544 r_proto_len, r_nonce_len, i_nonce_len, r_capab_len, local
[all...]

Completed in 304 milliseconds

12