/external/wpa_supplicant_8/src/eap_common/ |
eap_ikev2_common.c | 83 size_t icv_len; local 93 icv_len = integ->hash_len; 95 if (end - pos < (int) icv_len) { 108 wpabuf_len(msg) - icv_len, icv) < 0) { 113 if (os_memcmp(icv, end - icv_len, icv_len) != 0) { 116 icv, icv_len); 118 end - icv_len, icv_len); 125 return icv_len; [all...] |
eap_eke_common.c | 617 size_t block_size, icv_len, pad; local 626 icv_len = SHA1_MAC_LEN; 628 icv_len = SHA256_MAC_LEN; 636 if (*prot_len < block_size + data_len + pad + icv_len) { 661 pos += icv_len; 672 size_t block_size, icv_len; local 681 icv_len = SHA1_MAC_LEN; 683 icv_len = SHA256_MAC_LEN; 687 if (prot_len < 2 * block_size + icv_len) 689 if ((prot_len - icv_len) % block_size [all...] |
/external/wpa_supplicant_8/src/eap_peer/ |
eap_ikev2.c | 136 size_t send_len, plen, icv_len = 0; local 173 icv_len = integ->hash_len; 175 plen += icv_len; 196 msg, len, wpabuf_put(resp, icv_len)); 252 int icv_len = eap_ikev2_validate_icv( local 255 if (icv_len < 0) 258 *end -= icv_len;
|
/external/wpa_supplicant_8/src/eap_server/ |
eap_server_ikev2.c | 138 size_t send_len, plen, icv_len = 0; local 167 icv_len = integ->hash_len; 169 plen += icv_len; 190 msg, len, wpabuf_put(req, icv_len)); 262 int icv_len = eap_ikev2_validate_icv( local 265 if (icv_len < 0) 268 *end -= icv_len;
|