Home
last modified time | relevance | path

Searched refs:xkey (Results 1 – 5 of 5) sorted by relevance

/hostap-3.6.0/src/crypto/
Dfips_prf_internal.c19 u8 xkey[64]; in fips186_2_prf() local
25 if (seed_len < sizeof(xkey)) in fips186_2_prf()
26 os_memset(xkey + seed_len, 0, sizeof(xkey) - seed_len); in fips186_2_prf()
28 seed_len = sizeof(xkey); in fips186_2_prf()
32 os_memcpy(xkey, seed, seed_len); in fips186_2_prf()
47 SHA1Transform(_t, xkey); in fips186_2_prf()
58 carry += xkey[k] + xpos[k]; in fips186_2_prf()
59 xkey[k] = carry & 0xff; in fips186_2_prf()
Dfips_prf_wolfssl.c38 u8 xkey[64]; in fips186_2_prf() local
44 if (seed_len < sizeof(xkey)) in fips186_2_prf()
45 os_memset(xkey + seed_len, 0, sizeof(xkey) - seed_len); in fips186_2_prf()
47 seed_len = sizeof(xkey); in fips186_2_prf()
51 os_memcpy(xkey, seed, seed_len); in fips186_2_prf()
66 sha1_transform(_t, xkey); in fips186_2_prf()
76 carry += xkey[k] + xpos[k]; in fips186_2_prf()
77 xkey[k] = carry & 0xff; in fips186_2_prf()
Dfips_prf_openssl.c50 u8 xkey[64]; in fips186_2_prf() local
56 if (seed_len < sizeof(xkey)) in fips186_2_prf()
57 os_memset(xkey + seed_len, 0, sizeof(xkey) - seed_len); in fips186_2_prf()
59 seed_len = sizeof(xkey); in fips186_2_prf()
63 os_memcpy(xkey, seed, seed_len); in fips186_2_prf()
78 sha1_transform(_t, xkey); in fips186_2_prf()
88 carry += xkey[k] + xpos[k]; in fips186_2_prf()
89 xkey[k] = carry & 0xff; in fips186_2_prf()
Dcrypto_module_tests.c2038 u8 xkey[] = { in test_fips186_2_prf() local
2054 if (fips186_2_prf(xkey, sizeof(xkey), buf, sizeof(buf)) < 0 || in test_fips186_2_prf()
/hostap-3.6.0/src/eap_common/
Deap_sim_common.c112 u8 xkey[SHA1_MAC_LEN]; in eap_sim_derive_keys_reauth() local
143 sha1_vector(4, addr, len, xkey); in eap_sim_derive_keys_reauth()
144 wpa_hexdump(MSG_DEBUG, "EAP-SIM: XKEY'", xkey, SHA1_MAC_LEN); in eap_sim_derive_keys_reauth()
146 if (eap_sim_prf(xkey, buf, sizeof(buf)) < 0) { in eap_sim_derive_keys_reauth()