Home
last modified time | relevance | path

Searched refs:ctr (Results 1 – 6 of 6) sorted by relevance

/hostap-latest/src/eap_common/
Deap_pwd_common.c50 u16 i, ctr, L; in eap_pwd_kdf() local
54 ctr = 0; in eap_pwd_kdf()
57 ctr++; in eap_pwd_kdf()
58 i = htons(ctr); in eap_pwd_kdf()
63 if (ctr > 1) in eap_pwd_kdf()
133 unsigned char pwe_digest[SHA256_MAC_LEN], *prfbuf = NULL, ctr; in compute_password_element() local
172 ctr = 0; in compute_password_element()
179 while (ctr < 40) { in compute_password_element()
180 ctr++; in compute_password_element()
194 eap_pwd_h_update(hash, &ctr, sizeof(ctr)); in compute_password_element()
[all …]
/hostap-latest/src/crypto/
Dcrypto_mbedtls_alt.c584 u16 ctr, n_le = host_to_le16(buf_len_bits); in hmac_prf_bits() local
585 const u8 *const addr[] = {(u8 *)&ctr, (u8 *)label, data, (u8 *)&n_le}; in hmac_prf_bits()
589 for (ctr = 1; buf_len >= mac_len; buf_len -= mac_len, ++ctr) in hmac_prf_bits()
592 ctr = host_to_le16(ctr); in hmac_prf_bits()
600 ctr = le_to_host16(ctr); in hmac_prf_bits()
608 ctr = host_to_le16(ctr); in hmac_prf_bits()
653 unsigned short ctr, n_le = host_to_le16(buf_len_bits); in hmac_prf256() local
654 const u8 *addr[] = {(u8 *)&ctr, (u8 *)label, data, (u8 *)&n_le}; in hmac_prf256()
659 for (ctr = 1; buf_len >= SHA256_MAC_LEN; buf_len -= SHA256_MAC_LEN, ++ctr) in hmac_prf256()
745 u8 ctr; in sha1_t_prf() local
[all …]
DMakefile13 aes-ctr.o \
/hostap-latest/tests/fuzzing/dpp-uri/
DMakefile17 OBJS += $(SRC)/crypto/aes-ctr.o
/hostap-latest/src/ap/
Dwpa_auth.c1131 static int wpa_replay_counter_valid(struct wpa_key_replay_counter *ctr, argument
1136 if (!ctr[i].valid)
1138 if (os_memcmp(replay_counter, ctr[i].counter,
1146 static void wpa_replay_counter_mark_invalid(struct wpa_key_replay_counter *ctr, argument
1151 if (ctr[i].valid &&
1153 os_memcmp(replay_counter, ctr[i].counter,
1155 ctr[i].valid = false;
2202 u32 ctr; local
2207 ctr = pairwise ? sm->TimeoutCtr : sm->GTimeoutCtr;
2214 ctr != wpa_auth->conf.wpa_pairwise_update_count) {
[all …]
/hostap-latest/wpa_supplicant/
Dnmake.mak70 $(OBJDIR)\aes-ctr.obj \