key 324 arch/i386/i386/via.c viac3_cbc(void *cw, void *src, void *dst, void *key, int rep, key 335 arch/i386/i386/via.c : "a" (iv), "b" (key), "c" (rep), "d" (cw), "S" (src), "D" (dst) key 359 arch/i386/i386/via.c u_int32_t *key; key 375 arch/i386/i386/via.c key = ses->ses_ekey; key 394 arch/i386/i386/via.c key = ses->ses_dkey; key 420 arch/i386/i386/via.c viac3_cbc(&sc->op_cw, sc->op_buf, sc->op_buf, key, key 503 arch/i386/pci/glxsb.c uint32_t pdst, void *key, int len, void *iv) key 531 arch/i386/pci/glxsb.c bus_space_write_region_4(sc->sc_iot, sc->sc_ioh, SB_WKEY, key, 4); key 91 compat/common/kern_ipc_10.c SCARG(&semget_args, key) = SCARG(uap, a2); key 156 compat/common/kern_ipc_10.c SCARG(&shmget_args, key) = SCARG(uap, a2); key 212 compat/common/kern_ipc_10.c SCARG(&msgget_args, key) = SCARG(uap, a2); key 41 compat/common/kern_ipc_23.c (to)->type##_perm.key = (from)->type##_perm.key; \ key 48 compat/common/kern_ipc_35.c SCARG(&shmget_args, key) = SCARG(uap, key); key 93 compat/common/kern_ipc_35.c (to)->type##_perm.key = (from)->type##_perm.key; \ key 224 compat/hpux/hpux.h long key; /* key */ key 697 compat/hpux/hpux_compat.c sbuf.shm_perm.key = shp->shm_perm.key; key 162 compat/linux/linux_ipc.c bpp->key = lpp->l_key; key 177 compat/linux/linux_ipc.c lpp->l_key = bpp->key; key 259 compat/linux/linux_ipc.c SCARG(&bsa, key) = (key_t)SCARG(uap, a1); key 460 compat/linux/linux_ipc.c SCARG(&bma, key) = (key_t)SCARG(uap, a1); key 594 compat/linux/linux_ipc.c SCARG(&bsa, key) = SCARG(uap, a1); key 293 compat/osf1/osf1_syscallargs.h syscallarg(osf1_key_t) key; key 104 compat/svr4/svr4_ipc.c bpp->key = spp->key; key 118 compat/svr4/svr4_ipc.c spp->key = bpp->key; key 259 compat/svr4/svr4_ipc.c syscallarg(svr4_key_t) key; key 273 compat/svr4/svr4_ipc.c SCARG(&ap, key) = SCARG(uap, key); key 438 compat/svr4/svr4_ipc.c syscallarg(svr4_key_t) key; key 451 compat/svr4/svr4_ipc.c SCARG(&ap, key) = SCARG(uap, key); key 627 compat/svr4/svr4_ipc.c syscallarg(key_t) key; key 641 compat/svr4/svr4_ipc.c SCARG(&ap, key) = SCARG(uap, key); key 50 compat/svr4/svr4_ipc.h svr4_key_t key; key 30 crypto/arc4.c rc4_keysetup(struct rc4_ctx *ctx, u_char *key, u_int32_t klen) key 39 crypto/arc4.c y = (key[x] + ctx->state[i] + y) % RC4STATE; key 416 crypto/blf.c Blowfish_expand0state(blf_ctx *c, const u_int8_t *key, u_int16_t keybytes) key 427 crypto/blf.c temp = Blowfish_stream2word(key, keybytes, &j); key 454 crypto/blf.c const u_int8_t *key, u_int16_t keybytes) key 465 crypto/blf.c temp = Blowfish_stream2word(key, keybytes, &j); key 25 crypto/cast.c t = ROL(key->xkey[i] + r, key->xkey[i+16]); \ key 29 crypto/cast.c t = ROL(key->xkey[i] ^ r, key->xkey[i+16]); \ key 33 crypto/cast.c t = ROL(key->xkey[i] - r, key->xkey[i+16]); \ key 41 crypto/cast.c cast_encrypt(cast_key *key, u_int8_t *inblock, u_int8_t *outblock) key 64 crypto/cast.c if (key->rounds > 12) { key 87 crypto/cast.c cast_decrypt(cast_key *key, u_int8_t *inblock, u_int8_t *outblock) key 98 crypto/cast.c if (key->rounds > 12) { key 133 crypto/cast.c cast_setkey(cast_key *key, u_int8_t *rawkey, int keybytes) key 139 crypto/cast.c key->rounds = (keybytes <= 10 ? 12 : 16); key 200 crypto/cast.c key->xkey[i+0] = cast_sbox5[U_INT8_Ta(t[2])] ^ key 204 crypto/cast.c key->xkey[i+1] = cast_sbox5[U_INT8_Tc(t[2])] ^ key 208 crypto/cast.c key->xkey[i+2] = cast_sbox5[U_INT8_Ta(t[3])] ^ key 212 crypto/cast.c key->xkey[i+3] = cast_sbox5[U_INT8_Tc(t[3])] ^ key 219 crypto/cast.c key->xkey[i+0] = cast_sbox5[U_INT8_Td(t[0])] ^ key 223 crypto/cast.c key->xkey[i+1] = cast_sbox5[U_INT8_Tb(t[0])] ^ key 227 crypto/cast.c key->xkey[i+2] = cast_sbox5[U_INT8_Td(t[1])] ^ key 231 crypto/cast.c key->xkey[i+3] = cast_sbox5[U_INT8_Tb(t[1])] ^ key 239 crypto/cast.c key->xkey[i+0] ^= cast_sbox5[U_INT8_Tc(z[0])]; key 240 crypto/cast.c key->xkey[i+1] ^= cast_sbox6[U_INT8_Tc(z[1])]; key 241 crypto/cast.c key->xkey[i+2] ^= cast_sbox7[U_INT8_Tb(z[2])]; key 242 crypto/cast.c key->xkey[i+3] ^= cast_sbox8[U_INT8_Ta(z[3])]; key 245 crypto/cast.c key->xkey[i+0] ^= cast_sbox5[U_INT8_Ta(x[2])]; key 246 crypto/cast.c key->xkey[i+1] ^= cast_sbox6[U_INT8_Tb(x[3])]; key 247 crypto/cast.c key->xkey[i+2] ^= cast_sbox7[U_INT8_Td(x[0])]; key 248 crypto/cast.c key->xkey[i+3] ^= cast_sbox8[U_INT8_Td(x[1])]; key 251 crypto/cast.c key->xkey[i+0] ^= cast_sbox5[U_INT8_Tb(z[2])]; key 252 crypto/cast.c key->xkey[i+1] ^= cast_sbox6[U_INT8_Ta(z[3])]; key 253 crypto/cast.c key->xkey[i+2] ^= cast_sbox7[U_INT8_Tc(z[0])]; key 254 crypto/cast.c key->xkey[i+3] ^= cast_sbox8[U_INT8_Tc(z[1])]; key 257 crypto/cast.c key->xkey[i+0] ^= cast_sbox5[U_INT8_Td(x[0])]; key 258 crypto/cast.c key->xkey[i+1] ^= cast_sbox6[U_INT8_Td(x[1])]; key 259 crypto/cast.c key->xkey[i+2] ^= cast_sbox7[U_INT8_Ta(x[2])]; key 260 crypto/cast.c key->xkey[i+3] ^= cast_sbox8[U_INT8_Tb(x[3])]; key 264 crypto/cast.c key->xkey[i+0] &= 31; key 265 crypto/cast.c key->xkey[i+1] &= 31; key 266 crypto/cast.c key->xkey[i+2] &= 31; key 267 crypto/cast.c key->xkey[i+3] &= 31; key 18 crypto/cast.h void cast_setkey(cast_key * key, u_int8_t * rawkey, int keybytes); key 19 crypto/cast.h void cast_encrypt(cast_key * key, u_int8_t * inblock, u_int8_t * outblock); key 20 crypto/cast.h void cast_decrypt(cast_key * key, u_int8_t * inblock, u_int8_t * outblock); key 66 crypto/cryptodev.c caddr_t key; key 227 crypto/cryptodev.c if ((error = copyin(sop->key, crie.cri_key, key 374 crypto/cryptodev.c crde->crd_key = cse->key; key 739 crypto/cryptodev.c csecreate(struct fcrypt *fcr, u_int64_t sid, caddr_t key, u_int64_t keylen, key 749 crypto/cryptodev.c cse->key = key; key 768 crypto/cryptodev.c if (cse->key) key 769 crypto/cryptodev.c FREE(cse->key, M_XDATA); key 260 crypto/cryptodev.h caddr_t key; key 174 crypto/des.h void des_random_seed(des_cblock key); key 176 crypto/des.h int des_read_password(des_cblock *key,char *prompt,int verify); key 180 crypto/des.h void des_set_odd_parity(des_cblock *key); key 181 crypto/des.h int des_is_weak_key(des_cblock *key); key 182 crypto/des.h int des_set_key(des_cblock *key,des_key_schedule schedule); key 183 crypto/des.h int des_key_sched(des_cblock *key,des_key_schedule schedule); key 184 crypto/des.h void des_string_to_key(char *str,des_cblock *key); key 197 crypto/des.h int des_new_random_key(des_cblock *key); key 198 crypto/des.h void des_init_random_number_generator(des_cblock *key); key 199 crypto/des.h void des_set_random_generator_seed(des_cblock *key); key 81 crypto/michael.c michael_key(const u_int8_t *key, MICHAEL_CTX *ctx) key 84 crypto/michael.c htole32(VAL32(key)); key 86 crypto/michael.c htole32(VAL32(key + MICHAEL_RAW_BLOCK_LENGTH)); key 1224 crypto/rijndael.c rijndael_set_key_enc_only(rijndael_ctx *ctx, u_char *key, int bits) key 1228 crypto/rijndael.c rounds = rijndaelKeySetupEnc(ctx->ek, key, bits); key 1240 crypto/rijndael.c rijndael_set_key(rijndael_ctx *ctx, u_char *key, int bits) key 1244 crypto/rijndael.c rounds = rijndaelKeySetupEnc(ctx->ek, key, bits); key 1247 crypto/rijndael.c if (rijndaelKeySetupDec(ctx->dk, key, bits) != rounds) key 62 crypto/set_key.c static int check_parity(des_cblock (*key)); key 69 crypto/set_key.c void des_set_odd_parity(key) key 70 crypto/set_key.c des_cblock (*key); key 75 crypto/set_key.c (*key)[i]=odd_parity[(*key)[i]]; key 78 crypto/set_key.c static int check_parity(key) key 79 crypto/set_key.c des_cblock (*key); key 85 crypto/set_key.c if ((*key)[i] != odd_parity[(*key)[i]]) key 121 crypto/set_key.c int des_is_weak_key(key) key 122 crypto/set_key.c des_cblock (*key); key 131 crypto/set_key.c if (bcmp(weak_keys[i],key,sizeof(des_cblock)) == 0) return(1); key 151 crypto/set_key.c int des_set_key(key, schedule) key 152 crypto/set_key.c des_cblock (*key); key 162 crypto/set_key.c if (!check_parity(key)) key 165 crypto/set_key.c if (des_is_weak_key(key)) key 170 crypto/set_key.c in=(unsigned char *)key; key 231 crypto/set_key.c int des_key_sched(key, schedule) key 232 crypto/set_key.c des_cblock (*key); key 235 crypto/set_key.c return(des_set_key(key,schedule)); key 65 crypto/skipjack.c subkey_table_gen (u_int8_t *key, u_int8_t **key_tables) key 70 crypto/skipjack.c u_int8_t key_byte = key [k]; key 16 crypto/skipjack.h extern void skipjack_forwards(u_int8_t *plain, u_int8_t *cipher, u_int8_t **key); key 17 crypto/skipjack.h extern void skipjack_backwards(u_int8_t *cipher, u_int8_t *plain, u_int8_t **key); key 18 crypto/skipjack.h extern void subkey_table_gen(u_int8_t *key, u_int8_t **key_tables); key 288 crypto/xform.c des1_encrypt(caddr_t key, u_int8_t *blk) key 290 crypto/xform.c des_ecb_encrypt(blk, blk, key, 1); key 294 crypto/xform.c des1_decrypt(caddr_t key, u_int8_t *blk) key 296 crypto/xform.c des_ecb_encrypt(blk, blk, key, 0); key 300 crypto/xform.c des1_setkey(u_int8_t **sched, u_int8_t *key, int len) key 305 crypto/xform.c if (des_set_key(key, *sched) < 0) { key 322 crypto/xform.c des3_encrypt(caddr_t key, u_int8_t *blk) key 324 crypto/xform.c des_ecb3_encrypt(blk, blk, key, key + 128, key + 256, 1); key 328 crypto/xform.c des3_decrypt(caddr_t key, u_int8_t *blk) key 330 crypto/xform.c des_ecb3_encrypt(blk, blk, key + 256, key + 128, key, 0); key 334 crypto/xform.c des3_setkey(u_int8_t **sched, u_int8_t *key, int len) key 339 crypto/xform.c if (des_set_key(key, *sched) < 0 || des_set_key(key + 8, *sched + 128) key 340 crypto/xform.c < 0 || des_set_key(key + 16, *sched + 256) < 0) { key 357 crypto/xform.c blf_encrypt(caddr_t key, u_int8_t *blk) key 359 crypto/xform.c blf_ecb_encrypt((blf_ctx *) key, blk, 8); key 363 crypto/xform.c blf_decrypt(caddr_t key, u_int8_t *blk) key 365 crypto/xform.c blf_ecb_decrypt((blf_ctx *) key, blk, 8); key 369 crypto/xform.c blf_setkey(u_int8_t **sched, u_int8_t *key, int len) key 373 crypto/xform.c blf_key((blf_ctx *)*sched, key, len); key 387 crypto/xform.c null_setkey(u_int8_t **sched, u_int8_t *key, int len) key 398 crypto/xform.c null_encrypt(caddr_t key, u_int8_t *blk) key 403 crypto/xform.c null_decrypt(caddr_t key, u_int8_t *blk) key 408 crypto/xform.c cast5_encrypt(caddr_t key, u_int8_t *blk) key 410 crypto/xform.c cast_encrypt((cast_key *) key, blk, blk); key 414 crypto/xform.c cast5_decrypt(caddr_t key, u_int8_t *blk) key 416 crypto/xform.c cast_decrypt((cast_key *) key, blk, blk); key 420 crypto/xform.c cast5_setkey(u_int8_t **sched, u_int8_t *key, int len) key 424 crypto/xform.c cast_setkey((cast_key *)*sched, key, len); key 438 crypto/xform.c skipjack_encrypt(caddr_t key, u_int8_t *blk) key 440 crypto/xform.c skipjack_forwards(blk, blk, (u_int8_t **) key); key 444 crypto/xform.c skipjack_decrypt(caddr_t key, u_int8_t *blk) key 446 crypto/xform.c skipjack_backwards(blk, blk, (u_int8_t **) key); key 450 crypto/xform.c skipjack_setkey(u_int8_t **sched, u_int8_t *key, int len) key 455 crypto/xform.c subkey_table_gen(key, (u_int8_t **) *sched); key 477 crypto/xform.c rijndael128_encrypt(caddr_t key, u_int8_t *blk) key 479 crypto/xform.c rijndael_encrypt((rijndael_ctx *) key, (u_char *) blk, (u_char *) blk); key 483 crypto/xform.c rijndael128_decrypt(caddr_t key, u_int8_t *blk) key 485 crypto/xform.c rijndael_decrypt((rijndael_ctx *) key, (u_char *) blk, (u_char *) blk); key 489 crypto/xform.c rijndael128_setkey(u_int8_t **sched, u_int8_t *key, int len) key 495 crypto/xform.c if (rijndael_set_key((rijndael_ctx *)*sched, (u_char *)key, len * 8) key 523 crypto/xform.c aes_ctr_reinit(caddr_t key, u_int8_t *iv) key 527 crypto/xform.c ctx = (struct aes_ctr_ctx *)key; key 535 crypto/xform.c aes_ctr_crypt(caddr_t key, u_int8_t *data) key 541 crypto/xform.c ctx = (struct aes_ctr_ctx *)key; key 553 crypto/xform.c aes_ctr_setkey(u_int8_t **sched, u_int8_t *key, int len) key 564 crypto/xform.c ctx->ac_nr = rijndaelKeySetupEnc(ctx->ac_ek, (u_char *)key, key 570 crypto/xform.c bcopy(key + len - AESCTR_NONCESIZE, ctx->ac_block, AESCTR_NONCESIZE); key 526 dev/adb/akbd.c akbd_capslockwrapper(struct akbd_softc *sc, int key) key 528 dev/adb/akbd.c if (ADBK_KEYVAL(key) == ADBK_CAPSLOCK) key 531 dev/adb/akbd.c if (key != 0xff) key 532 dev/adb/akbd.c akbd_input(sc, key); key 537 dev/adb/akbd.c akbd_input(struct akbd_softc *sc, int key) key 542 dev/adb/akbd.c press = ADBK_PRESS(key); key 543 dev/adb/akbd.c val = ADBK_KEYVAL(key); key 548 dev/adb/akbd.c adb_polledkey = key; key 40 dev/adb/keyboard.h #define ADBK_KEYVAL(key) ((key) & 0x7f) key 41 dev/adb/keyboard.h #define ADBK_PRESS(key) (((key) & 0x80) == 0) key 42 dev/adb/keyboard.h #define ADBK_KEYDOWN(key) (key) key 43 dev/adb/keyboard.h #define ADBK_KEYUP(key) ((key) | 0x80) key 71 dev/bluetooth/btkbd.c uint8_t key; key 252 dev/bluetooth/btkbd.c sc->sc_mods[imod].key = HID_GET_USAGE(h.usage); key 422 dev/bluetooth/btkbd.c int key; key 448 dev/bluetooth/btkbd.c ADDKEY(sc->sc_mods[i].key | key 455 dev/bluetooth/btkbd.c key = sc->sc_odata.keycode[i]; key 456 dev/bluetooth/btkbd.c if (key == 0) key 460 dev/bluetooth/btkbd.c if (key == ud->keycode[j]) key 463 dev/bluetooth/btkbd.c ADDKEY(key | RELEASE); key 471 dev/bluetooth/btkbd.c key = ud->keycode[i]; key 472 dev/bluetooth/btkbd.c if (key == 0) key 476 dev/bluetooth/btkbd.c if (key == sc->sc_odata.keycode[j]) key 479 dev/bluetooth/btkbd.c ADDKEY(key | PRESS); key 496 dev/bluetooth/btkbd.c key = ibuf[i]; key 497 dev/bluetooth/btkbd.c c = btkbd_trtab[key & CODEMASK]; key 505 dev/bluetooth/btkbd.c if (key & RELEASE) key 538 dev/bluetooth/btkbd.c key = ibuf[i]; key 540 dev/bluetooth/btkbd.c key & RELEASE ? WSCONS_EVENT_KEY_UP : WSCONS_EVENT_KEY_DOWN, key 541 dev/bluetooth/btkbd.c key & CODEMASK); key 388 dev/hil/hilkbd.c int kbdtype, key; key 414 dev/hil/hilkbd.c hilkbd_decode(sc, *buf++, &type, &key, kbdtype); key 415 dev/hil/hilkbd.c c = hilkbd_raw[key]; key 447 dev/hil/hilkbd.c hilkbd_decode(sc, *buf++, &type, &key, kbdtype); key 449 dev/hil/hilkbd.c wskbd_input(sc->sc_wskbddev, type, key); key 456 dev/hil/hilkbd.c hilkbd_decode(struct hilkbd_softc *sc, u_int8_t data, u_int *type, int *key, key 467 dev/hil/hilkbd.c *key = data >> 1; key 197 dev/ic/acx100.c uint8_t key[ACX100_WEPKEY_LEN]; key 702 dev/ic/acx100.c bcopy(k->k_key, conf_wk.key, k->k_len); key 210 dev/ic/acx111.c uint8_t key[ACX111_WEPKEY_LEN]; key 123 dev/ic/awi_wep.c arc4_setkey(void *ctx, u_int8_t *key, int keylen) key 125 dev/ic/awi_wep.c rc4_init(ctx, key, keylen); key 139 dev/ic/awi_wep.c static void awi_null_setkey(void *ctx, u_int8_t *key, int keylen); key 284 dev/ic/awi_wep.c awi_wep_setkey(sc, kid, key, keylen) key 287 dev/ic/awi_wep.c unsigned char *key; key 297 dev/ic/awi_wep.c memcpy(sc->sc_wep_key[kid] + IEEE80211_WEP_IVLEN, key, keylen); key 302 dev/ic/awi_wep.c awi_wep_getkey(sc, kid, key, keylen) key 305 dev/ic/awi_wep.c unsigned char *key; key 315 dev/ic/awi_wep.c memcpy(key, sc->sc_wep_key[kid] + IEEE80211_WEP_IVLEN, *keylen); key 330 dev/ic/awi_wep.c u_int8_t *key, *ivp; key 386 dev/ic/awi_wep.c key = sc->sc_wep_key[kid]; key 389 dev/ic/awi_wep.c key[0] = ivp[0]; key 390 dev/ic/awi_wep.c key[1] = ivp[1]; key 391 dev/ic/awi_wep.c key[2] = ivp[2]; key 392 dev/ic/awi_wep.c awa->awa_setkey(ctx, key, IEEE80211_WEP_IVLEN + keylen); key 535 dev/ic/awi_wep.c awi_null_setkey(ctx, key, keylen) key 537 dev/ic/awi_wep.c u_char *key; key 2343 dev/ic/if_wi.c u_int8_t key[RC4KEYLEN]; key 2361 dev/ic/if_wi.c bzero(key, sizeof(key)); key 2362 dev/ic/if_wi.c key[0] = sc->wi_icv >> 16; key 2363 dev/ic/if_wi.c key[1] = sc->wi_icv >> 8; key 2364 dev/ic/if_wi.c key[2] = sc->wi_icv; key 2368 dev/ic/if_wi.c (char *)key + IEEE80211_WEP_IVLEN, klen); key 2372 dev/ic/if_wi.c rc4_keysetup(&ctx, key, klen); key 2376 dev/ic/if_wi.c dat[0] = key[0]; key 2377 dev/ic/if_wi.c dat[1] = key[1]; key 2378 dev/ic/if_wi.c dat[2] = key[2]; key 2402 dev/ic/if_wi.c u_int8_t key[RC4KEYLEN]; key 2414 dev/ic/if_wi.c bzero(key, sizeof(key)); key 2415 dev/ic/if_wi.c key[0] = dat[0]; key 2416 dev/ic/if_wi.c key[1] = dat[1]; key 2417 dev/ic/if_wi.c key[2] = dat[2]; key 2423 dev/ic/if_wi.c (char *)key + IEEE80211_WEP_IVLEN, klen); key 2427 dev/ic/if_wi.c rc4_keysetup(&ctx, key, klen); key 1196 dev/ic/rln.c int32_t key; key 1209 dev/ic/rln.c key = 0x030201; key 1212 dev/ic/rln.c key *= userkey[i]; key 1213 dev/ic/rln.c res = (int64_t)multiplicand * key; key 1214 dev/ic/rln.c key = key - 0xfffffd * key 1215 dev/ic/rln.c (((key + (int32_t)(res >> 32)) >> 23) - (key >> 31)); key 1218 dev/ic/rln.c cardkey[0] = (key >> 16) & 0xff; key 1219 dev/ic/rln.c cardkey[1] = (key >> 8) & 0xff; key 1220 dev/ic/rln.c cardkey[2] = key & 0xff; key 224 dev/ic/rt2560reg.h uint8_t key[IEEE80211_KEYBUF_SIZE]; key 251 dev/ic/rt2560reg.h uint8_t key[IEEE80211_KEYBUF_SIZE]; key 91 dev/microcode/aic7xxx/aicasm_symbol.c DBT key; key 93 dev/microcode/aic7xxx/aicasm_symbol.c key.data = symbol->name; key 94 dev/microcode/aic7xxx/aicasm_symbol.c key.size = strlen(symbol->name); key 95 dev/microcode/aic7xxx/aicasm_symbol.c symtable->del(symtable, &key, /*flags*/0); key 152 dev/microcode/aic7xxx/aicasm_symbol.c DBT key; key 155 dev/microcode/aic7xxx/aicasm_symbol.c while (symtable->seq(symtable, &key, &data, R_FIRST) == 0) { key 173 dev/microcode/aic7xxx/aicasm_symbol.c DBT key; key 177 dev/microcode/aic7xxx/aicasm_symbol.c key.data = (void *)name; key 178 dev/microcode/aic7xxx/aicasm_symbol.c key.size = strlen(name); key 180 dev/microcode/aic7xxx/aicasm_symbol.c if ((retval = symtable->get(symtable, &key, &data, /*flags*/0)) != 0) { key 192 dev/microcode/aic7xxx/aicasm_symbol.c if (symtable->put(symtable, &key, &data, key 476 dev/microcode/aic7xxx/aicasm_symbol.c DBT key; key 491 dev/microcode/aic7xxx/aicasm_symbol.c while (symtable->seq(symtable, &key, &data, flag) == 0) { key 227 dev/pci/agp.c alloc->key = mem->am_id; key 244 dev/pci/agp.c mem = agp_find_memory(sc, bind->key); key 254 dev/pci/agp.c mem = agp_find_memory(sc, unbind->key); key 1829 dev/pci/if_ipw.c bzero(wepkey.key, sizeof wepkey.key); key 1830 dev/pci/if_ipw.c bcopy(k->k_key, wepkey.key, k->k_len); key 161 dev/pci/if_ipwreg.h uint8_t key[IEEE80211_KEYBUF_SIZE]; key 220 dev/pci/if_ipwreg.h uint8_t key[13]; key 1939 dev/pci/if_iwi.c bzero(wepkey.key, sizeof wepkey.key); key 1940 dev/pci/if_iwi.c bcopy(k->k_key, wepkey.key, k->k_len); key 398 dev/pci/if_iwireg.h uint8_t key[IEEE80211_KEYBUF_SIZE]; key 1621 dev/pci/if_wpi.c const struct ieee80211_key *key = key 1623 dev/pci/if_wpi.c if (key->k_cipher == IEEE80211_CIPHER_WEP40) key 1628 dev/pci/if_wpi.c memcpy(&tx->key[3], key->k_key, key->k_len); key 345 dev/pci/if_wpireg.h uint8_t key[IEEE80211_KEYBUF_SIZE]; key 384 dev/pci/if_wpireg.h uint8_t key[IEEE80211_KEYBUF_SIZE]; key 487 dev/pci/if_wpireg.h uint8_t key[IEEE80211_KEYBUF_SIZE]; key 1118 dev/pci/noct.c u_int8_t iv[8], key[24]; key 1132 dev/pci/noct.c key[i] = key[i + 8] = key[i + 16] = crd->crd_key[i]; key 1135 dev/pci/noct.c key[i] = crd->crd_key[i]; key 1230 dev/pci/noct.c pb[i] = key[i]; key 1817 dev/pci/noct.c u_int8_t key[24]; key 1823 dev/pci/noct.c key[i] = key[i + 8] = key[i + 16] = key 1829 dev/pci/noct.c key[i] = cri->cri_key[i]; key 1834 dev/pci/noct.c if (key[i] != noct_odd_parity[key[i]]) key 451 dev/pckbc/pckbd.c int key; key 462 dev/pckbc/pckbd.c key = (datain & 0x7f) | (id->t_extended ? 0x80 : 0); key 475 dev/pckbc/pckbd.c key = 0x7f; key 485 dev/pckbc/pckbd.c if (key == id->t_lastchar) key 487 dev/pckbc/pckbd.c id->t_lastchar = key; key 491 dev/pckbc/pckbd.c *dataout = key; key 570 dev/pckbc/pckbd.c int type, key; key 579 dev/pckbc/pckbd.c if (pckbd_decode(sc->id, data, &type, &key)) key 580 dev/pckbc/pckbd.c wskbd_input(sc->sc_wskbddev, type, key); key 1106 dev/pcmcia/if_malo.c struct ieee80211_key *key = &ic->ic_nw_keys[i]; key 1108 dev/pcmcia/if_malo.c if (!key->k_len) key 1114 dev/pcmcia/if_malo.c cmalo_cmd_set_wep(sc, i, key); key 1391 dev/pcmcia/if_malo.c struct ieee80211_key *key) key 1410 dev/pcmcia/if_malo.c if (key->k_len > 5) key 1414 dev/pcmcia/if_malo.c bcopy(key->k_key, body->key_value_1, key->k_len); key 1417 dev/pcmcia/if_malo.c if (key->k_len > 5) key 1421 dev/pcmcia/if_malo.c bcopy(key->k_key, body->key_value_2, key->k_len); key 1424 dev/pcmcia/if_malo.c if (key->k_len > 5) key 1428 dev/pcmcia/if_malo.c bcopy(key->k_key, body->key_value_3, key->k_len); key 1431 dev/pcmcia/if_malo.c if (key->k_len > 5) key 1435 dev/pcmcia/if_malo.c bcopy(key->k_key, body->key_value_4, key->k_len); key 66 dev/raidframe/rf_cvscan.c long i, key; key 71 dev/raidframe/rf_cvscan.c for (key = hdr->cur_block, i = 0, tmp = hdr->left; key 73 dev/raidframe/rf_cvscan.c key = tmp->sectorOffset, i++, tmp = tmp->next) key 74 dev/raidframe/rf_cvscan.c RF_ASSERT(tmp->sectorOffset <= key key 79 dev/raidframe/rf_cvscan.c for (key = hdr->cur_block, i = 0, tmp = hdr->right; key 81 dev/raidframe/rf_cvscan.c key = tmp->sectorOffset, i++, tmp = tmp->next) { key 82 dev/raidframe/rf_cvscan.c RF_ASSERT(key <= tmp->sectorOffset); key 88 dev/raidframe/rf_cvscan.c for (key = hdr->nxt_priority - 1, tmp = hdr->burner; key 90 dev/raidframe/rf_cvscan.c key = tmp->priority, tmp = tmp->next) { key 94 dev/raidframe/rf_cvscan.c RF_ASSERT(key >= tmp->priority); key 909 dev/sequencer.c sysex.key, dev, sysex.len)); key 1197 dev/sequencer.c if (sysex->key != SEQ_SYSEX_PATCH) { key 1199 dev/sequencer.c sysex->key)); key 1773 dev/usb/if_uath.c crypto.key[i] = k->k_key[i] ^ 0xaa; key 176 dev/usb/if_uathreg.h uint8_t key[68]; key 226 dev/usb/ukbd.c u_int8_t key; key 622 dev/usb/ukbd.c int key; key 660 dev/usb/ukbd.c ADDKEY(sc->sc_mods[i].key | key 666 dev/usb/ukbd.c key = sc->sc_odata.keycode[i]; key 667 dev/usb/ukbd.c if (key == 0) key 670 dev/usb/ukbd.c if (key == ud->keycode[j]) key 672 dev/usb/ukbd.c DPRINTFN(3,("ukbd_intr: relse key=0x%02x\n", key)); key 673 dev/usb/ukbd.c ADDKEY(key | RELEASE); key 680 dev/usb/ukbd.c key = ud->keycode[i]; key 681 dev/usb/ukbd.c if (key == 0) key 684 dev/usb/ukbd.c if (key == sc->sc_odata.keycode[j]) key 686 dev/usb/ukbd.c DPRINTFN(2,("ukbd_intr: press key=0x%02x\n", key)); key 687 dev/usb/ukbd.c ADDKEY(key | PRESS); key 710 dev/usb/ukbd.c key = ibuf[i]; key 711 dev/usb/ukbd.c c = ukbd_trtab[key & CODEMASK]; key 717 dev/usb/ukbd.c if (key & RELEASE) key 747 dev/usb/ukbd.c key = ibuf[i]; key 749 dev/usb/ukbd.c key&RELEASE ? WSCONS_EVENT_KEY_UP : WSCONS_EVENT_KEY_DOWN, key 750 dev/usb/ukbd.c key&CODEMASK); key 927 dev/usb/ukbd.c sc->sc_mods[imod].key = HID_GET_USAGE(h.usage); key 777 dev/vnd.c char key[BLF_MAXUTILIZED]; key 779 dev/vnd.c if (vio->vnd_keylen > sizeof(key)) key 780 dev/vnd.c vio->vnd_keylen = sizeof(key); key 782 dev/vnd.c if ((error = copyin(vio->vnd_key, key, key 792 dev/vnd.c blf_key(vnd->sc_keyctx, key, vio->vnd_keylen); key 793 dev/vnd.c bzero(key, vio->vnd_keylen); key 256 kern/sysv_msg.c int key = SCARG(uap, key); key 261 kern/sysv_msg.c DPRINTF(("msgget(0x%x, 0%o)\n", key, msgflg)); key 263 kern/sysv_msg.c if (key != IPC_PRIVATE) { key 267 kern/sysv_msg.c msqptr->msg_perm.key == key) key 286 kern/sysv_msg.c if (key == IPC_PRIVATE || (msgflg & IPC_CREAT)) { key 304 kern/sysv_msg.c msqptr->msg_perm.key = key; key 393 kern/sysv_sem.c int key = SCARG(uap, key); key 399 kern/sysv_sem.c DPRINTF(("semget(0x%x, %d, 0%o)\n", key, nsems, semflg)); key 406 kern/sysv_sem.c if (key == IPC_PRIVATE || (semflg & IPC_CREAT)) { key 423 kern/sysv_sem.c if (key != IPC_PRIVATE) { key 426 kern/sysv_sem.c semaptr->sem_perm.key == key) { key 447 kern/sysv_sem.c if (key == IPC_PRIVATE || (semflg & IPC_CREAT)) { key 458 kern/sysv_sem.c semaptr_new->sem_perm.key = key; key 119 kern/sysv_shm.c shm_find_segment_by_key(key_t key) key 126 kern/sysv_shm.c if (shmseg != NULL && shmseg->shm_perm.key == key) key 339 kern/sysv_shm.c shmseg->shm_perm.key = IPC_PRIVATE; key 390 kern/sysv_shm.c key_t key; key 413 kern/sysv_shm.c key = SCARG(uap, key); key 414 kern/sysv_shm.c shmseg = pool_get(&shm_pool, key == IPC_PRIVATE ? PR_WAITOK : 0); key 417 kern/sysv_shm.c if (shm_find_segment_by_key(key) != -1) { key 446 kern/sysv_shm.c shmseg->shm_perm.key = key; key 472 kern/sysv_shm.c if (SCARG(uap, key) != IPC_PRIVATE) { key 474 kern/sysv_shm.c segnum = shm_find_segment_by_key(SCARG(uap, key)); key 99 kern/uipc_domain.c ADDDOMAIN(key); key 229 lib/libsa/bootparam.c bp_getfile(int sockfd, char *key, struct in_addr *serv_addr, char *pathname) key 264 lib/libsa/bootparam.c if (xdr_string_encode(&send_tail, key, strlen(key))) { key 4 lib/libsa/bootparam.h int bp_getfile(int sock, char *key, struct in_addr *addrp, char *path); key 941 net/if_trunk.c trunk_hashmbuf(struct mbuf *m, u_int32_t key) key 960 net/if_trunk.c p = hash32_buf(&eh->ether_shost, ETHER_ADDR_LEN, key); key 237 net/pf.c *state = pf_find_state(kif, &key, PF_EXT_GWY); \ key 239 net/pf.c *state = pf_find_state(kif, &key, PF_LAN_EXT); \ key 521 net/pf.c pf_find_state_byid(struct pf_state_cmp *key) key 525 net/pf.c return (RB_FIND(pf_state_tree_id, &tree_id, (struct pf_state *)key)); key 529 net/pf.c pf_find_state(struct pfi_kif *kif, struct pf_state_key_cmp *key, u_int8_t tree) key 539 net/pf.c (struct pf_state_key *)key); key 543 net/pf.c (struct pf_state_key *)key); key 559 net/pf.c pf_find_state_all(struct pf_state_key_cmp *key, u_int8_t tree, int *more) key 569 net/pf.c &pf_statetbl_lan_ext, (struct pf_state_key *)key); key 573 net/pf.c &pf_statetbl_ext_gwy, (struct pf_state_key *)key); key 2017 net/pf.c struct pf_poolhashkey *key, sa_family_t af) key 2019 net/pf.c u_int32_t a = 0x9e3779b9, b = 0x9e3779b9, c = key->key32[0]; key 2025 net/pf.c b += key->key32[1]; key 2027 net/pf.c hash->addr32[0] = c + key->key32[2]; key 2038 net/pf.c c += key->key32[1]; key 2043 net/pf.c c += key->key32[2]; key 2048 net/pf.c c += key->key32[3]; key 2171 net/pf.c pf_hash(saddr, (struct pf_addr *)&hash, &rpool->key, af); key 2243 net/pf.c struct pf_state_key_cmp key; key 2257 net/pf.c key.af = af; key 2258 net/pf.c key.proto = proto; key 2259 net/pf.c PF_ACPY(&key.ext.addr, daddr, key.af); key 2260 net/pf.c PF_ACPY(&key.gwy.addr, naddr, key.af); key 2261 net/pf.c key.ext.port = dport; key 2269 net/pf.c key.gwy.port = dport; key 2270 net/pf.c if (pf_find_state_all(&key, PF_EXT_GWY, NULL) == NULL) key 2273 net/pf.c key.gwy.port = *nport; key 2274 net/pf.c if (pf_find_state_all(&key, PF_EXT_GWY, NULL) == NULL) key 2277 net/pf.c key.gwy.port = htons(low); key 2278 net/pf.c if (pf_find_state_all(&key, PF_EXT_GWY, NULL) == NULL) { key 2294 net/pf.c key.gwy.port = htons(tmp); key 2295 net/pf.c if (pf_find_state_all(&key, PF_EXT_GWY, NULL) == key 2302 net/pf.c key.gwy.port = htons(tmp); key 2303 net/pf.c if (pf_find_state_all(&key, PF_EXT_GWY, NULL) == key 3579 net/pf.c struct pf_state_key_cmp key; key 3588 net/pf.c key.af = pd->af; key 3589 net/pf.c key.proto = IPPROTO_TCP; key 3591 net/pf.c PF_ACPY(&key.ext.addr, pd->src, key.af); key 3592 net/pf.c PF_ACPY(&key.gwy.addr, pd->dst, key.af); key 3593 net/pf.c key.ext.port = th->th_sport; key 3594 net/pf.c key.gwy.port = th->th_dport; key 3596 net/pf.c PF_ACPY(&key.lan.addr, pd->src, key.af); key 3597 net/pf.c PF_ACPY(&key.ext.addr, pd->dst, key.af); key 3598 net/pf.c key.lan.port = th->th_sport; key 3599 net/pf.c key.ext.port = th->th_dport; key 4038 net/pf.c struct pf_state_key_cmp key; key 4041 net/pf.c key.af = pd->af; key 4042 net/pf.c key.proto = IPPROTO_UDP; key 4044 net/pf.c PF_ACPY(&key.ext.addr, pd->src, key.af); key 4045 net/pf.c PF_ACPY(&key.gwy.addr, pd->dst, key.af); key 4046 net/pf.c key.ext.port = uh->uh_sport; key 4047 net/pf.c key.gwy.port = uh->uh_dport; key 4049 net/pf.c PF_ACPY(&key.lan.addr, pd->src, key.af); key 4050 net/pf.c PF_ACPY(&key.ext.addr, pd->dst, key.af); key 4051 net/pf.c key.lan.port = uh->uh_sport; key 4052 net/pf.c key.ext.port = uh->uh_dport; key 4102 net/pf.c struct pf_state_key_cmp key; key 4140 net/pf.c key.af = pd->af; key 4141 net/pf.c key.proto = pd->proto; key 4143 net/pf.c PF_ACPY(&key.ext.addr, pd->src, key.af); key 4144 net/pf.c PF_ACPY(&key.gwy.addr, pd->dst, key.af); key 4145 net/pf.c key.ext.port = 0; key 4146 net/pf.c key.gwy.port = icmpid; key 4148 net/pf.c PF_ACPY(&key.lan.addr, pd->src, key.af); key 4149 net/pf.c PF_ACPY(&key.ext.addr, pd->dst, key.af); key 4150 net/pf.c key.lan.port = icmpid; key 4151 net/pf.c key.ext.port = 0; key 4348 net/pf.c key.af = pd2.af; key 4349 net/pf.c key.proto = IPPROTO_TCP; key 4351 net/pf.c PF_ACPY(&key.ext.addr, pd2.dst, key.af); key 4352 net/pf.c PF_ACPY(&key.gwy.addr, pd2.src, key.af); key 4353 net/pf.c key.ext.port = th.th_dport; key 4354 net/pf.c key.gwy.port = th.th_sport; key 4356 net/pf.c PF_ACPY(&key.lan.addr, pd2.dst, key.af); key 4357 net/pf.c PF_ACPY(&key.ext.addr, pd2.src, key.af); key 4358 net/pf.c key.lan.port = th.th_dport; key 4359 net/pf.c key.ext.port = th.th_sport; key 4455 net/pf.c key.af = pd2.af; key 4456 net/pf.c key.proto = IPPROTO_UDP; key 4458 net/pf.c PF_ACPY(&key.ext.addr, pd2.dst, key.af); key 4459 net/pf.c PF_ACPY(&key.gwy.addr, pd2.src, key.af); key 4460 net/pf.c key.ext.port = uh.uh_dport; key 4461 net/pf.c key.gwy.port = uh.uh_sport; key 4463 net/pf.c PF_ACPY(&key.lan.addr, pd2.dst, key.af); key 4464 net/pf.c PF_ACPY(&key.ext.addr, pd2.src, key.af); key 4465 net/pf.c key.lan.port = uh.uh_dport; key 4466 net/pf.c key.ext.port = uh.uh_sport; key 4524 net/pf.c key.af = pd2.af; key 4525 net/pf.c key.proto = IPPROTO_ICMP; key 4527 net/pf.c PF_ACPY(&key.ext.addr, pd2.dst, key.af); key 4528 net/pf.c PF_ACPY(&key.gwy.addr, pd2.src, key.af); key 4529 net/pf.c key.ext.port = 0; key 4530 net/pf.c key.gwy.port = iih.icmp_id; key 4532 net/pf.c PF_ACPY(&key.lan.addr, pd2.dst, key.af); key 4533 net/pf.c PF_ACPY(&key.ext.addr, pd2.src, key.af); key 4534 net/pf.c key.lan.port = iih.icmp_id; key 4535 net/pf.c key.ext.port = 0; key 4577 net/pf.c key.af = pd2.af; key 4578 net/pf.c key.proto = IPPROTO_ICMPV6; key 4580 net/pf.c PF_ACPY(&key.ext.addr, pd2.dst, key.af); key 4581 net/pf.c PF_ACPY(&key.gwy.addr, pd2.src, key.af); key 4582 net/pf.c key.ext.port = 0; key 4583 net/pf.c key.gwy.port = iih.icmp6_id; key 4585 net/pf.c PF_ACPY(&key.lan.addr, pd2.dst, key.af); key 4586 net/pf.c PF_ACPY(&key.ext.addr, pd2.src, key.af); key 4587 net/pf.c key.lan.port = iih.icmp6_id; key 4588 net/pf.c key.ext.port = 0; key 4620 net/pf.c key.af = pd2.af; key 4621 net/pf.c key.proto = pd2.proto; key 4623 net/pf.c PF_ACPY(&key.ext.addr, pd2.dst, key.af); key 4624 net/pf.c PF_ACPY(&key.gwy.addr, pd2.src, key.af); key 4625 net/pf.c key.ext.port = 0; key 4626 net/pf.c key.gwy.port = 0; key 4628 net/pf.c PF_ACPY(&key.lan.addr, pd2.dst, key.af); key 4629 net/pf.c PF_ACPY(&key.ext.addr, pd2.src, key.af); key 4630 net/pf.c key.lan.port = 0; key 4631 net/pf.c key.ext.port = 0; key 4684 net/pf.c struct pf_state_key_cmp key; key 4686 net/pf.c key.af = pd->af; key 4687 net/pf.c key.proto = pd->proto; key 4689 net/pf.c PF_ACPY(&key.ext.addr, pd->src, key.af); key 4690 net/pf.c PF_ACPY(&key.gwy.addr, pd->dst, key.af); key 4691 net/pf.c key.ext.port = 0; key 4692 net/pf.c key.gwy.port = 0; key 4694 net/pf.c PF_ACPY(&key.lan.addr, pd->src, key.af); key 4695 net/pf.c PF_ACPY(&key.ext.addr, pd->dst, key.af); key 4696 net/pf.c key.lan.port = 0; key 4697 net/pf.c key.ext.port = 0; key 609 net/pf_if.c struct pfi_kif_cmp key; key 612 net/pf_if.c strlcpy(key.pfik_name, pfs->ifname, sizeof(key.pfik_name)); key 614 net/pf_if.c p = RB_FIND(pfi_ifhead, &pfi_ifs, (struct pfi_kif *)&key); key 1771 net/pf_ioctl.c struct pf_state_key_cmp key; key 1774 net/pf_ioctl.c key.af = pnl->af; key 1775 net/pf_ioctl.c key.proto = pnl->proto; key 1792 net/pf_ioctl.c PF_ACPY(&key.ext.addr, &pnl->daddr, pnl->af); key 1793 net/pf_ioctl.c key.ext.port = pnl->dport; key 1794 net/pf_ioctl.c PF_ACPY(&key.gwy.addr, &pnl->saddr, pnl->af); key 1795 net/pf_ioctl.c key.gwy.port = pnl->sport; key 1796 net/pf_ioctl.c state = pf_find_state_all(&key, PF_EXT_GWY, &m); key 1798 net/pf_ioctl.c PF_ACPY(&key.lan.addr, &pnl->daddr, pnl->af); key 1799 net/pf_ioctl.c key.lan.port = pnl->dport; key 1800 net/pf_ioctl.c PF_ACPY(&key.ext.addr, &pnl->saddr, pnl->af); key 1801 net/pf_ioctl.c key.ext.port = pnl->sport; key 1802 net/pf_ioctl.c state = pf_find_state_all(&key, PF_LAN_EXT, &m); key 271 net/pf_norm.c pf_ip2key(struct pf_fragment *key, struct ip *ip) key 273 net/pf_norm.c key->fr_p = ip->ip_p; key 274 net/pf_norm.c key->fr_id = ip->ip_id; key 275 net/pf_norm.c key->fr_src.s_addr = ip->ip_src.s_addr; key 276 net/pf_norm.c key->fr_dst.s_addr = ip->ip_dst.s_addr; key 282 net/pf_norm.c struct pf_fragment key; key 285 net/pf_norm.c pf_ip2key(&key, ip); key 287 net/pf_norm.c frag = RB_FIND(pf_frag_tree, tree, &key); key 156 net/pf_ruleset.c struct pf_anchor *key, *found; key 158 net/pf_ruleset.c key = (struct pf_anchor *)rs_malloc(sizeof(*key)); key 159 net/pf_ruleset.c memset(key, 0, sizeof(*key)); key 160 net/pf_ruleset.c strlcpy(key->path, path, sizeof(key->path)); key 161 net/pf_ruleset.c found = RB_FIND(pf_anchor_global, &pf_anchors, key); key 162 net/pf_ruleset.c rs_free(key); key 1162 net/pf_table.c struct pfr_ktable *p, *q, *r, key; key 1170 net/pf_table.c if (COPYIN(tbl+i, &key.pfrkt_t, sizeof(key.pfrkt_t), flags)) key 1172 net/pf_table.c if (pfr_validate_table(&key.pfrkt_t, PFR_TFLAG_USRMASK, key 1175 net/pf_table.c key.pfrkt_flags |= PFR_TFLAG_ACTIVE; key 1176 net/pf_table.c p = RB_FIND(pfr_ktablehead, &pfr_ktables, &key); key 1178 net/pf_table.c p = pfr_create_ktable(&key.pfrkt_t, tzero, 1); key 1187 net/pf_table.c if (!key.pfrkt_anchor[0]) key 1191 net/pf_table.c bzero(key.pfrkt_anchor, sizeof(key.pfrkt_anchor)); key 1192 net/pf_table.c r = RB_FIND(pfr_ktablehead, &pfr_ktables, &key); key 1198 net/pf_table.c if (!pfr_ktable_compare(&key, q)) { key 1203 net/pf_table.c key.pfrkt_flags = 0; key 1204 net/pf_table.c r = pfr_create_ktable(&key.pfrkt_t, 0, 1); key 1211 net/pf_table.c if (!pfr_ktable_compare(&key, q)) key 1214 net/pf_table.c ~PFR_TFLAG_USRMASK) | key.pfrkt_flags; key 1242 net/pf_table.c struct pfr_ktable *p, *q, key; key 1248 net/pf_table.c if (COPYIN(tbl+i, &key.pfrkt_t, sizeof(key.pfrkt_t), flags)) key 1250 net/pf_table.c if (pfr_validate_table(&key.pfrkt_t, 0, key 1253 net/pf_table.c p = RB_FIND(pfr_ktablehead, &pfr_ktables, &key); key 1366 net/pf_table.c struct pfr_ktable *p, key; key 1374 net/pf_table.c if (COPYIN(tbl+i, &key.pfrkt_t, sizeof(key.pfrkt_t), flags)) key 1376 net/pf_table.c if (pfr_validate_table(&key.pfrkt_t, 0, 0)) key 1378 net/pf_table.c p = RB_FIND(pfr_ktablehead, &pfr_ktables, &key); key 1401 net/pf_table.c struct pfr_ktable *p, *q, key; key 1411 net/pf_table.c if (COPYIN(tbl+i, &key.pfrkt_t, sizeof(key.pfrkt_t), flags)) key 1413 net/pf_table.c if (pfr_validate_table(&key.pfrkt_t, 0, key 1416 net/pf_table.c p = RB_FIND(pfr_ktablehead, &pfr_ktables, &key); key 1489 net/pf_table.c struct pfr_ktable *kt, *rt, *shadow, key; key 1517 net/pf_table.c bzero(&key, sizeof(key)); key 1518 net/pf_table.c strlcpy(key.pfrkt_name, tbl->pfrt_name, sizeof(key.pfrkt_name)); key 1519 net/pf_table.c rt = RB_FIND(pfr_ktablehead, &pfr_ktables, &key); key 1524 net/pf_table.c rt = pfr_create_ktable(&key.pfrkt_t, 0, 1); key 380 net/pfvar.h struct pf_poolhashkey key; key 671 net80211/ieee80211_crypto.c ieee80211_hmac_md5_v(const struct vector *vec, int vcnt, const u_int8_t *key, key 681 net80211/ieee80211_crypto.c MD5Update(&ctx, (u_int8_t *)key, key_len); key 684 net80211/ieee80211_crypto.c key = tk; key 689 net80211/ieee80211_crypto.c bcopy(key, k_pad, key_len); key 700 net80211/ieee80211_crypto.c bcopy(key, k_pad, key_len); key 711 net80211/ieee80211_crypto.c ieee80211_hmac_md5(const u_int8_t *text, size_t text_len, const u_int8_t *key, key 717 net80211/ieee80211_crypto.c ieee80211_hmac_md5_v(&vec, 1, key, key_len, digest); key 721 net80211/ieee80211_crypto.c ieee80211_hmac_sha1_v(const struct vector *vec, int vcnt, const u_int8_t *key, key 731 net80211/ieee80211_crypto.c SHA1Update(&ctx, (u_int8_t *)key, key_len); key 734 net80211/ieee80211_crypto.c key = tk; key 739 net80211/ieee80211_crypto.c bcopy(key, k_pad, key_len); key 750 net80211/ieee80211_crypto.c bcopy(key, k_pad, key_len); key 761 net80211/ieee80211_crypto.c ieee80211_hmac_sha1(const u_int8_t *text, size_t text_len, const u_int8_t *key, key 767 net80211/ieee80211_crypto.c ieee80211_hmac_sha1_v(&vec, 1, key, key_len, digest); key 774 net80211/ieee80211_crypto.c ieee80211_prf(const u_int8_t *key, size_t key_len, struct vector *vec, key 786 net80211/ieee80211_crypto.c ieee80211_hmac_sha1_v(vec, vcnt, key, key_len, output); key 793 net80211/ieee80211_crypto.c ieee80211_hmac_sha1_v(vec, vcnt, key, key_len, hash); key 890 net80211/ieee80211_crypto.c ieee80211_eapol_key_mic(struct ieee80211_eapol_key *key, const u_int8_t *kck) key 895 net80211/ieee80211_crypto.c len = BE_READ_2(key->len) + 4; key 896 net80211/ieee80211_crypto.c info = BE_READ_2(key->info); key 900 net80211/ieee80211_crypto.c ieee80211_hmac_md5((u_int8_t *)key, len, kck, 16, key->mic); key 903 net80211/ieee80211_crypto.c ieee80211_hmac_sha1((u_int8_t *)key, len, kck, 16, hash); key 905 net80211/ieee80211_crypto.c memcpy(key->mic, hash, EAPOL_KEY_MIC_LEN); key 915 net80211/ieee80211_crypto.c ieee80211_eapol_key_check_mic(struct ieee80211_eapol_key *key, key 920 net80211/ieee80211_crypto.c memcpy(mic, key->mic, EAPOL_KEY_MIC_LEN); key 921 net80211/ieee80211_crypto.c memset(key->mic, 0, EAPOL_KEY_MIC_LEN); key 922 net80211/ieee80211_crypto.c ieee80211_eapol_key_mic(key, kck); key 924 net80211/ieee80211_crypto.c return memcmp(key->mic, mic, EAPOL_KEY_MIC_LEN) != 0; key 934 net80211/ieee80211_crypto.c struct ieee80211_eapol_key *key, const u_int8_t *kek) key 942 net80211/ieee80211_crypto.c len = BE_READ_2(key->paylen); key 943 net80211/ieee80211_crypto.c info = BE_READ_2(key->info); key 944 net80211/ieee80211_crypto.c data = (u_int8_t *)(key + 1); key 949 net80211/ieee80211_crypto.c memcpy(key->iv, ic->ic_globalcnt + 16, 16); key 954 net80211/ieee80211_crypto.c memcpy(keybuf, key->iv, EAPOL_KEY_IV_LEN); key 973 net80211/ieee80211_crypto.c BE_WRITE_2(key->paylen, len); key 975 net80211/ieee80211_crypto.c BE_WRITE_2(key->len, sizeof(*key) + len - 4); key 986 net80211/ieee80211_crypto.c ieee80211_eapol_key_decrypt(struct ieee80211_eapol_key *key, key 994 net80211/ieee80211_crypto.c len = BE_READ_2(key->paylen); key 995 net80211/ieee80211_crypto.c info = BE_READ_2(key->info); key 996 net80211/ieee80211_crypto.c data = (u_int8_t *)(key + 1); key 1001 net80211/ieee80211_crypto.c memcpy(keybuf, key->iv, EAPOL_KEY_IV_LEN); key 1892 net80211/ieee80211_input.c const struct ieee80211_eapol_key *key, struct ieee80211_node *ni) key 1905 net80211/ieee80211_input.c BE_READ_8(key->replaycnt) <= ni->ni_replaycnt) key 1909 net80211/ieee80211_input.c memcpy(ni->ni_nonce, key->nonce, EAPOL_KEY_NONCE_LEN); key 1912 net80211/ieee80211_input.c frm = (const u_int8_t *)&key[1]; key 1913 net80211/ieee80211_input.c efrm = frm + BE_READ_2(key->paylen); key 1939 net80211/ieee80211_input.c ni->ni_replaycnt = BE_READ_8(key->replaycnt); key 1971 net80211/ieee80211_input.c const struct ieee80211_eapol_key *key, struct ieee80211_node *ni) key 1982 net80211/ieee80211_input.c if (BE_READ_8(key->replaycnt) != ni->ni_replaycnt) key 1987 net80211/ieee80211_input.c ni->ni_nonce, key->nonce, (u_int8_t *)&ni->ni_ptk, key 1992 net80211/ieee80211_input.c frm = (const u_int8_t *)&key[1]; key 1993 net80211/ieee80211_input.c efrm = frm + BE_READ_2(key->paylen); key 2042 net80211/ieee80211_input.c const struct ieee80211_eapol_key *key, struct ieee80211_node *ni) key 2052 net80211/ieee80211_input.c if (BE_READ_8(key->replaycnt) <= ni->ni_replaycnt) key 2056 net80211/ieee80211_input.c if (memcmp(key->nonce, ni->ni_nonce, EAPOL_KEY_NONCE_LEN) != 0) key 2060 net80211/ieee80211_input.c frm = (const u_int8_t *)&key[1]; key 2061 net80211/ieee80211_input.c efrm = frm + BE_READ_2(key->paylen); key 2099 net80211/ieee80211_input.c if (gtk != NULL && !(BE_READ_2(key->info) & EAPOL_KEY_ENCRYPTED)) key 2111 net80211/ieee80211_input.c ni->ni_replaycnt = BE_READ_8(key->replaycnt); key 2127 net80211/ieee80211_input.c k->k_len = BE_READ_2(key->keylen); key 2156 net80211/ieee80211_input.c k->k_rsc = LE_READ_8(key->rsc); key 2180 net80211/ieee80211_input.c const struct ieee80211_eapol_key *key, struct ieee80211_node *ni) key 2188 net80211/ieee80211_input.c if (BE_READ_8(key->replaycnt) != ni->ni_replaycnt) key 2224 net80211/ieee80211_input.c const struct ieee80211_eapol_key *key, struct ieee80211_node *ni) key 2235 net80211/ieee80211_input.c if (BE_READ_8(key->replaycnt) <= ni->ni_replaycnt) key 2239 net80211/ieee80211_input.c frm = (const u_int8_t *)&key[1]; key 2240 net80211/ieee80211_input.c efrm = frm + BE_READ_2(key->paylen); key 2261 net80211/ieee80211_input.c if (gtk == NULL || !(BE_READ_2(key->info) & EAPOL_KEY_ENCRYPTED)) key 2282 net80211/ieee80211_input.c k->k_rsc = LE_READ_8(key->rsc); key 2287 net80211/ieee80211_input.c ni->ni_replaycnt = BE_READ_8(key->replaycnt); key 2300 net80211/ieee80211_input.c struct ieee80211_eapol_key *key, struct ieee80211_node *ni) key 2310 net80211/ieee80211_input.c if (BE_READ_8(key->replaycnt) <= ni->ni_replaycnt) key 2318 net80211/ieee80211_input.c ieee80211_eapol_key_decrypt(key, ni->ni_ptk.kek) != 0) key 2321 net80211/ieee80211_input.c info = BE_READ_2(key->info); key 2332 net80211/ieee80211_input.c k->k_len = BE_READ_2(key->keylen); key 2336 net80211/ieee80211_input.c memcpy(k->k_key, (u_int8_t *)&key[1], k->k_len); key 2337 net80211/ieee80211_input.c k->k_rsc = LE_READ_8(key->rsc); key 2342 net80211/ieee80211_input.c ni->ni_replaycnt = BE_READ_8(key->replaycnt); key 2359 net80211/ieee80211_input.c const struct ieee80211_eapol_key *key, struct ieee80211_node *ni) key 2365 net80211/ieee80211_input.c if (BE_READ_8(key->replaycnt) != ni->ni_replaycnt) key 2388 net80211/ieee80211_input.c const struct ieee80211_eapol_key *key, struct ieee80211_node *ni) key 2396 net80211/ieee80211_input.c info = BE_READ_2(key->info); key 2415 net80211/ieee80211_input.c const struct ieee80211_eapol_key *key, const struct ieee80211_node *ni) key 2421 net80211/ieee80211_input.c "data length=%d\n", key->version, key->type, key->desc, key 2422 net80211/ieee80211_input.c BE_READ_2(key->len), BE_READ_2(key->paylen)); key 2423 net80211/ieee80211_input.c printf("info=%b\n", BE_READ_2(key->info), key 2428 net80211/ieee80211_input.c printf("%02x", key->replaycnt[i]); key 2432 net80211/ieee80211_input.c printf("%02x", key->nonce[i]); key 2436 net80211/ieee80211_input.c printf("%02x", key->iv[i]); key 2440 net80211/ieee80211_input.c printf("%02x", key->rsc[i]); key 2444 net80211/ieee80211_input.c printf("%02x", key->mic[i]); key 2457 net80211/ieee80211_input.c struct ieee80211_eapol_key *key; key 2460 net80211/ieee80211_input.c if (m0->m_len < sizeof(struct ether_header) + sizeof(*key)) key 2464 net80211/ieee80211_input.c key = mtod(m0, struct ieee80211_eapol_key *); key 2466 net80211/ieee80211_input.c if (key->type != EAPOL_KEY || key->desc != ni->ni_eapol_desc) key 2470 net80211/ieee80211_input.c if (m0->m_len < 4 + BE_READ_2(key->len)) key 2474 net80211/ieee80211_input.c if (m0->m_len < sizeof(*key) + BE_READ_2(key->paylen)) key 2479 net80211/ieee80211_input.c ieee80211_print_eapol_key(ic, key, ni); key 2481 net80211/ieee80211_input.c info = BE_READ_2(key->info); key 2494 net80211/ieee80211_input.c ieee80211_eapol_key_check_mic(key, ni->ni_ptk.kck) != 0) key 2499 net80211/ieee80211_input.c ieee80211_eapol_key_decrypt(key, ni->ni_ptk.kek) != 0) key 2506 net80211/ieee80211_input.c ieee80211_recv_eapol_key_req(ic, key, ni); key 2513 net80211/ieee80211_input.c ieee80211_recv_4way_msg4(ic, key, ni); key 2515 net80211/ieee80211_input.c ieee80211_recv_4way_msg2(ic, key, ni); key 2517 net80211/ieee80211_input.c ieee80211_recv_4way_msg3(ic, key, ni); key 2519 net80211/ieee80211_input.c ieee80211_recv_4way_msg1(ic, key, ni); key 2525 net80211/ieee80211_input.c if (key->desc == EAPOL_KEY_DESC_WPA1) key 2526 net80211/ieee80211_input.c ieee80211_recv_wpa_group_msg1(ic, key, ni); key 2528 net80211/ieee80211_input.c ieee80211_recv_rsn_group_msg1(ic, key, ni); key 2530 net80211/ieee80211_input.c ieee80211_recv_group_msg2(ic, key, ni); key 1515 net80211/ieee80211_output.c struct ieee80211_eapol_key *key; key 1527 net80211/ieee80211_output.c key = (struct ieee80211_eapol_key *)&eh[1]; key 1528 net80211/ieee80211_output.c key->version = EAPOL_VERSION; key 1529 net80211/ieee80211_output.c key->type = EAPOL_KEY; key 1530 net80211/ieee80211_output.c key->desc = ni->ni_eapol_desc; key 1532 net80211/ieee80211_output.c info = BE_READ_2(key->info); key 1536 net80211/ieee80211_output.c BE_WRITE_2(key->info, info); key 1539 net80211/ieee80211_output.c BE_WRITE_2(key->paylen, len - sizeof(*key)); key 1540 net80211/ieee80211_output.c BE_WRITE_2(key->len, len - 4); key 1546 net80211/ieee80211_output.c ieee80211_eapol_key_encrypt(ic, key, ni->ni_ptk.kek); key 1549 net80211/ieee80211_output.c ieee80211_eapol_key_mic(key, ni->ni_ptk.kck); key 1627 net80211/ieee80211_output.c struct ieee80211_eapol_key *key; key 1637 net80211/ieee80211_output.c key = mtod(m, struct ieee80211_eapol_key *); key 1638 net80211/ieee80211_output.c memset(key, 0, sizeof(*key)); key 1641 net80211/ieee80211_output.c BE_WRITE_2(key->info, info); key 1645 net80211/ieee80211_output.c memcpy(key->nonce, ni->ni_nonce, EAPOL_KEY_NONCE_LEN); key 1648 net80211/ieee80211_output.c BE_WRITE_2(key->keylen, keylen); key 1650 net80211/ieee80211_output.c frm = (u_int8_t *)&key[1]; key 1657 net80211/ieee80211_output.c m->m_pkthdr.len = m->m_len = frm - (u_int8_t *)key; key 1675 net80211/ieee80211_output.c struct ieee80211_eapol_key *key; key 1684 net80211/ieee80211_output.c key = mtod(m, struct ieee80211_eapol_key *); key 1685 net80211/ieee80211_output.c memset(key, 0, sizeof(*key)); key 1688 net80211/ieee80211_output.c BE_WRITE_2(key->info, info); key 1691 net80211/ieee80211_output.c BE_WRITE_8(key->replaycnt, ni->ni_replaycnt); key 1694 net80211/ieee80211_output.c memcpy(key->nonce, snonce, EAPOL_KEY_NONCE_LEN); key 1696 net80211/ieee80211_output.c frm = (u_int8_t *)&key[1]; key 1703 net80211/ieee80211_output.c BE_WRITE_2(key->keylen, keylen); key 1707 net80211/ieee80211_output.c m->m_pkthdr.len = m->m_len = frm - (u_int8_t *)key; key 1724 net80211/ieee80211_output.c struct ieee80211_eapol_key *key; key 1737 net80211/ieee80211_output.c key = mtod(m, struct ieee80211_eapol_key *); key 1738 net80211/ieee80211_output.c memset(key, 0, sizeof(*key)); key 1743 net80211/ieee80211_output.c BE_WRITE_8(key->replaycnt, ni->ni_replaycnt); key 1745 net80211/ieee80211_output.c memcpy(key->nonce, ni->ni_nonce, EAPOL_KEY_NONCE_LEN); key 1748 net80211/ieee80211_output.c BE_WRITE_2(key->keylen, keylen); key 1750 net80211/ieee80211_output.c frm = (u_int8_t *)&key[1]; key 1756 net80211/ieee80211_output.c LE_WRITE_8(key->rsc, gtk->k_rsc); key 1762 net80211/ieee80211_output.c BE_WRITE_2(key->info, info); key 1764 net80211/ieee80211_output.c m->m_pkthdr.len = m->m_len = frm - (u_int8_t *)key; key 1781 net80211/ieee80211_output.c struct ieee80211_eapol_key *key; key 1788 net80211/ieee80211_output.c key = mtod(m, struct ieee80211_eapol_key *); key 1789 net80211/ieee80211_output.c memset(key, 0, sizeof(*key)); key 1792 net80211/ieee80211_output.c BE_WRITE_2(key->info, info); key 1795 net80211/ieee80211_output.c BE_WRITE_8(key->replaycnt, ni->ni_replaycnt); key 1801 net80211/ieee80211_output.c BE_WRITE_2(key->keylen, keylen); key 1805 net80211/ieee80211_output.c m->m_pkthdr.len = m->m_len = sizeof(*key); key 1822 net80211/ieee80211_output.c struct ieee80211_eapol_key *key; key 1834 net80211/ieee80211_output.c key = mtod(m, struct ieee80211_eapol_key *); key 1835 net80211/ieee80211_output.c memset(key, 0, sizeof(*key)); key 1840 net80211/ieee80211_output.c BE_WRITE_8(key->replaycnt, ni->ni_replaycnt); key 1842 net80211/ieee80211_output.c frm = (u_int8_t *)&key[1]; key 1845 net80211/ieee80211_output.c BE_WRITE_2(key->keylen, gtk->k_len); key 1854 net80211/ieee80211_output.c LE_WRITE_8(key->rsc, gtk->k_rsc); key 1857 net80211/ieee80211_output.c BE_WRITE_2(key->info, info); key 1859 net80211/ieee80211_output.c m->m_pkthdr.len = m->m_len = frm - (u_int8_t *)key; key 1877 net80211/ieee80211_output.c struct ieee80211_eapol_key *key; key 1884 net80211/ieee80211_output.c key = mtod(m, struct ieee80211_eapol_key *); key 1885 net80211/ieee80211_output.c memset(key, 0, sizeof(*key)); key 1890 net80211/ieee80211_output.c BE_WRITE_8(key->replaycnt, ni->ni_replaycnt); key 1894 net80211/ieee80211_output.c BE_WRITE_2(key->keylen, gtk->k_len); key 1899 net80211/ieee80211_output.c BE_WRITE_2(key->info, info); key 1902 net80211/ieee80211_output.c m->m_pkthdr.len = m->m_len = sizeof(*key); key 1921 net80211/ieee80211_output.c struct ieee80211_eapol_key *key; key 1927 net80211/ieee80211_output.c key = mtod(m, struct ieee80211_eapol_key *); key 1928 net80211/ieee80211_output.c memset(key, 0, sizeof(*key)); key 1930 net80211/ieee80211_output.c BE_WRITE_2(key->info, info); key 1934 net80211/ieee80211_output.c LE_WRITE_8(key->rsc, tsc); key 1937 net80211/ieee80211_output.c BE_WRITE_8(key->replaycnt, ic->ic_keyreplaycnt); key 63 net80211/ieee80211_regdomain.c bsearch(const void *key, const void *base0, size_t nmemb, size_t size, key 72 net80211/ieee80211_regdomain.c cmp = (*compar)(key, p); key 101 net80211/ieee80211_regdomain.c const struct ieee80211_countryname key = { CTRY_DEFAULT, name }, *value; key 103 net80211/ieee80211_regdomain.c if ((value = bsearch(&key, &ieee80211_r_ctry, key 116 net80211/ieee80211_regdomain.c struct ieee80211_regdomainname key; key 118 net80211/ieee80211_regdomain.c key.rn_domain = DMN_DEFAULT; key 119 net80211/ieee80211_regdomain.c key.rn_name = name; key 121 net80211/ieee80211_regdomain.c if ((value = bsearch(&key, &ieee80211_r_names, key 534 netbt/hci.h uint8_t key[HCI_KEY_SIZE]; /* key */ key 1778 netbt/hci.h uint8_t key[HCI_KEY_SIZE]; /* link key */ key 70 nfs/nfs_boot.c nfs_boot_getfh(bpsin, key, ndmntp, retries) key 72 nfs/nfs_boot.c char *key; key 105 nfs/nfs_boot.c static int bp_getfile(struct sockaddr_in *bpsin, char *key, key 261 nfs/nfs_boot.c nfs_boot_getfh(bpsin, key, ndmntp, retries) key 263 nfs/nfs_boot.c char *key; /* root or swap */ key 278 nfs/nfs_boot.c error = bp_getfile(bpsin, key, sin, ndmntp->ndm_host, pathname, key 281 nfs/nfs_boot.c printf("nfs_boot: bootparam get %s: %d\n", key, error); key 291 nfs/nfs_boot.c printf("nfs_boot: mountd %s, error=%d\n", key, error); key 440 nfs/nfs_boot.c bp_getfile(bpsin, key, md_sin, serv_name, pathname, retries) key 442 nfs/nfs_boot.c char *key; key 463 nfs/nfs_boot.c m->m_next = xdr_string_encode(key, strlen(key)); key 847 nfs/nfs_socket.c NFSKERBKEY_T key; /* save session key */ key 874 nfs/nfs_socket.c bzero((caddr_t)key, sizeof (key)); key 878 nfs/nfs_socket.c &auth_len, verf_str, &verf_len, key); key 1026 nfs/nfs_socket.c error = nfs_savenickauth(nmp, cred, i, key, &md, &dpos, mrep); key 815 nfs/nfs_syscalls.c nfs_getauth(nmp, rep, cred, auth_str, auth_len, verf_str, verf_len, key) key 823 nfs/nfs_syscalls.c NFSKERBKEY_T key; /* return session key */ key 862 nfs/nfs_syscalls.c bcopy((caddr_t)nmp->nm_key, (caddr_t)key, sizeof (NFSKERBKEY_T)); key 938 nfs/nfs_syscalls.c nfs_savenickauth(nmp, cred, len, key, mdp, dposp, mrep) key 942 nfs/nfs_syscalls.c NFSKERBKEY_T key; key 987 nfs/nfs_syscalls.c bcopy(key, nuidp->nu_key, sizeof (NFSKERBKEY_T)); key 64 nfs/nfsdiskless.h int nfs_boot_getfh(struct sockaddr_in *bpsin, char *key, key 1695 scsi/cd.c dvd_copy_key(a->lsk.key, &buf[4]); key 1742 scsi/cd.c dvd_copy_key(&buf[4], a->hsk.key); key 113 sys/agpio.h int key; /* tag of allocation */ key 123 sys/agpio.h int key; /* tag of allocation */ key 128 sys/agpio.h int key; /* tag of allocation */ key 372 sys/cdio.h u_int8_t key[DVD_KEY_SIZE]; key 58 sys/ipc.h key_t key; /* user specified msg/sem/shm key */ key 69 sys/ipc.h key_t key; /* user specified msg/sem/shm key */ key 79 sys/ipc.h key_t key; /* user specified msg/sem/shm key */ key 183 sys/midiio.h #define SEQ_MK_CHN_VOICE(e, unit, cmd, chan, key, vel) (\ key 185 sys/midiio.h (e)->arr[3] = (chan), (e)->arr[4] = (key), (e)->arr[5] = (vel),\ key 200 sys/midiio.h u_int16_t key; /* Use SYSEX_PATCH or MAUI_PATCH here */ key 211 sys/midiio.h u_int16_t key; /* FM_PATCH or OPL3_PATCH */ key 926 sys/syscallargs.h syscallarg(key_t) key; key 944 sys/syscallargs.h syscallarg(key_t) key; key 980 sys/syscallargs.h syscallarg(key_t) key; key 1170 sys/syscallargs.h syscallarg(key_t) key; key 1871 uvm/uvm_swap.c struct swap_key *key; key 1896 uvm/uvm_swap.c key = SWD_KEY(sdp, startslot + i); key 1897 uvm/uvm_swap.c SWAP_KEY_GET(sdp, key); /* add reference */ key 1901 uvm/uvm_swap.c swap_encrypt(key, src, dst, block, 1 << PAGE_SHIFT); key 2026 uvm/uvm_swap.c struct swap_key *key = NULL; key 2031 uvm/uvm_swap.c key = SWD_KEY(sdp, startslot + i); key 2032 uvm/uvm_swap.c swap_decrypt(key, data, data, block, key 92 uvm/uvm_swap_encrypt.c swap_key_create(struct swap_key *key) key 95 uvm/uvm_swap_encrypt.c u_int32_t *p = key->key; key 97 uvm/uvm_swap_encrypt.c key->refcount = 0; key 98 uvm/uvm_swap_encrypt.c for (i = 0; i < sizeof(key->key) / sizeof(u_int32_t); i++) key 105 uvm/uvm_swap_encrypt.c swap_key_delete(struct swap_key *key) key 108 uvm/uvm_swap_encrypt.c swap_key_cleanup(key); key 110 uvm/uvm_swap_encrypt.c memset(key, 0, sizeof(*key)); key 120 uvm/uvm_swap_encrypt.c swap_encrypt(struct swap_key *key, caddr_t src, caddr_t dst, u_int64_t block, key 131 uvm/uvm_swap_encrypt.c swap_key_prepare(key, 1); key 165 uvm/uvm_swap_encrypt.c swap_decrypt(struct swap_key *key, caddr_t src, caddr_t dst, u_int64_t block, key 176 uvm/uvm_swap_encrypt.c swap_key_prepare(key, 0); key 206 uvm/uvm_swap_encrypt.c swap_key_prepare(struct swap_key *key, int encrypt) key 213 uvm/uvm_swap_encrypt.c if (kcur == key && (encrypt || !swap_ctxt.enc_only)) key 217 uvm/uvm_swap_encrypt.c rijndael_set_key_enc_only(&swap_ctxt, (u_char *)key->key, key 218 uvm/uvm_swap_encrypt.c sizeof(key->key) * 8); key 220 uvm/uvm_swap_encrypt.c rijndael_set_key(&swap_ctxt, (u_char *)key->key, key 221 uvm/uvm_swap_encrypt.c sizeof(key->key) * 8); key 223 uvm/uvm_swap_encrypt.c kcur = key; key 231 uvm/uvm_swap_encrypt.c swap_key_cleanup(struct swap_key *key) key 234 uvm/uvm_swap_encrypt.c if (kcur == NULL || kcur != key) key 51 uvm/uvm_swap_encrypt.h u_int32_t key[SWAP_KEY_SIZE]; /* secret key for swap range */