Home
last modified time | relevance | path

Searched refs:WPS_AUTHKEY_LEN (Results 1 – 7 of 7) sorted by relevance

/hal_espressif-latest/components/wpa_supplicant/src/wps/
Dwps_common.c68 u8 keys[WPS_AUTHKEY_LEN + WPS_KEYWRAPKEY_LEN + WPS_EMSK_LEN]; in wps_derive_keys()
123 os_memcpy(wps->authkey, keys, WPS_AUTHKEY_LEN); in wps_derive_keys()
124 os_memcpy(wps->keywrapkey, keys + WPS_AUTHKEY_LEN, WPS_KEYWRAPKEY_LEN); in wps_derive_keys()
125 os_memcpy(wps->emsk, keys + WPS_AUTHKEY_LEN + WPS_KEYWRAPKEY_LEN, in wps_derive_keys()
129 wps->authkey, WPS_AUTHKEY_LEN); in wps_derive_keys()
143 if (hmac_sha256(wps->authkey, WPS_AUTHKEY_LEN, dev_passwd, in wps_derive_psk()
147 if (hmac_sha256(wps->authkey, WPS_AUTHKEY_LEN, in wps_derive_psk()
Dwps_attr_process.c43 if (hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 2, addr, len, in wps_process_authenticator()
74 if (hmac_sha256(wps->authkey, WPS_AUTHKEY_LEN, head, len, hash) < 0 || in wps_process_key_wrap_auth()
Dwps_defs.h35 #define WPS_AUTHKEY_LEN 32 macro
Dwps_attr_build.c184 if (hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 2, addr, len, in wps_build_authenticator()
388 if (hmac_sha256(wps->authkey, WPS_AUTHKEY_LEN, wpabuf_head(msg), in wps_build_key_wrap_auth()
Dwps_i.h65 u8 authkey[WPS_AUTHKEY_LEN];
Dwps_enrollee.c68 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_build_e_hash()
78 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_build_e_hash()
658 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_process_r_snonce1()
698 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_process_r_snonce2()
Dwps_registrar.c1502 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_build_r_hash()
1512 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_build_r_hash()
2332 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_process_e_snonce1()
2372 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_process_e_snonce2()