Searched refs:EAP_PAX_MAC_LEN (Results 1 - 4 of 4) sorted by relevance

/freebsd-12-stable/contrib/wpa/src/eap_common/
H A Deap_pax_common.c41 num_blocks = (output_len + EAP_PAX_MAC_LEN - 1) / EAP_PAX_MAC_LEN;
59 size_t clen = left > EAP_PAX_MAC_LEN ? EAP_PAX_MAC_LEN : left;
82 * @mac: Buffer for the MAC value (EAP_PAX_MAC_LEN = 16 bytes)
112 os_memcpy(mac, hash, EAP_PAX_MAC_LEN);
H A Deap_pax_common.h71 #define EAP_PAX_MAC_LEN 16 macro
/freebsd-12-stable/contrib/wpa/src/eap_server/
H A Deap_server_pax.c109 pos = wpabuf_put(req, EAP_PAX_MAC_LEN);
134 sizeof(*pax) + 2 + EAP_PAX_MAC_LEN +
150 wpabuf_put_be16(req, EAP_PAX_MAC_LEN);
151 pos = wpabuf_put(req, EAP_PAX_MAC_LEN);
161 pos, EAP_PAX_MAC_LEN);
165 pos = wpabuf_put(req, EAP_PAX_MAC_LEN);
308 u8 mac[EAP_PAX_MAC_LEN], icvbuf[EAP_PAX_ICV_LEN];
361 if (left < 2 + EAP_PAX_MAC_LEN ||
362 WPA_GET_BE16(pos) != EAP_PAX_MAC_LEN) {
369 pos, EAP_PAX_MAC_LEN);
[all...]
/freebsd-12-stable/contrib/wpa/src/eap_peer/
H A Deap_pax.c189 plen = 2 + EAP_PAX_RAND_LEN + 2 + data->cid_len + 2 + EAP_PAX_MAC_LEN +
205 wpabuf_put_be16(resp, EAP_PAX_MAC_LEN);
206 rpos = wpabuf_put(resp, EAP_PAX_MAC_LEN);
212 rpos, EAP_PAX_MAC_LEN);
237 u8 *rpos, mac[EAP_PAX_MAC_LEN];
259 if (left < 2 + EAP_PAX_MAC_LEN) {
267 if (WPA_GET_BE16(pos) != EAP_PAX_MAC_LEN) {
270 WPA_GET_BE16(pos), EAP_PAX_MAC_LEN);
277 pos, EAP_PAX_MAC_LEN);
288 if (os_memcmp_const(pos, mac, EAP_PAX_MAC_LEN) !
[all...]

Completed in 178 milliseconds