Home
last modified time | relevance | path

Searched refs:keywrapkey (Results 1 – 4 of 4) sorted by relevance

/hostap-3.7.0/tests/hwsim/
Dtest_ap_wps.py6521 keywrapkey = keys[32:48]
6523 return authkey, keywrapkey, emsk
6541 def build_attr_encr_settings(authkey, keywrapkey, data): argument
6546 aes = AES.new(keywrapkey, AES.MODE_CBC, iv)
6553 def decrypt_attr_encr_settings(authkey, keywrapkey, data): argument
6558 aes = AES.new(keywrapkey, AES.MODE_CBC, iv)
6614 authkey, keywrapkey, emsk = wsc_keys(kdk)
6616 logger.debug("KeyWrapKey: " + binascii.hexlify(keywrapkey).decode())
6618 return authkey, keywrapkey
6771 authkey, keywrapkey = wsc_dh_kdf(m2_attrs[ATTR_PUBLIC_KEY], own_private,
[all …]
/hostap-3.7.0/src/wps/
Dwps_common.c118 os_memcpy(wps->keywrapkey, keys + WPS_AUTHKEY_LEN, WPS_KEYWRAPKEY_LEN); in wps_derive_keys()
125 wps->keywrapkey, WPS_KEYWRAPKEY_LEN); in wps_derive_keys()
177 if (aes_128_cbc_decrypt(wps->keywrapkey, encr, wpabuf_mhead(decrypted), in wps_decrypt_encr_settings()
Dwps_i.h65 u8 keywrapkey[WPS_KEYWRAPKEY_LEN]; member
Dwps_attr_build.c415 if (aes_128_cbc_encrypt(wps->keywrapkey, iv, data, wpabuf_len(plain))) in wps_build_encr_settings()