/hostap-3.7.0/src/crypto/ |
D | sha256.c | 32 size_t _len[11], i; in hmac_sha256_vector() local 68 _len[0] = 64; in hmac_sha256_vector() 71 _len[i + 1] = len[i]; in hmac_sha256_vector() 73 if (sha256_vector(1 + num_elem, _addr, _len, mac) < 0) in hmac_sha256_vector() 84 _len[0] = 64; in hmac_sha256_vector() 86 _len[1] = SHA256_MAC_LEN; in hmac_sha256_vector() 87 return sha256_vector(2, _addr, _len, mac); in hmac_sha256_vector()
|
D | sha384.c | 32 size_t _len[11], i; in hmac_sha384_vector() local 68 _len[0] = 128; in hmac_sha384_vector() 71 _len[i + 1] = len[i]; in hmac_sha384_vector() 73 if (sha384_vector(1 + num_elem, _addr, _len, mac) < 0) in hmac_sha384_vector() 84 _len[0] = 128; in hmac_sha384_vector() 86 _len[1] = SHA384_MAC_LEN; in hmac_sha384_vector() 87 return sha384_vector(2, _addr, _len, mac); in hmac_sha384_vector()
|
D | sha512.c | 32 size_t _len[11], i; in hmac_sha512_vector() local 68 _len[0] = 128; in hmac_sha512_vector() 71 _len[i + 1] = len[i]; in hmac_sha512_vector() 73 if (sha512_vector(1 + num_elem, _addr, _len, mac) < 0) in hmac_sha512_vector() 84 _len[0] = 128; in hmac_sha512_vector() 86 _len[1] = SHA512_MAC_LEN; in hmac_sha512_vector() 87 return sha512_vector(2, _addr, _len, mac); in hmac_sha512_vector()
|
D | sha1.c | 32 size_t _len[6], i; in hmac_sha1_vector() local 69 _len[0] = 64; in hmac_sha1_vector() 72 _len[i + 1] = len[i]; in hmac_sha1_vector() 74 if (sha1_vector(1 + num_elem, _addr, _len, mac)) in hmac_sha1_vector() 85 _len[0] = 64; in hmac_sha1_vector() 87 _len[1] = SHA1_MAC_LEN; in hmac_sha1_vector() 88 ret = sha1_vector(2, _addr, _len, mac); in hmac_sha1_vector()
|
D | md5.c | 32 size_t i, _len[6]; in hmac_md5_vector() local 70 _len[0] = 64; in hmac_md5_vector() 73 _len[i + 1] = len[i]; in hmac_md5_vector() 75 if (md5_vector(1 + num_elem, _addr, _len, mac)) in hmac_md5_vector() 86 _len[0] = 64; in hmac_md5_vector() 88 _len[1] = MD5_MAC_LEN; in hmac_md5_vector() 89 res = md5_vector(2, _addr, _len, mac); in hmac_md5_vector()
|
D | aes-siv.c | 125 size_t _len[6]; in aes_siv_encrypt() local 141 _len[i] = len[i]; in aes_siv_encrypt() 144 _len[num_elem] = pwlen; in aes_siv_encrypt() 146 if (aes_s2v(k1, key_len, num_elem + 1, _addr, _len, v)) in aes_siv_encrypt() 168 size_t _len[6]; in aes_siv_decrypt() local 186 _len[i] = len[i]; in aes_siv_decrypt() 189 _len[num_elem] = crypt_len; in aes_siv_decrypt() 201 ret = aes_s2v(k1, key_len, num_elem + 1, _addr, _len, check); in aes_siv_decrypt()
|
D | tls_gnutls.c | 1304 size_t _len[1]; in tls_connection_verify_peer() local 1315 _len[0] = certs[i].size; in tls_connection_verify_peer() 1316 if (sha256_vector(1, _addr, _len, hash) == 0) { in tls_connection_verify_peer()
|
/hostap-3.7.0/src/radius/ |
D | radius.c | 1067 size_t _len[3]; in encrypt_ms_key() local 1086 _len[0] = secret_len; in encrypt_ms_key() 1089 _len[1] = MD5_MAC_LEN; in encrypt_ms_key() 1091 _len[2] = sizeof(saltbuf); in encrypt_ms_key() 1094 _len[1] = MD5_MAC_LEN; in encrypt_ms_key() 1096 md5_vector(first ? 3 : 2, addr, _len, hash); in encrypt_ms_key()
|
/hostap-3.7.0/src/ap/ |
D | wpa_auth_ft.c | 596 if (wpa_ft_rrb_get_tlv(srcfield, srcfield##_len, type, \ 597 &f_##field##_len, &f_##field) < 0 || \ 598 (checklength > 0 && ((size_t) checklength) != f_##field##_len)) { \ 601 wpa_ft_rrb_dump(srcfield, srcfield##_len); \ 612 if (wpa_ft_rrb_get_tlv(srcfield, srcfield##_len, type, \ 613 &f_##field##_len, &f_##field) < 0 || \ 614 (checklength > 0 && ((size_t) checklength) != f_##field##_len)) { \ 617 f_##field##_len = 0; \
|
/hostap-3.7.0/wpa_supplicant/ |
D | config.c | 2349 #define _STR_LEN(f) _STR(f), OFFSET(f ## _len) 2350 #define _STR_LENe(f, m) _STRe(f, m), OFFSET(eap.m ## _len)
|