Home
last modified time | relevance | path

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

/external/wpa_supplicant_6/wpa_supplicant/src/wps/
Dwps_common.c70 u8 keys[WPS_AUTHKEY_LEN + WPS_KEYWRAPKEY_LEN + WPS_EMSK_LEN]; in wps_derive_keys()
116 os_memcpy(wps->authkey, keys, WPS_AUTHKEY_LEN); in wps_derive_keys()
117 os_memcpy(wps->keywrapkey, keys + WPS_AUTHKEY_LEN, WPS_KEYWRAPKEY_LEN); in wps_derive_keys()
118 os_memcpy(wps->emsk, keys + WPS_AUTHKEY_LEN + WPS_KEYWRAPKEY_LEN, in wps_derive_keys()
122 wps->authkey, WPS_AUTHKEY_LEN); in wps_derive_keys()
136 hmac_sha256(wps->authkey, WPS_AUTHKEY_LEN, dev_passwd, in wps_derive_psk()
139 hmac_sha256(wps->authkey, WPS_AUTHKEY_LEN, in wps_derive_psk()
Dwps_attr_process.c48 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 2, addr, len, hash); in wps_process_authenticator()
79 hmac_sha256(wps->authkey, WPS_AUTHKEY_LEN, head, len, hash); in wps_process_key_wrap_auth()
Dwps_attr_build.c122 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 2, addr, len, hash); in wps_build_authenticator()
218 hmac_sha256(wps->authkey, WPS_AUTHKEY_LEN, wpabuf_head(msg), in wps_build_key_wrap_auth()
Dwps_defs.h26 #define WPS_AUTHKEY_LEN 32 macro
Dwps_enrollee.c80 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_build_e_hash()
90 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_build_e_hash()
579 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_process_r_snonce1()
619 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_process_r_snonce2()
Dwps_i.h62 u8 authkey[WPS_AUTHKEY_LEN];
Dwps_registrar.c956 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_build_r_hash()
966 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_build_r_hash()
1651 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_process_e_snonce1()
1691 hmac_sha256_vector(wps->authkey, WPS_AUTHKEY_LEN, 4, addr, len, hash); in wps_process_e_snonce2()