Home
last modified time | relevance | path

Searched refs:_len (Results 1 – 10 of 10) sorted by relevance

/hostap-3.7.0/src/crypto/
Dsha256.c32 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()
Dsha384.c32 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()
Dsha512.c32 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()
Dsha1.c32 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()
Dmd5.c32 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()
Daes-siv.c125 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()
Dtls_gnutls.c1304 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/
Dradius.c1067 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/
Dwpa_auth_ft.c596 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/
Dconfig.c2349 #define _STR_LEN(f) _STR(f), OFFSET(f ## _len)
2350 #define _STR_LENe(f, m) _STRe(f, m), OFFSET(eap.m ## _len)