Searched refs:keybuf (Results 1 - 14 of 14) sorted by relevance

/external/dropbear/
H A Dcli-authpubkey.c64 buffer* keybuf = NULL; local
77 keybuf = buf_new(MAX_PUBKEY_SIZE);
92 keybuf->pos = keybuf->len = 0;
93 buf_put_pub_key(keybuf, keyitem->key, keytype);
94 buf_setpos(keybuf, 0);
95 buf_incrpos(keybuf, 4); /* first int is the length of the remainder (ie
100 if (keybuf->len-4 != remotelen) {
101 TRACE(("lengths differed: localh %d remote %d", keybuf->len, remotelen))
105 if (memcmp(buf_getptr(keybuf, remotele
[all...]
H A Dkeyimport.c543 unsigned char keybuf[32];
548 MD5Final(keybuf, &md5c);
551 MD5Update(&md5c, keybuf, 16);
554 MD5Final(keybuf+16, &md5c);
559 des3_decrypt_pubkey_ossh(keybuf, (unsigned char *)key->iv,
563 memset(keybuf, 0, sizeof(keybuf));
1349 unsigned char keybuf[32], iv[8];
1359 MD5Final(keybuf, &md5c);
1363 MD5Update(&md5c, keybuf, 1
[all...]
/external/qemu/distrib/sdl-1.2.12/src/video/dga/
H A DSDL_dgaevents.c97 char keybuf[32]; local
99 if ( XLookupString(&xkey, keybuf, sizeof(keybuf), NULL, &state) ) {
106 keysym.unicode = (Uint8)keybuf[0];
/external/qemu/distrib/sdl-1.2.12/src/video/cybergfx/
H A DSDL_amigaevents.c522 unsigned char keybuf[32];
523 if ( XLookupString(xkey, (char *)keybuf, sizeof(keybuf),
525 keysym->unicode = keybuf[0];
/external/openssl/crypto/pem/
H A Dpvkfmt.c733 unsigned char keybuf[20]; local
751 if (!derive_pvk_key(keybuf, p, saltlen,
761 EVP_DecryptInit_ex(&cctx, EVP_rc4(), NULL, keybuf, NULL);
768 memset(keybuf + 5, 0, 11);
769 EVP_DecryptInit_ex(&cctx, EVP_rc4(), NULL, keybuf,
771 OPENSSL_cleanse(keybuf, 20);
784 OPENSSL_cleanse(keybuf, 20);
891 unsigned char keybuf[20]; local
903 if (!derive_pvk_key(keybuf, salt, PVK_SALTLEN,
907 memset(keybuf
[all...]
/external/qemu/distrib/sdl-1.2.12/src/video/x11/
H A DSDL_x11events.c583 char keybuf[32]; local
584 char *keydata = keybuf;
591 count = Xutf8LookupString(SDL_IC, &xevent.xkey, keydata, sizeof(keybuf), &xkeysym, &status);
712 if (keydata != NULL && keybuf != keydata) {
723 char keybuf[32]; local
730 keybuf, sizeof(keybuf),
738 keysym.unicode = (Uint8)keybuf[0];
1227 char keybuf[32]; local
1274 if ( XLookupString(&xkey, keybuf, sizeo
[all...]
/external/quake/quake/src/WinQuake/
H A Dsys_dos.cpp51 static unsigned char keybuf[KEYBUF_SIZE]; variable
149 keybuf[keybuf_head] = dos_inportb(0x60);
152 if (scantokey[keybuf[keybuf_head]&0x7f] == K_CTRL)
153 ctrl=keybuf[keybuf_head]&0x80;
154 if (ctrl && scantokey[keybuf[keybuf_head]&0x7f] == 'c')
494 k = keybuf[keybuf_tail++];
499 next = keybuf[(keybuf_tail-2)&(KEYBUF_SIZE-1)];
511 if ( keybuf[(keybuf_tail-2)&(KEYBUF_SIZE-1)]==0xe0 )
517 if (k==0xc5 && keybuf[(keybuf_tail-2)&(KEYBUF_SIZE-1)] == 0x9d)
/external/sqlite/android/
H A Dsqlite3_android.cpp372 char keybuf[1024]; local
373 uint32_t result = ucol_getSortKey(collator, token, -1, (uint8_t*)keybuf, sizeof(keybuf)-1);
374 if (result > sizeof(keybuf)) {
382 base16Encode(base16buf, keybuf, keysize);
/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/
H A Dikev2_common.c702 u8 *keybuf, *pos; local
721 keybuf = os_malloc(keybuf_len);
722 if (keybuf == NULL)
726 data, data_len, keybuf, keybuf_len)) {
727 os_free(keybuf);
731 pos = keybuf;
788 os_free(keybuf);
/external/qemu/block/
H A Dqcow.c179 uint8_t keybuf[16]; local
182 memset(keybuf, 0, 16);
189 keybuf[i] = key[i];
193 if (AES_set_encrypt_key(keybuf, 128, &s->aes_encrypt_key) != 0)
195 if (AES_set_decrypt_key(keybuf, 128, &s->aes_decrypt_key) != 0)
H A Dqcow2.c272 uint8_t keybuf[16]; local
275 memset(keybuf, 0, 16);
282 keybuf[i] = key[i];
286 if (AES_set_encrypt_key(keybuf, 128, &s->aes_encrypt_key) != 0)
288 if (AES_set_decrypt_key(keybuf, 128, &s->aes_decrypt_key) != 0)
/external/qemu/distrib/sdl-1.2.12/src/video/fbcon/
H A DSDL_fbevents.c987 unsigned char keybuf[BUFSIZ]; local
993 nread = read(keyboard_fd, keybuf, BUFSIZ);
995 scancode = keybuf[i] & 0x7F;
996 if ( keybuf[i] & 0x80 ) {
/external/qemu/distrib/sdl-1.2.12/src/video/ps2gs/
H A DSDL_gsevents.c762 unsigned char keybuf[BUFSIZ]; local
768 nread = read(keyboard_fd, keybuf, BUFSIZ);
770 scancode = keybuf[i] & 0x7F;
771 if ( keybuf[i] & 0x80 ) {
/external/qemu/distrib/sdl-1.2.12/src/video/windx5/
H A DSDL_dx5events.c272 static void handle_keyboard(const int numevents, DIDEVICEOBJECTDATA *keybuf) argument
279 if ( keybuf[i].dwData & 0x80 ) {
281 TranslateKey(keybuf[i].dwOfs, &keysym, 1));
284 TranslateKey(keybuf[i].dwOfs, &keysym, 0));

Completed in 338 milliseconds