Home
last modified time | relevance | path

Searched refs:prot_len (Results 1 – 4 of 4) sorted by relevance

/external/wpa_supplicant_8/src/eap_common/
Deap_eke_common.c607 u8 *prot, size_t *prot_len) in eap_eke_prot() argument
628 if (*prot_len < block_size + data_len + pad + icv_len) { in eap_eke_prot()
654 *prot_len = pos - prot; in eap_eke_prot()
660 const u8 *prot, size_t prot_len, in eap_eke_decrypt_prot() argument
678 if (prot_len < 2 * block_size + icv_len || in eap_eke_decrypt_prot()
679 (prot_len - icv_len) % block_size) in eap_eke_decrypt_prot()
683 prot_len - block_size - icv_len, icv) < 0) in eap_eke_decrypt_prot()
685 if (os_memcmp_const(icv, prot + prot_len - icv_len, icv_len) != 0) { in eap_eke_decrypt_prot()
690 if (*data_len < prot_len - block_size - icv_len) { in eap_eke_decrypt_prot()
695 *data_len = prot_len - block_size - icv_len; in eap_eke_decrypt_prot()
Deap_eke_common.h107 u8 *prot, size_t *prot_len);
109 const u8 *prot, size_t prot_len,
/external/wpa_supplicant_8/src/eap_peer/
Deap_eke.c363 size_t prot_len; in eap_eke_process_commit() local
473 prot_len = wpabuf_tailroom(resp); in eap_eke_process_commit()
475 wpabuf_put(resp, 0), &prot_len) < 0) { in eap_eke_process_commit()
481 wpabuf_put(resp, 0), prot_len); in eap_eke_process_commit()
482 wpabuf_put(resp, prot_len); in eap_eke_process_commit()
509 size_t prot_len; in eap_eke_process_confirm() local
589 prot_len = wpabuf_tailroom(resp); in eap_eke_process_confirm()
591 wpabuf_put(resp, 0), &prot_len) < 0) { in eap_eke_process_confirm()
596 wpabuf_put(resp, prot_len); in eap_eke_process_confirm()
/external/wpa_supplicant_8/src/eap_server/
Deap_server_eke.c307 size_t plen, prot_len; in eap_eke_build_confirm() local
331 prot_len = wpabuf_tailroom(msg); in eap_eke_build_confirm()
333 wpabuf_put(msg, 0), &prot_len) < 0) { in eap_eke_build_confirm()
338 wpabuf_put(msg, prot_len); in eap_eke_build_confirm()