Lines Matching refs:gtk
50 wusbhc->gtk.descr.bLength = sizeof(wusbhc->gtk.descr) + in wusbhc_sec_create()
51 sizeof(wusbhc->gtk.data); in wusbhc_sec_create()
52 wusbhc->gtk.descr.bDescriptorType = USB_DT_KEY; in wusbhc_sec_create()
53 wusbhc->gtk.descr.bReserved = 0; in wusbhc_sec_create()
101 const size_t key_size = sizeof(wusbhc->gtk.data); in wusbhc_generate_gtk()
106 wusbhc->gtk.descr.tTKID[0] = (tkid >> 0) & 0xff; in wusbhc_generate_gtk()
107 wusbhc->gtk.descr.tTKID[1] = (tkid >> 8) & 0xff; in wusbhc_generate_gtk()
108 wusbhc->gtk.descr.tTKID[2] = (tkid >> 16) & 0xff; in wusbhc_generate_gtk()
110 get_random_bytes(wusbhc->gtk.descr.bKeyData, key_size); in wusbhc_generate_gtk()
123 const size_t key_size = sizeof(wusbhc->gtk.data); in wusbhc_sec_start()
129 &wusbhc->gtk.descr.bKeyData, key_size); in wusbhc_sec_start()
209 &wusbhc->gtk.descr, wusbhc->gtk.descr.bLength, in wusb_dev_set_gtk()
543 size_t key_size = sizeof(wusbhc->gtk.data); in wusbhc_gtk_rekey_work()
588 &wusbhc->gtk.descr.bKeyData, key_size); in wusbhc_gtk_rekey_work()