/hostap-latest/src/utils/ |
D | bitfield.c | 16 u8 *bits; member 28 bf->bits = (u8 *) (bf + 1); in bitfield_alloc() 44 bf->bits[bit / 8] |= BIT(bit % 8); in bitfield_set() 52 bf->bits[bit / 8] &= ~BIT(bit % 8); in bitfield_clear() 60 return !!(bf->bits[bit / 8] & BIT(bit % 8)); in bitfield_is_set() 80 if (bf->bits[i] != 0xff) in bitfield_get_first_zero() 85 i = i * 8 + first_zero(bf->bits[i]); in bitfield_get_first_zero()
|
D | common.c | 234 void buf_shift_right(u8 *buf, size_t len, size_t bits) in buf_shift_right() argument 239 buf[i] = (buf[i - 1] << (8 - bits)) | (buf[i] >> bits); in buf_shift_right() 240 buf[0] >>= bits; in buf_shift_right()
|
D | common.h | 526 void buf_shift_right(u8 *buf, size_t len, size_t bits);
|
/hostap-latest/src/common/ |
D | sae_pk.c | 196 static char * add_char(const char *start, char *pos, u8 idx, size_t *bits) in add_char() argument 198 if (*bits == 0) in add_char() 200 if (*bits > 5) in add_char() 201 *bits -= 5; in add_char() 203 *bits = 0; in add_char() 364 int bits; in sae_pk_set_password() local 391 bits = tmp->fingerprint_bits - 8 * tmp->sec; in sae_pk_set_password() 393 while (bits > 0) { in sae_pk_set_password() 402 if (bits < 8) in sae_pk_set_password() 406 bits -= 8; in sae_pk_set_password() [all …]
|
D | common_module_tests.c | 551 size_t bits = (pw_len - pw_len / 5) * 5; in sae_pk_tests() local 552 size_t bytes = (bits + 7) / 8; in sae_pk_tests() 582 b32 = sae_pk_base32_encode(val, bits - 5); in sae_pk_tests()
|
D | sae.c | 153 size_t bits; in sae_test_pwd_seed_ecc() local 160 bits = crypto_ec_prime_len_bits(sae->tmp->ec); in sae_test_pwd_seed_ecc() 162 prime, sae->tmp->prime_len, pwd_value, bits) < 0) in sae_test_pwd_seed_ecc() 164 if (bits % 8) in sae_test_pwd_seed_ecc() 165 buf_shift_right(pwd_value, sae->tmp->prime_len, 8 - bits % 8); in sae_test_pwd_seed_ecc() 200 size_t bits = sae->tmp->prime_len * 8; in sae_test_pwd_seed_ffc() local 211 bits) < 0) in sae_test_pwd_seed_ffc()
|
/hostap-latest/src/crypto/ |
D | md5-internal.c | 94 ctx->bits[0] = 0; in MD5Init() 95 ctx->bits[1] = 0; in MD5Init() 108 t = ctx->bits[0]; in MD5Update() 109 if ((ctx->bits[0] = t + ((u32) len << 3)) < t) in MD5Update() 110 ctx->bits[1]++; /* Carry from low to high */ in MD5Update() 111 ctx->bits[1] += len >> 29; in MD5Update() 156 count = (ctx->bits[0] >> 3) & 0x3F; in MD5Final() 182 ((u32 *) aliasing_hide_typecast(ctx->in, u32))[14] = ctx->bits[0]; in MD5Final() 183 ((u32 *) aliasing_hide_typecast(ctx->in, u32))[15] = ctx->bits[1]; in MD5Final()
|
D | aes_i.h | 70 static inline u32 rotr(u32 val, int bits) in rotr() argument 72 return (val >> bits) | (val << (32 - bits)); in rotr()
|
D | md5_i.h | 14 u32 bits[2]; member
|
D | sha1-internal.c | 130 #define rol(value, bits) (((value) << (bits)) | ((value) >> (32 - (bits)))) argument
|
D | tls_openssl.c | 1536 int bits; in check_server_key_exchange() local 1565 bits = BN_num_bits(p); in check_server_key_exchange() 1568 conn->server_dh_prime_len = bits; in check_server_key_exchange()
|
/hostap-latest/wlantest/ |
D | tkip.c | 173 static inline u32 rotl(u32 val, int bits) in rotl() argument 175 return (val << bits) | (val >> (32 - bits)); in rotl() 179 static inline u32 rotr(u32 val, int bits) in rotr() argument 181 return (val >> bits) | (val << (32 - bits)); in rotr()
|
/hostap-latest/src/tls/ |
D | tlsv1_client_read.c | 643 unsigned int bits; in count_bits() local 653 bits = (len - i - 1) * 8; in count_bits() 656 bits++; in count_bits() 660 return bits; in count_bits() 670 unsigned int bits; in tlsv1_process_diffie_hellman() local 688 bits = count_bits(pos, conn->dh_p_len); in tlsv1_process_diffie_hellman() 689 if (bits < 768) { in tlsv1_process_diffie_hellman() 691 bits); in tlsv1_process_diffie_hellman()
|
D | libtommath.c | 2911 int x, bits, res; in mp_montgomery_calc_normalization() local 2914 bits = mp_count_bits (b) % DIGIT_BIT; in mp_montgomery_calc_normalization() 2917 if ((res = mp_2expt (a, (b->used - 1) * DIGIT_BIT + bits - 1)) != MP_OKAY) { in mp_montgomery_calc_normalization() 2922 bits = 1; in mp_montgomery_calc_normalization() 2927 for (x = bits - 1; x < (int)DIGIT_BIT; x++) { in mp_montgomery_calc_normalization()
|
/hostap-latest/hostapd/ |
D | hlr_auc_gw.txt | 27 [-D<DB file>] [-i<IND len in bits>] 37 -i<IND len in bits> = IND length for SQN (default: 5)
|
D | ChangeLog | 119 in REVmd (allow only FFC groups with prime >= 3072 bits and ECC 134 - disallow ECC groups with a prime under 256 bits (groups 25, 26, and
|
/hostap-latest/src/ap/ |
D | hostapd.c | 838 unsigned int i = iface->conf->num_bss, bits = 0, j; in hostapd_validate_bssid_configuration() local 851 bits++; in hostapd_validate_bssid_configuration() 884 if (bits < j) in hostapd_validate_bssid_configuration() 885 bits = j; in hostapd_validate_bssid_configuration() 887 if (bits > 40) { in hostapd_validate_bssid_configuration() 889 bits); in hostapd_validate_bssid_configuration() 894 j = bits / 8; in hostapd_validate_bssid_configuration() 897 j = bits % 8; in hostapd_validate_bssid_configuration() 905 (unsigned long) iface->conf->num_bss, MAC2STR(mask), bits); in hostapd_validate_bssid_configuration()
|
/hostap-latest/wpa_supplicant/ |
D | README-P2P | 806 bits 824 conncap - always One of: 1 (new), 2 (group client), 4 (group owner) bits
|
D | ChangeLog | 149 in REVmd (allow only FFC groups with prime >= 3072 bits and ECC 162 - disallow ECC groups with a prime under 256 bits (groups 25, 26, and 1419 * fixed EAP-AKA to use RES Length field in AT_RES as length in bits,
|
D | README | 999 further be limited by file owner/group and mode bits. For example:
|
/hostap-latest/tests/hwsim/ |
D | test_ap_wps.py | 6531 def wsc_kdf(key, label, bits): argument 6534 while len(result) * 8 < bits: 6535 data = struct.pack('>L', i) + label.encode() + struct.pack('>L', bits) 6539 return result[0:bits // 8]
|
/hostap-latest/doc/ |
D | dbus.doxygen | 1143 …<p>Masks to show which bits not to randomize with MAC address randomization. Possible keys are "sc… 2213 <p>Descending ordered array of rates supported by the BSS in bits per second.</p>
|