/linux-6.6.21/drivers/net/wireless/silabs/wfx/ |
D | key.c | 56 u8 *keybuf = key->key; in fill_tkip_pair() local 60 memcpy(msg->tkip_key_data, keybuf, sizeof(msg->tkip_key_data)); in fill_tkip_pair() 61 keybuf += sizeof(msg->tkip_key_data); in fill_tkip_pair() 62 memcpy(msg->tx_mic_key, keybuf, sizeof(msg->tx_mic_key)); in fill_tkip_pair() 63 keybuf += sizeof(msg->tx_mic_key); in fill_tkip_pair() 64 memcpy(msg->rx_mic_key, keybuf, sizeof(msg->rx_mic_key)); in fill_tkip_pair() 72 u8 *keybuf = key->key; in fill_tkip_group() local 79 memcpy(msg->tkip_key_data, keybuf, sizeof(msg->tkip_key_data)); in fill_tkip_group() 80 keybuf += sizeof(msg->tkip_key_data); in fill_tkip_group() 83 memcpy(msg->rx_mic_key, keybuf + 0, sizeof(msg->rx_mic_key)); in fill_tkip_group() [all …]
|
/linux-6.6.21/drivers/media/pci/ivtv/ |
D | ivtv-i2c.c | 140 unsigned char keybuf[4]; in get_key_adaptec() local 142 keybuf[0] = 0x00; in get_key_adaptec() 143 i2c_master_send(ir->c, keybuf, 1); in get_key_adaptec() 145 if (i2c_master_recv(ir->c, keybuf, sizeof(keybuf)) != sizeof(keybuf)) { in get_key_adaptec() 150 if (keybuf[2] == 0xff) in get_key_adaptec() 154 keybuf[2] &= 0x7f; in get_key_adaptec() 155 keybuf[3] |= 0x80; in get_key_adaptec() 158 *scancode = keybuf[3] | keybuf[2] << 8 | keybuf[1] << 16 |keybuf[0] << 24; in get_key_adaptec()
|
/linux-6.6.21/drivers/media/usb/dvb-usb/ |
D | dvb-usb-remote.c | 363 u8 keybuf[5], u32 *event, int *state) in dvb_usb_nec_rc_key_to_event() 369 switch (keybuf[0]) { in dvb_usb_nec_rc_key_to_event() 373 if ((u8) ~keybuf[1] != keybuf[2] || in dvb_usb_nec_rc_key_to_event() 374 (u8) ~keybuf[3] != keybuf[4]) { in dvb_usb_nec_rc_key_to_event() 380 if (rc5_custom(&keymap[i]) == keybuf[1] && in dvb_usb_nec_rc_key_to_event() 381 rc5_data(&keymap[i]) == keybuf[3]) { in dvb_usb_nec_rc_key_to_event() 392 deb_err("unknown type of remote status: %d\n",keybuf[0]); in dvb_usb_nec_rc_key_to_event()
|
/linux-6.6.21/drivers/md/bcache/ |
D | btree.h | 403 typedef bool (keybuf_pred_fn)(struct keybuf *buf, struct bkey *k); 405 void bch_keybuf_init(struct keybuf *buf); 406 void bch_refill_keybuf(struct cache_set *c, struct keybuf *buf, 408 bool bch_keybuf_check_overlapping(struct keybuf *buf, struct bkey *start, 410 void bch_keybuf_del(struct keybuf *buf, struct keybuf_key *w); 411 struct keybuf_key *bch_keybuf_next(struct keybuf *buf); 413 struct keybuf *buf,
|
D | bcache.h | 223 struct keybuf; 231 struct keybuf { struct 345 struct keybuf writeback_keys; 662 struct keybuf moving_gc_keys;
|
D | debug.c | 164 struct keybuf keys; 167 static bool dump_pred(struct keybuf *buf, struct bkey *k) in dump_pred()
|
D | btree.c | 2627 struct keybuf *buf; 2636 struct keybuf *buf = refill->buf; in refill_keybuf_fn() 2676 void bch_refill_keybuf(struct cache_set *c, struct keybuf *buf, in bch_refill_keybuf() 2716 static void __bch_keybuf_del(struct keybuf *buf, struct keybuf_key *w) in __bch_keybuf_del() 2722 void bch_keybuf_del(struct keybuf *buf, struct keybuf_key *w) in bch_keybuf_del() 2729 bool bch_keybuf_check_overlapping(struct keybuf *buf, struct bkey *start, in bch_keybuf_check_overlapping() 2758 struct keybuf_key *bch_keybuf_next(struct keybuf *buf) in bch_keybuf_next() 2777 struct keybuf *buf, in bch_keybuf_next_rescan() 2799 void bch_keybuf_init(struct keybuf *buf) in bch_keybuf_init()
|
/linux-6.6.21/arch/s390/crypto/ |
D | paes_s390.c | 54 u8 keybuf[128]; member 76 memset(kb->keybuf, 0, sizeof(kb->keybuf)); in _key_to_kb() 77 h = (struct clearkey_header *) kb->keybuf; in _key_to_kb() 81 memcpy(kb->keybuf + sizeof(*h), key, keylen); in _key_to_kb() 83 kb->key = kb->keybuf; in _key_to_kb() 87 if (keylen <= sizeof(kb->keybuf)) in _key_to_kb() 88 kb->key = kb->keybuf; in _key_to_kb() 104 if (kb->key && kb->key != kb->keybuf in _free_kb_keybuf() 105 && kb->keylen > sizeof(kb->keybuf)) { in _free_kb_keybuf()
|
/linux-6.6.21/drivers/s390/crypto/ |
D | zcrypt_ep11misc.h | 118 u8 *keybuf, size_t *keybufsize, u32 keybufver); 124 const u8 *clrkey, u8 *keybuf, size_t *keybufsize,
|
D | zcrypt_ep11misc.c | 774 u8 *keybuf, size_t *keybufsize) in _ep11_genaeskey() argument 903 memcpy(keybuf, rep_pl->data, rep_pl->data_len); in _ep11_genaeskey() 914 u8 *keybuf, size_t *keybufsize, u32 keybufver) in ep11_genaeskey() argument 929 rc = ep11_kb_split(keybuf, *keybufsize, keybufver, in ep11_genaeskey() 1083 u8 *keybuf, size_t *keybufsize) in _ep11_unwrapkey() argument 1213 memcpy(keybuf, rep_pl->data, rep_pl->data_len); in _ep11_unwrapkey() 1228 u8 *keybuf, size_t *keybufsize, in ep11_unwrapkey() argument 1236 rc = ep11_kb_split(keybuf, *keybufsize, keybufver, in ep11_unwrapkey() 1250 hdr = (struct ep11kblob_header *)keybuf; in ep11_unwrapkey() 1379 const u8 *clrkey, u8 *keybuf, size_t *keybufsize, in ep11_clr2keyblob() argument [all …]
|
D | zcrypt_ccamisc.h | 181 u8 *keybuf, size_t *keybufsize); 193 const u8 *clrkey, u8 *keybuf, size_t *keybufsize);
|
D | pkey_api.c | 256 u8 *keybuf, size_t *keybuflen) in pkey_clr2ep11key() argument 277 0, clrkey, keybuf, keybuflen, in pkey_clr2ep11key() 701 u32 kflags, u8 *keybuf, size_t *keybufsize) in pkey_genseckey2() argument 744 keybuf, keybufsize, ktype); in pkey_genseckey2() 746 rc = cca_genseckey(card, dom, ksize, keybuf); in pkey_genseckey2() 751 keybuf, keybufsize); in pkey_genseckey2() 763 u8 *keybuf, size_t *keybufsize) in pkey_clr2seckey2() argument 808 clrkey, keybuf, keybufsize, in pkey_clr2seckey2() 812 clrkey, keybuf); in pkey_clr2seckey2() 817 clrkey, keybuf, keybufsize); in pkey_clr2seckey2()
|
D | zcrypt_ccamisc.c | 745 u8 *keybuf, size_t *keybufsize) in cca_gencipherkey() argument 925 if (keybuf) { in cca_gencipherkey() 927 memcpy(keybuf, t, t->len); in cca_gencipherkey() 1098 const u8 *clrkey, u8 *keybuf, size_t *keybufsize) in cca_clr2cipherkey() argument 1166 if (keybuf) { in cca_clr2cipherkey() 1170 memcpy(keybuf, token, tokensize); in cca_clr2cipherkey()
|
/linux-6.6.21/fs/befs/ |
D | btree.h | 11 loff_t key_no, size_t bufsize, char *keybuf,
|
D | btree.c | 412 loff_t key_no, size_t bufsize, char *keybuf, size_t * keysize, in befs_btree_read() argument 503 strscpy(keybuf, keystart, keylen + 1); in befs_btree_read() 508 cur_key, keylen, keybuf, *value); in befs_btree_read()
|
D | linuxvfs.c | 223 char keybuf[BEFS_NAME_LEN + 1]; in befs_readdir() local 230 keybuf, &keysize, &value); in befs_readdir() 253 befs_utf2nls(sb, keybuf, keysize, &nlsname, in befs_readdir() 266 if (!dir_emit(ctx, keybuf, keysize, in befs_readdir()
|
/linux-6.6.21/drivers/net/wireless/intersil/hostap/ |
D | hostap_main.c | 330 char keybuf[WEP_KEY_LEN + 1]; in hostap_set_encryption() local 385 len = local->crypt_info.crypt[idx]->ops->get_key(keybuf, sizeof(keybuf), NULL, in hostap_set_encryption() 391 memset(keybuf, 0, sizeof(keybuf)); in hostap_set_encryption() 394 keybuf, sizeof(keybuf), in hostap_set_encryption() 399 keybuf, keylen)) { in hostap_set_encryption()
|
/linux-6.6.21/net/bluetooth/ |
D | amp.c | 170 u8 keybuf[HCI_AMP_LINK_KEY_SIZE]; in phylink_gen_key() local 195 memcpy(&keybuf[0], key->val, HCI_LINK_KEY_SIZE); in phylink_gen_key() 196 memcpy(&keybuf[HCI_LINK_KEY_SIZE], key->val, HCI_LINK_KEY_SIZE); in phylink_gen_key() 199 err = hmac_sha256(keybuf, HCI_AMP_LINK_KEY_SIZE, "gamp", 4, gamp_key); in phylink_gen_key()
|
/linux-6.6.21/drivers/firmware/ |
D | qcom_scm.c | 1116 void *keybuf; in qcom_scm_ice_set_key() local 1130 keybuf = dma_alloc_coherent(__scm->dev, key_size, &key_phys, in qcom_scm_ice_set_key() 1132 if (!keybuf) in qcom_scm_ice_set_key() 1134 memcpy(keybuf, key, key_size); in qcom_scm_ice_set_key() 1139 memzero_explicit(keybuf, key_size); in qcom_scm_ice_set_key() 1141 dma_free_coherent(__scm->dev, key_size, keybuf, key_phys); in qcom_scm_ice_set_key()
|
/linux-6.6.21/drivers/net/wireless/intel/ipw2x00/ |
D | libipw_wx.c | 298 union iwreq_data *wrqu, char *keybuf) in libipw_wx_set_encode() argument 398 memcpy(sec.keys[key], keybuf, erq->length); in libipw_wx_set_encode() 464 union iwreq_data *wrqu, char *keybuf) in libipw_wx_get_encode() argument 489 memcpy(keybuf, sec->keys[key], len); in libipw_wx_get_encode()
|
/linux-6.6.21/drivers/staging/rtl8192e/ |
D | rtllib_wx.c | 268 union iwreq_data *wrqu, char *keybuf) in rtllib_wx_set_encode() argument 364 memcpy(sec.keys[key], keybuf, erq->length); in rtllib_wx_set_encode() 425 union iwreq_data *wrqu, char *keybuf) in rtllib_wx_get_encode() argument 451 len = crypt->ops->get_key(keybuf, SCM_KEY_LEN, NULL, crypt->priv); in rtllib_wx_get_encode()
|
/linux-6.6.21/drivers/net/ethernet/sfc/ |
D | mcdi_filters.c | 1997 MCDI_DECLARE_BUF(keybuf, MC_CMD_RSS_CONTEXT_SET_KEY_IN_LEN); in efx_mcdi_filter_populate_rss_table() 2020 MCDI_SET_DWORD(keybuf, RSS_CONTEXT_SET_KEY_IN_RSS_CONTEXT_ID, in efx_mcdi_filter_populate_rss_table() 2025 MCDI_PTR(keybuf, RSS_CONTEXT_SET_KEY_IN_TOEPLITZ_KEY)[i] = key[i]; in efx_mcdi_filter_populate_rss_table() local 2027 return efx_mcdi_rpc(efx, MC_CMD_RSS_CONTEXT_SET_KEY, keybuf, in efx_mcdi_filter_populate_rss_table() 2028 sizeof(keybuf), NULL, 0, NULL); in efx_mcdi_filter_populate_rss_table() 2138 MCDI_DECLARE_BUF(keybuf, MC_CMD_RSS_CONTEXT_GET_KEY_OUT_LEN); in efx_mcdi_rx_pull_rss_context_config() 2171 keybuf, sizeof(keybuf), &outlen); in efx_mcdi_rx_pull_rss_context_config() 2180 keybuf, RSS_CONTEXT_GET_KEY_OUT_TOEPLITZ_KEY)[i]; in efx_mcdi_rx_pull_rss_context_config()
|
/linux-6.6.21/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_wx.c | 273 union iwreq_data *wrqu, char *keybuf) in ieee80211_wx_set_encode() argument 367 memcpy(sec.keys[key], keybuf, erq->length); in ieee80211_wx_set_encode() 445 union iwreq_data *wrqu, char *keybuf) in ieee80211_wx_get_encode() argument 472 len = crypt->ops->get_key(keybuf, SCM_KEY_LEN, NULL, crypt->priv); in ieee80211_wx_get_encode()
|
/linux-6.6.21/arch/m68k/include/asm/ |
D | openprom.h | 115 struct keybuf *pv_keybuf;
|
/linux-6.6.21/drivers/net/wireless/intersil/orinoco/ |
D | wext.c | 240 char *keybuf) in orinoco_ioctl_setiwencode() argument 306 err = orinoco_set_key(priv, index, ORINOCO_ALG_WEP, keybuf, in orinoco_ioctl_setiwencode() 332 char *keybuf) in orinoco_ioctl_getiwencode() argument 360 memcpy(keybuf, priv->keys[index].key, erq->length); in orinoco_ioctl_getiwencode()
|