Lines Matching refs:gtk
13 wusbhc->gtk.descr.bLength = sizeof(wusbhc->gtk.descr) + sizeof(wusbhc->gtk.data);
14 wusbhc->gtk.descr.bDescriptorType = USB_DT_KEY;
15 wusbhc->gtk.descr.bReserved = 0;
64 const size_t key_size = sizeof(wusbhc->gtk.data);
69 wusbhc->gtk.descr.tTKID[0] = (tkid >> 0) & 0xff;
70 wusbhc->gtk.descr.tTKID[1] = (tkid >> 8) & 0xff;
71 wusbhc->gtk.descr.tTKID[2] = (tkid >> 16) & 0xff;
73 get_random_bytes(wusbhc->gtk.descr.bKeyData, key_size);
86 const size_t key_size = sizeof(wusbhc->gtk.data);
92 &wusbhc->gtk.descr.bKeyData, key_size);
169 &wusbhc->gtk.descr, wusbhc->gtk.descr.bLength,
496 size_t key_size = sizeof(wusbhc->gtk.data);
501 wusbhc->set_gtk(wusbhc, wusbhc->gtk_tkid, &wusbhc->gtk.descr.bKeyData, key_size);
526 static const size_t key_size = sizeof(wusbhc->gtk.data);
541 &wusbhc->gtk.descr, wusbhc->gtk.descr.bLength,
547 wusbhc->set_gtk(wusbhc, wusbhc->gtk_tkid, &wusbhc->gtk.descr.bKeyData, key_size);