/external/wpa_supplicant_8/src/eap_common/ |
eap_ikev2_common.c | 103 if (os_memcmp_const(icv, end - icv_len, icv_len) != 0) {
|
/external/wpa_supplicant_8/src/eap_peer/ |
mschapv2.c | 120 os_memcmp_const(auth_response, recv_response,
|
eap_pax.c | 282 if (os_memcmp_const(pos, mac, EAP_PAX_MAC_LEN) != 0) { 419 if (os_memcmp_const(icv, icvbuf, EAP_PAX_ICV_LEN) != 0) {
|
eap_leap.c | 247 if (os_memcmp_const(pos, expected, LEAP_RESPONSE_LEN) != 0) {
|
eap_sake.c | 317 if (os_memcmp_const(attr.mic_s, mic_s, EAP_SAKE_MIC_LEN) != 0) {
|
/external/wpa_supplicant_8/src/wps/ |
wps_attr_process.c | 44 if (os_memcmp_const(hash, authenticator, WPS_AUTHENTICATOR_LEN) != 0) { 74 if (os_memcmp_const(hash, key_wrap_auth, WPS_KWA_LEN) != 0) {
|
/external/wpa_supplicant_8/src/eap_server/ |
eap_server_md5.c | 129 if (os_memcmp_const(hash, pos, CHAP_MD5_LEN) == 0) {
|
eap_server_ttls.c | 512 os_memcmp_const(sm->user->password, user_password, 561 if (os_memcmp_const(challenge, chal, EAP_TTLS_CHAP_CHALLENGE_LEN) 575 if (os_memcmp_const(hash, password + 1, EAP_TTLS_CHAP_PASSWORD_LEN) == 627 if (os_memcmp_const(challenge, chal, EAP_TTLS_MSCHAP_CHALLENGE_LEN) 643 if (os_memcmp_const(nt_response, response + 2 + 24, 24) == 0) { 715 if (os_memcmp_const(challenge, chal, EAP_TTLS_MSCHAPV2_CHALLENGE_LEN) 761 if (os_memcmp_const(nt_response, rx_resp, 24) == 0) { [all...] |
eap_server_pax.c | 271 if (os_memcmp_const(icvbuf, icv, EAP_PAX_ICV_LEN) != 0) { 403 if (os_memcmp_const(mac, pos, EAP_PAX_MAC_LEN) != 0) { 425 if (os_memcmp_const(icvbuf, pos, EAP_PAX_ICV_LEN) != 0) {
|
eap_server_sake.c | 354 if (os_memcmp_const(attr.mic_p, mic_p, EAP_SAKE_MIC_LEN) != 0) { 391 if (os_memcmp_const(attr.mic_p, mic_p, EAP_SAKE_MIC_LEN) != 0) {
|
eap_server_gtc.c | 178 os_memcmp_const(pos, sm->user->password, rlen) != 0) {
|
eap_server_gpsk.c | 453 if (os_memcmp_const(mic, pos, miclen) != 0) { 522 if (os_memcmp_const(mic, pos, miclen) != 0) {
|
/external/wpa_supplicant_8/src/utils/ |
os_none.c | 227 int os_memcmp_const(const void *a, const void *b, size_t len) function
|
os.h | 601 * os_memcmp_const - Constant time memory comparison 610 * does not behave like os_memcmp(), i.e., os_memcmp_const() cannot be used to 612 * os_memcmp_const() does not depend on the contents of the compared memory 615 int os_memcmp_const(const void *a, const void *b, size_t len);
|
os_win32.c | 268 int os_memcmp_const(const void *a, const void *b, size_t len) function
|
/external/wpa_supplicant_8/src/rsn_supp/ |
wpa_ft.c | 442 os_memcmp_const(parse.r0kh_id, sm->r0kh_id, parse.r0kh_id_len) != 0) 459 os_memcmp_const(parse.rsn_pmkid, sm->pmk_r0_name, WPA_PMK_NAME_LEN)) 729 os_memcmp_const(parse.r0kh_id, sm->r0kh_id, parse.r0kh_id_len) != 0) 745 if (os_memcmp_const(parse.r1kh_id, sm->r1kh_id, FT_R1KH_ID_LEN) != 0) { 752 os_memcmp_const(parse.rsn_pmkid, sm->pmk_r1_name, WPA_PMK_NAME_LEN)) 779 if (os_memcmp_const(mic, ftie->mic, 16) != 0) {
|
pmksa_cache.c | 166 os_memcmp_const(pos->pmk, pmk, pmk_len) == 0 && 167 os_memcmp_const(pos->pmkid, entry->pmkid,
|
peerkey.c | 678 if (os_memcmp_const(ie.pmkid, peerkey->smkid, PMKID_LEN) != 0) { 781 if (os_memcmp_const(kde.pmkid, peerkey->smkid, PMKID_LEN) != 0) { 934 if (os_memcmp_const(mic, key->key_mic, mic_len) != 0) { 951 if (os_memcmp_const(mic, key->key_mic, mic_len) != 0) { [all...] |
/external/wpa_supplicant_8/src/crypto/ |
aes-ccm.c | 206 if (os_memcmp_const(x, t, M) != 0) {
|
milenage.c | 220 os_memcmp_const(mac_s, auts + 6, 8) != 0) 315 if (os_memcmp_const(mac_a, autn + 8, 8) != 0) {
|
aes-gcm.c | 313 if (os_memcmp_const(tag, T, 16) != 0) {
|
/external/wpa_supplicant_8/src/ap/ |
wpa_auth_ft.c | 239 os_memcmp_const(r0->pmk_r0_name, pmk_r0_name, 289 os_memcmp_const(r1->pmk_r1_name, pmk_r1_name, 314 os_memcmp_const(r0kh->id, sm->r0kh_id, sm->r0kh_id_len) == 1016 if (os_memcmp_const(parse.rsn_pmkid, sm->pmk_r1_name, WPA_PMK_NAME_LEN) 1063 os_memcmp_const(parse.r0kh_id, sm->r0kh_id, parse.r0kh_id_len) != 0) 1079 if (os_memcmp_const(parse.r1kh_id, sm->wpa_auth->conf.r1_key_holder, 1091 os_memcmp_const(parse.rsn_pmkid, sm->pmk_r1_name, WPA_PMK_NAME_LEN)) 1119 if (os_memcmp_const(mic, ftie->mic, mic_len) != 0) { [all...] |
/external/wpa_supplicant_8/src/tls/ |
pkcs1.c | 301 os_memcmp_const(hdr.payload, hash, hdr.length) != 0) {
|
tlsv1_common.c | 482 os_memcmp_const(decrypted, data, data_len) != 0) {
|
/external/wpa_supplicant_8/src/radius/ |
radius.c | 533 return os_memcmp_const(msg->hdr->authenticator, hash, MD5_MAC_LEN) != 0; 560 if (os_memcmp_const(msg->hdr->authenticator, hash, MD5_MAC_LEN) != 0) 593 return os_memcmp_const(orig, auth, MD5_MAC_LEN) != 0; 826 if (os_memcmp_const(orig, auth, MD5_MAC_LEN) != 0) { 863 if (os_memcmp_const(hash, msg->hdr->authenticator, MD5_MAC_LEN) != 0) { [all...] |