Home
last modified time | relevance | path

Searched refs:key2 (Results 1 – 25 of 31) sorted by relevance

12

/dragonfly/sbin/hammer/
H A Dcmd_show.c522 if (key1->localization < key2->localization) in hammer_btree_cmp()
527 if (key1->obj_id < key2->obj_id) in hammer_btree_cmp()
529 if (key1->obj_id > key2->obj_id) in hammer_btree_cmp()
532 if (key1->rec_type < key2->rec_type) in hammer_btree_cmp()
534 if (key1->rec_type > key2->rec_type) in hammer_btree_cmp()
537 if (key1->key < key2->key) in hammer_btree_cmp()
539 if (key1->key > key2->key) in hammer_btree_cmp()
543 if (key2->create_tid == 0) in hammer_btree_cmp()
547 if (key2->create_tid == 0) in hammer_btree_cmp()
549 if (key1->create_tid < key2->create_tid) in hammer_btree_cmp()
[all …]
/dragonfly/stand/lib/
H A Dhammer1.c226 if (key1->localization < key2->localization) in hammer_btree_cmp()
231 if (key1->obj_id < key2->obj_id) in hammer_btree_cmp()
233 if (key1->obj_id > key2->obj_id) in hammer_btree_cmp()
236 if (key1->rec_type < key2->rec_type) in hammer_btree_cmp()
238 if (key1->rec_type > key2->rec_type) in hammer_btree_cmp()
241 if (key1->key < key2->key) in hammer_btree_cmp()
243 if (key1->key > key2->key) in hammer_btree_cmp()
251 if (key2->create_tid == 0) in hammer_btree_cmp()
255 if (key2->create_tid == 0) in hammer_btree_cmp()
257 if (key1->create_tid < key2->create_tid) in hammer_btree_cmp()
[all …]
/dragonfly/lib/libc/citrus/
H A Dcitrus_pivot_factory.c109 char key1[LINE_MAX], key2[LINE_MAX], data[LINE_MAX]; in convert_line() local
137 snprintf(key2, sizeof(key2), "%.*s", (int)(p - line), line); in convert_line()
152 return (_db_factory_add32_by_s(se->se_df, key2, val)); in convert_line()
/dragonfly/sys/vfs/hammer/
H A Dhammer_btree.c2834 if (key1->obj_id < key2->obj_id) in hammer_btree_cmp()
2836 if (key1->obj_id > key2->obj_id) in hammer_btree_cmp()
2839 if (key1->rec_type < key2->rec_type) in hammer_btree_cmp()
2841 if (key1->rec_type > key2->rec_type) in hammer_btree_cmp()
2844 if (key1->key < key2->key) in hammer_btree_cmp()
2846 if (key1->key > key2->key) in hammer_btree_cmp()
2854 if (key2->create_tid == 0) in hammer_btree_cmp()
2858 if (key2->create_tid == 0) in hammer_btree_cmp()
2908 dest->rec_type = key2->rec_type; in hammer_make_separator()
2909 dest->key = key2->key; in hammer_make_separator()
[all …]
/dragonfly/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300_keycache.c194 u_int32_t key0, key1, key2, key3, key4; in ar9300_set_key_cache_entry() local
259 key2 = LE_READ_4(k->kv_val + 6) ^ xor_mask; in ar9300_set_key_cache_entry()
299 OS_REG_WRITE(ah, AR_KEYTABLE_KEY2(entry), key2); in ar9300_set_key_cache_entry()
365 OS_REG_WRITE(ah, AR_KEYTABLE_KEY2(entry), key2); in ar9300_set_key_cache_entry()
450 u_int32_t key0, key1, key2, key3, key4; in ar9300_check_key_cache_entry() local
509 key2 = LE_READ_4(k->kv_val + 6) ^ xorMask; in ar9300_check_key_cache_entry()
533 (OS_REG_READ(ah, AR_KEYTABLE_KEY2(entry)) == key2) && in ar9300_check_key_cache_entry()
582 (OS_REG_READ(ah, AR_KEYTABLE_KEY2(entry)) == key2) && in ar9300_check_key_cache_entry()
/dragonfly/sys/dev/netif/ath/ath_hal/ar5210/
H A Dar5210_keycache.c112 uint32_t key0, key1, key2, key3, key4; in ar5210SetKeyCacheEntry() local
137 key2 = LE_READ_4(k->kv_val+6) ^ xorMask; in ar5210SetKeyCacheEntry()
151 OS_REG_WRITE(ah, AR_KEYTABLE_KEY2(entry), key2); in ar5210SetKeyCacheEntry()
/dragonfly/sys/dev/netif/ath/ath_hal/ar5211/
H A Dar5211_keycache.c119 uint32_t key0, key1, key2, key3, key4; in ar5211SetKeyCacheEntry() local
158 key2 = LE_READ_4(k->kv_val+6) ^ xorMask; in ar5211SetKeyCacheEntry()
173 OS_REG_WRITE(ah, AR_KEYTABLE_KEY2(entry), key2); in ar5211SetKeyCacheEntry()
/dragonfly/contrib/cryptsetup/tests/
H A Dapi-test.c542 char key[128], key2[128], path[128]; in AddDevicePlain() local
584 memset(key2, 0, key_size); in AddDevicePlain()
587 …FAIL_(crypt_volume_key_get(cd, CRYPT_ANY_SLOT, key2, &key_size, passphrase, strlen(passphrase)), "… in AddDevicePlain()
589 OK_(crypt_volume_key_get(cd, CRYPT_ANY_SLOT, key2, &key_size, passphrase, strlen(passphrase))); in AddDevicePlain()
591 OK_(memcmp(key, key2, key_size)); in AddDevicePlain()
673 char key[128], key2[128]; in AddDeviceLuks() local
713 EQ_(6, crypt_volume_key_get(cd, CRYPT_ANY_SLOT, key2, &key_size, passphrase, strlen(passphrase))); in AddDeviceLuks()
714 OK_(crypt_volume_key_verify(cd, key2, key_size)); in AddDeviceLuks()
716 OK_(memcmp(key, key2, key_size)); in AddDeviceLuks()
/dragonfly/sys/dev/netif/ath/ath_hal/ar5212/
H A Dar5212_keycache.c160 uint32_t key0, key1, key2, key3, key4; in ar5212SetKeyCacheEntry() local
217 key2 = LE_READ_4(k->kv_val+6) ^ xorMask; in ar5212SetKeyCacheEntry()
240 OS_REG_WRITE(ah, AR_KEYTABLE_KEY2(entry), key2); in ar5212SetKeyCacheEntry()
294 OS_REG_WRITE(ah, AR_KEYTABLE_KEY2(entry), key2); in ar5212SetKeyCacheEntry()
/dragonfly/crypto/openssh/
H A Dhmac.c177 u_char *key2 = "Jefe"; in main() local
192 hmac_test(key2, strlen(key2), data2, strlen(data2), dig2, sizeof(dig2)); in main()
/dragonfly/sys/opencrypto/
H A Dxform.c140 rijndael_ctx key2; member
151 twofish_ctx key2; member
156 serpent_ctx key2; member
651 rijndael_encrypt(&ctx->key2, iv, iv); in aes_xts_reinit()
706 rijndael_set_key(&ctx->key2, key + (len / 2), len * 4); in aes_xts_setkey()
868 twofish_encrypt(&ctx->key2, iv, iv); in twofish_xts_reinit()
923 twofish_set_key(&ctx->key2, key + (len / 2), len * 4); in twofish_xts_setkey()
948 serpent_encrypt(&ctx->key2, iv, iv); in serpent_xts_reinit()
1003 serpent_set_key(&ctx->key2, key + (len / 2), len * 4); in serpent_xts_setkey()
/dragonfly/contrib/dialog/
H A Dcalendar.c863 int key2; in dialog_calendar() local
883 if ((key2 = dlg_char_to_button(key, buttons)) >= 0) { in dialog_calendar()
884 result = key2; in dialog_calendar()
923 key2 = -1; in dialog_calendar()
925 if ((key2 = dlg_ok_buttoncode(Mouse2Key(key))) >= 0) { in dialog_calendar()
926 result = key2; in dialog_calendar()
931 key2 = 1; in dialog_calendar()
939 if (key2 < 0) { in dialog_calendar()
H A Drangebox.c302 int key2; in dialog_rangebox() local
318 if ((key2 = dlg_char_to_button(key, buttons)) >= 0) { in dialog_rangebox()
319 result = key2; in dialog_rangebox()
H A Dtimebox.c290 int key2; in dialog_timebox() local
303 if ((key2 = dlg_char_to_button(key, buttons)) >= 0) { in dialog_timebox()
304 result = key2; in dialog_timebox()
H A Dchecklist.c196 int i, j, key2, found, x, y, cur_x, cur_y; in dlg_checklist() local
597 if ((key2 = dlg_ok_buttoncode(key)) >= 0) { in dlg_checklist()
598 result = key2; in dlg_checklist()
H A Dtreeview.c201 int i, j, key2, found, x, y, cur_y, box_x, box_y; in dlg_treeview() local
559 if ((key2 = dlg_ok_buttoncode(key)) >= 0) { in dlg_treeview()
560 result = key2; in dlg_treeview()
/dragonfly/crypto/libressl/crypto/evp/
H A De_aes.c92 size_t length, const AES_KEY *key1, const AES_KEY *key2,
129 size_t len, const AES_KEY *key1, const AES_KEY *key2,
132 size_t len, const AES_KEY *key1, const AES_KEY *key2,
186 size_t length, const AES_KEY *key1, const AES_KEY *key2,
326 xctx->xts.key2 = &xctx->ks2; in aesni_xts_init_key()
1762 xctx->xts.key2 = NULL; in aes_xts_ctrl()
1775 if (xctx->xts.key2) { in aes_xts_ctrl()
1776 if (xctx->xts.key2 != &xctx->ks2) in aes_xts_ctrl()
1778 xctx_out->xts.key2 = &xctx_out->ks2; in aes_xts_ctrl()
1846 xctx->xts.key2 = &xctx->ks2; in aes_xts_init_key()
[all …]
/dragonfly/tools/tools/ath/athregs/
H A Ddumpregs.c670 u_int32_t key0, key1, key2, key3, key4; in ath_hal_dumpkeycache() local
691 key2 = OS_REG_READ(ah, AR_KEYTABLE_KEY2(entry)); in ath_hal_dumpkeycache()
708 , (key2 >> 0) & 0xff in ath_hal_dumpkeycache()
709 , (key2 >> 8) & 0xff in ath_hal_dumpkeycache()
710 , (key2 >> 16) & 0xff in ath_hal_dumpkeycache()
711 , (key2 >> 24) & 0xff in ath_hal_dumpkeycache()
/dragonfly/lib/libcrypt/
H A Dblowfish.c665 char key2[] = "abcdefghijklmnopqrstuvwxyz";
685 blf_key(&c, (u_int8_t *) key2, strlen(key2));
/dragonfly/lib/libssh/openbsd-compat/
H A Dblowfish.c662 char key2[] = "abcdefghijklmnopqrstuvwxyz";
682 blf_key(&c, (u_int8_t *) key2, strlen(key2));
/dragonfly/contrib/gdb-7/gdb/
H A Dmacrotab.c342 struct macro_key *key2 = (struct macro_key *) untyped_key2; in macro_tree_compare() local
344 return key_compare (key1, key2->name, key2->start_file, key2->start_line); in macro_tree_compare()
/dragonfly/crypto/libressl/crypto/modes/
H A Dmodes_lcl.h102 void *key1, *key2; member
H A Dxts128.c74 (*ctx->block2)(tweak.c,tweak.c,ctx->key2); in CRYPTO_xts128_encrypt()
/dragonfly/contrib/wpa_supplicant/src/crypto/
H A Dcrypto_module_tests.c1043 static const u8 key2[] = variable
1226 if (sha1_prf(key2, sizeof(key2), "prefix", data2, sizeof(data2), in test_sha1()
/dragonfly/crypto/libressl/include/openssl/
H A Ddes.h206 void DES_string_to_2keys(const char *str,DES_cblock *key1,DES_cblock *key2);

12