/external/wpa_supplicant_8/src/crypto/ |
fips_prf_internal.c | 19 u8 xkey[64]; local 25 if (seed_len < sizeof(xkey)) 26 os_memset(xkey + seed_len, 0, sizeof(xkey) - seed_len); 28 seed_len = sizeof(xkey); 32 os_memcpy(xkey, seed, seed_len); 43 /* XVAL = (XKEY + XSEED_j) mod 2^b */ 47 SHA1Transform(_t, xkey); 55 /* XKEY = (1 + XKEY + w_i) mod 2^b * [all...] |
fips_prf_openssl.c | 28 u8 xkey[64]; local 34 if (seed_len > sizeof(xkey)) 35 seed_len = sizeof(xkey); 39 os_memcpy(xkey, seed, seed_len); 40 os_memset(xkey + seed_len, 0, 64 - seed_len); 51 /* XVAL = (XKEY + XSEED_j) mod 2^b */ 55 sha1_transform((u8 *) _t, xkey); 63 /* XKEY = (1 + XKEY + w_i) mod 2^b */ 66 carry += xkey[k] + xpos[k] [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/dga/ |
SDL_dgaevents.c | 81 XKeyEvent xkey; local 83 SDL_NAME(XDGAKeyEventToXKeyEvent)(&xevent.xkey, &xkey); 84 keycode = xkey.keycode; 86 printf("KeyPress (X11 keycode = 0x%X)\n", xkey.keycode); 99 if ( XLookupString(&xkey, keybuf, sizeof(keybuf), NULL, &state) ) { 117 XKeyEvent xkey; local 119 SDL_NAME(XDGAKeyEventToXKeyEvent)(&xevent.xkey, &xkey); 120 keycode = xkey.keycode [all...] |
/external/dropbear/libtomcrypt/src/ciphers/ |
rc2.c | 72 unsigned *xkey = skey->rc2.xkey; local 108 /* Phase 3 - copy to xkey in little-endian order */ 110 xkey[i] = (unsigned)tmp[2*i] + ((unsigned)tmp[2*i+1] << 8); 140 unsigned *xkey; local 147 xkey = skey->rc2.xkey; 155 x10 = (x10 + (x32 & ~x76) + (x54 & x76) + xkey[4*i+0]) & 0xFFFF; 158 x32 = (x32 + (x54 & ~x10) + (x76 & x10) + xkey[4*i+1]) & 0xFFFF; 161 x54 = (x54 + (x76 & ~x32) + (x10 & x32) + xkey[4*i+2]) & 0xFFFF 219 unsigned *xkey; local [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/ |
crypto_openssl.c | 107 u8 xkey[64]; local 113 if (seed_len > sizeof(xkey)) 114 seed_len = sizeof(xkey); 118 os_memcpy(xkey, seed, seed_len); 119 os_memset(xkey + seed_len, 0, 64 - seed_len); 130 /* XVAL = (XKEY + XSEED_j) mod 2^b */ 134 sha1_transform((u8 *) _t, xkey); 142 /* XKEY = (1 + XKEY + w_i) mod 2^b */ 145 carry += xkey[k] + xpos[k] [all...] |
sha1.c | 419 u8 xkey[64]; local 425 if (seed_len > sizeof(xkey)) 426 seed_len = sizeof(xkey); 430 os_memcpy(xkey, seed, seed_len); 431 os_memset(xkey + seed_len, 0, 64 - seed_len); 442 /* XVAL = (XKEY + XSEED_j) mod 2^b */ 446 SHA1Transform(_t, xkey); 454 /* XKEY = (1 + XKEY + w_i) mod 2^b */ 457 carry += xkey[k] + xpos[k] [all...] |
/external/wpa_supplicant_8/wpa_supplicant/tests/ |
test_eap_sim_common.c | 15 u8 xkey[] = { local 30 eap_sim_prf(xkey, buf, sizeof(buf));
|
/external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/x11/ |
NetscapePluginX11.cpp | 399 XKeyEvent& xKey = xEvent.xkey; 400 xKey.root = rootWindowID(); 401 xKey.subwindow = 0; 402 xKey.time = xTimeStamp(webEvent.timestamp()); 403 xKey.state = xKeyModifiers(webEvent); 404 xKey.keycode = webEvent.nativeVirtualKeyCode(); 406 xKey.same_screen = true; 410 xKey.x = 0; 411 xKey.y = 0 [all...] |
/external/wpa_supplicant_6/wpa_supplicant/tests/ |
test_eap_sim_common.c | 21 u8 xkey[] = { local 36 eap_sim_prf(xkey, buf, sizeof(buf));
|
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/engines/ |
RC2Engine.java | 65 int[] xKey = new int[128]; 69 xKey[i] = key[i] & 0xff; 79 x = xKey[len - 1]; 83 x = piTable[(x + xKey[index++]) & 255] & 0xff; 84 xKey[len++] = x; 91 x = piTable[xKey[128 - len] & (255 >> (7 & -bits))] & 0xff; 92 xKey[128 - len] = x; 96 x = piTable[x ^ xKey[i + len]] & 0xff; 97 xKey[i] = x; 105 newKey[i] = (xKey[2 * i] + (xKey[2 * i + 1] << 8)) [all...] |
/external/skia/src/utils/unix/ |
SkOSWindow_Unix.cpp | 127 KeySym keysym = XKeycodeToKeysym(dsp, evt.xkey.keycode, 0); 128 //SkDebugf("pressed key %i!\n\tKeySym:%i\n", evt.xkey.keycode, XKeycodeToKeysym(dsp, evt.xkey.keycode, 0)); 141 //SkDebugf("released key %i\n", evt.xkey.keycode); 142 this->handleKeyUp(XKeyToSkKey(XKeycodeToKeysym(dsp, evt.xkey.keycode, 0)));
|
/external/qemu/distrib/sdl-1.2.12/src/video/x11/ |
SDL_x11events.c | 311 (peekevent.xkey.keycode == event->xkey.keycode) && 312 ((peekevent.xkey.time-event->xkey.time) < 2) ) { 556 KeyCode keycode = xevent.xkey.keycode; 559 printf("KeyPress (X11 keycode = 0x%X)\n", xevent.xkey.keycode); 591 count = Xutf8LookupString(SDL_IC, &xevent.xkey, keydata, sizeof(keybuf), &xkeysym, &status); 601 count = Xutf8LookupString(SDL_IC, &xevent.xkey, keydata, count, &xkeysym, &status); 729 if ( XLookupString(&xevent.xkey, 749 KeyCode keycode = xevent.xkey.keycode 1230 XKeyEvent xkey; local [all...] |
/external/webkit/Source/WebCore/plugins/gtk/ |
PluginViewGtk.cpp | 285 xEvent.xkey.root = getRootWindow(m_parentFrame.get()); 286 xEvent.xkey.subwindow = 0; // we have no child window 287 xEvent.xkey.time = event->timeStamp(); 288 xEvent.xkey.state = gdkEvent->state; // GdkModifierType mirrors xlib state masks 289 xEvent.xkey.keycode = gdkEvent->hardware_keycode; 290 xEvent.xkey.same_screen = true; 296 xEvent.xkey.x = 0; 297 xEvent.xkey.y = 0; 298 xEvent.xkey.x_root = 0; 299 xEvent.xkey.y_root = 0 [all...] |
/external/webkit/Source/WebCore/plugins/qt/ |
PluginViewQt.cpp | 425 xEvent->xkey.root = QX11Info::appRootWindow(); 426 xEvent->xkey.subwindow = 0; // we have no child window 427 xEvent->xkey.time = event->timeStamp(); 428 xEvent->xkey.state = keyEvent->nativeModifiers(); 429 xEvent->xkey.keycode = keyEvent->nativeScanCode(); 435 if (QWebPagePrivate::drtRun && !xEvent->xkey.keycode) { 439 xEvent->xkey.keycode = XKeysymToKeycode(QX11Info::display(), XStringToKeysym(keyText.toUtf8().constData())); 442 xEvent->xkey.same_screen = true; 448 xEvent->xkey.x = 0; 449 xEvent->xkey.y = 0 [all...] |
/external/chromium/chrome/browser/chromeos/ |
system_key_event_listener.cc | 97 int32 keycode = xevent->xkey.keycode; 100 if (!(xevent->xkey.state & (Mod1Mask | ShiftMask | ControlMask))) {
|
/external/qemu/distrib/sdl-1.2.12/src/video/Xext/extensions/ |
xf86dga.h | 136 SDL_NAME(XDGAKeyEvent) xkey; member in union:__anon10844
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/ |
eap_sim_common.c | 117 u8 xkey[SHA1_MAC_LEN]; local 147 /* XKEY' = SHA1(Identity|counter|NONCE_S|MK) */ 148 sha1_vector(4, addr, len, xkey); 149 wpa_hexdump(MSG_DEBUG, "EAP-SIM: XKEY'", xkey, SHA1_MAC_LEN); 151 if (eap_sim_prf(xkey, buf, sizeof(buf)) < 0) {
|
/external/wpa_supplicant_8/src/eap_common/ |
eap_sim_common.c | 112 u8 xkey[SHA1_MAC_LEN]; local 142 /* XKEY' = SHA1(Identity|counter|NONCE_S|MK) */ 143 sha1_vector(4, addr, len, xkey); 144 wpa_hexdump(MSG_DEBUG, "EAP-SIM: XKEY'", xkey, SHA1_MAC_LEN); 146 if (eap_sim_prf(xkey, buf, sizeof(buf)) < 0) {
|
/external/webkit/Tools/DumpRenderTree/unix/TestNetscapePlugin/ |
TestNetscapePlugin.cpp | 294 pluginLog(instance, "keyUp '%c'", keyEventToChar(&evt->xkey)); 297 pluginLog(instance, "keyDown '%c'", keyEventToChar(&evt->xkey));
|
/external/qemu/distrib/sdl-1.2.12/src/video/cybergfx/ |
SDL_amigaevents.c | 439 fprintf(stderr, "Translating key 0x%.4x (%d)\n", xsym, xkey->keycode); 523 if ( XLookupString(xkey, (char *)keybuf, sizeof(keybuf),
|
/external/quake/quake/src/QW/client/ |
gl_vidlinux_x11.c | 316 keyq[keyq_head].key = XLateKey(&x_event.xkey); 321 keyq[keyq_head].key = XLateKey(&x_event.xkey);
|
vid_x.c | 794 keyq[keyq_head].key = XLateKey(&x_event.xkey);
799 keyq[keyq_head].key = XLateKey(&x_event.xkey);
|
/external/quake/quake/src/WinQuake/ |
vid_sunx.cpp | 936 Key_Event(XLateKey(&x_event.xkey), true); 939 Key_Event(XLateKey(&x_event.xkey), false);
|
vid_sunxil.cpp | 835 Key_Event(XLateKey(&x_event.xkey), true); 838 Key_Event(XLateKey(&x_event.xkey), false);
|
vid_x.cpp | 869 keyq[keyq_head].key = XLateKey(&x_event.xkey); 874 keyq[keyq_head].key = XLateKey(&x_event.xkey);
|