Searched refs:gtk (Results 1 – 6 of 6) sorted by relevance
37 wusbhc->gtk.descr.bLength = sizeof(wusbhc->gtk.descr) + sizeof(wusbhc->gtk.data); in wusbhc_sec_create()38 wusbhc->gtk.descr.bDescriptorType = USB_DT_KEY; in wusbhc_sec_create()39 wusbhc->gtk.descr.bReserved = 0; in wusbhc_sec_create()88 const size_t key_size = sizeof(wusbhc->gtk.data); in wusbhc_generate_gtk()93 wusbhc->gtk.descr.tTKID[0] = (tkid >> 0) & 0xff; in wusbhc_generate_gtk()94 wusbhc->gtk.descr.tTKID[1] = (tkid >> 8) & 0xff; in wusbhc_generate_gtk()95 wusbhc->gtk.descr.tTKID[2] = (tkid >> 16) & 0xff; in wusbhc_generate_gtk()97 get_random_bytes(wusbhc->gtk.descr.bKeyData, key_size); in wusbhc_generate_gtk()110 const size_t key_size = sizeof(wusbhc->gtk.data); in wusbhc_sec_start()116 &wusbhc->gtk.descr.bKeyData, key_size); in wusbhc_sec_start()[all …]
291 } __attribute__((packed)) gtk; member
135 req->wLength = cpu_to_le16(wusbhc->gtk.descr.bLength); in wusb_dev_alloc()
204 const void *gtk, size_t key_size) in whc_set_gtk() argument211 ret = whc_set_key(whc, whc->n_devices, tkid, gtk, key_size, true); in whc_set_gtk()
163 const void *gtk, size_t key_size);
161 uint8 gtk[EAPOL_WPA_MAX_KEY_SIZE];