Searched refs:keywrapkey (Results 1 – 4 of 4) sorted by relevance
/hostap-3.7.0/tests/hwsim/ |
D | test_ap_wps.py | 6521 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/ |
D | wps_common.c | 118 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()
|
D | wps_i.h | 65 u8 keywrapkey[WPS_KEYWRAPKEY_LEN]; member
|
D | wps_attr_build.c | 415 if (aes_128_cbc_encrypt(wps->keywrapkey, iv, data, wpabuf_len(plain))) in wps_build_encr_settings()
|