/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 os_memcmp_const(pos, mac, EAP_PAX_MAC_LEN) != 0) { 422 if (os_memcmp_const(icv, icvbuf, EAP_PAX_ICV_LEN) != 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_win32.c | 268 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_internal.c | 474 int os_memcmp_const(const void *a, const void *b, size_t len) function
|
/external/wpa_supplicant_8/src/crypto/ |
milenage.c | 220 os_memcmp_const(mac_s, auts + 6, 8) != 0) 315 if (os_memcmp_const(mac_a, autn + 8, 8) != 0) {
|
aes-ccm.c | 206 if (os_memcmp_const(x, t, M) != 0) {
|
aes-gcm.c | 313 if (os_memcmp_const(tag, T, 16) != 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) {
|
wps_enrollee.c | 564 if (os_memcmp_const(hash, wps->peer_pubkey_hash, 644 if (os_memcmp_const(wps->peer_hash1, hash, WPS_HASH_LEN) != 0) { 684 if (os_memcmp_const(wps->peer_hash2, hash, WPS_HASH_LEN) != 0) { [all...] |
/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 | 542 os_memcmp_const(sm->user->password, user_password, 592 if (os_memcmp_const(challenge, chal, EAP_TTLS_CHAP_CHALLENGE_LEN) 606 if (os_memcmp_const(hash, password + 1, EAP_TTLS_CHAP_PASSWORD_LEN) == 659 if (os_memcmp_const(challenge, chal, EAP_TTLS_MSCHAP_CHALLENGE_LEN) 675 if (os_memcmp_const(nt_response, response + 2 + 24, 24) == 0) { 748 if (os_memcmp_const(challenge, chal, EAP_TTLS_MSCHAPV2_CHALLENGE_LEN) 794 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_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) {
|
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) {
|
/external/wpa_supplicant_8/src/rsn_supp/ |
wpa_ft.c | 440 os_memcmp_const(parse.r0kh_id, sm->r0kh_id, parse.r0kh_id_len) != 0) 457 os_memcmp_const(parse.rsn_pmkid, sm->pmk_r0_name, WPA_PMK_NAME_LEN)) 727 os_memcmp_const(parse.r0kh_id, sm->r0kh_id, parse.r0kh_id_len) != 0) 743 if (os_memcmp_const(parse.r1kh_id, sm->r1kh_id, FT_R1KH_ID_LEN) != 0) { 750 os_memcmp_const(parse.rsn_pmkid, sm->pmk_r1_name, WPA_PMK_NAME_LEN)) 777 if (os_memcmp_const(mic, ftie->mic, 16) != 0) {
|
pmksa_cache.c | 169 os_memcmp_const(pos->pmk, pmk, pmk_len) == 0 && 170 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/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_record.c | 459 os_memcmp_const(hash, out_data + plen, hlen) != 0 ||
|
/external/wpa_supplicant_8/src/radius/ |
radius.c | 536 return os_memcmp_const(msg->hdr->authenticator, hash, MD5_MAC_LEN) != 0; 563 if (os_memcmp_const(msg->hdr->authenticator, hash, MD5_MAC_LEN) != 0) 596 return os_memcmp_const(orig, auth, MD5_MAC_LEN) != 0; 829 if (os_memcmp_const(orig, auth, MD5_MAC_LEN) != 0) { 866 if (os_memcmp_const(hash, msg->hdr->authenticator, MD5_MAC_LEN) != 0) { [all...] |