Home
last modified time | relevance | path

Searched refs:key_buf (Results 1 - 25 of 50) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/staging/rtl8192e/rtl8192e/
H A Drtl_cam.c76 memcpy(ieee->swcamtable[EntryNo].key_buf, (u8 *)KeyContent, 16); in rtl92e_set_swcam()
179 [EntryId].key_buf[0])); in rtl92e_cam_restore()
189 key_buf[0])); in rtl92e_cam_restore()
195 key_buf[0])); in rtl92e_cam_restore()
204 key_buf[0])); in rtl92e_cam_restore()
209 key_buf[0])); in rtl92e_cam_restore()
220 (u32 *)(&priv->rtllib->swcamtable[EntryId].key_buf[0])); in rtl92e_cam_restore()
228 (u32 *)(&priv->rtllib->swcamtable[0].key_buf[0])); in rtl92e_cam_restore()
243 (u32 *)(&priv->rtllib->swcamtable[EntryId].key_buf[0])); in rtl92e_cam_restore()
252 (u32 *)(&priv->rtllib->swcamtable[0].key_buf[ in rtl92e_cam_restore()
[all...]
/kernel/linux/linux-6.6/drivers/staging/rtl8192e/rtl8192e/
H A Drtl_cam.c65 memcpy(ieee->swcamtable[EntryNo].key_buf, (u8 *)KeyContent, 16); in rtl92e_set_swcam()
155 [EntryId].key_buf[0])); in rtl92e_cam_restore()
164 (u32 *)(&priv->rtllib->swcamtable[4].key_buf[0])); in rtl92e_cam_restore()
169 (u32 *)(&priv->rtllib->swcamtable[4].key_buf[0])); in rtl92e_cam_restore()
177 (u32 *)(&priv->rtllib->swcamtable[4].key_buf[0])); in rtl92e_cam_restore()
181 0, (u32 *)(&priv->rtllib->swcamtable[4].key_buf[0])); in rtl92e_cam_restore()
192 (u32 *)(&priv->rtllib->swcamtable[EntryId].key_buf[0])); in rtl92e_cam_restore()
200 (u32 *)(&priv->rtllib->swcamtable[0].key_buf[0])); in rtl92e_cam_restore()
215 (u32 *)(&priv->rtllib->swcamtable[EntryId].key_buf[0])); in rtl92e_cam_restore()
224 (u32 *)(&priv->rtllib->swcamtable[0].key_buf[ in rtl92e_cam_restore()
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/microchip/wilc1000/
H A Dhif.c1112 struct wilc_ap_wpa_ptk *key_buf; in wilc_add_ptk() local
1119 key_buf = kzalloc(sizeof(*key_buf) + t_key_len, GFP_KERNEL); in wilc_add_ptk()
1120 if (!key_buf) in wilc_add_ptk()
1123 ether_addr_copy(key_buf->mac_addr, mac_addr); in wilc_add_ptk()
1124 key_buf->index = index; in wilc_add_ptk()
1125 key_buf->key_len = t_key_len; in wilc_add_ptk()
1126 memcpy(&key_buf->key[0], ptk, ptk_key_len); in wilc_add_ptk()
1129 memcpy(&key_buf->key[ptk_key_len], rx_mic, in wilc_add_ptk()
1133 memcpy(&key_buf in wilc_add_ptk()
1145 struct wilc_sta_wpa_ptk *key_buf; wilc_add_ptk() local
1180 struct wilc_wpa_igtk *key_buf; wilc_add_igtk() local
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/microchip/wilc1000/
H A Dhif.c1139 struct wilc_ap_wpa_ptk *key_buf; in wilc_add_ptk() local
1146 key_buf = kzalloc(sizeof(*key_buf) + t_key_len, GFP_KERNEL); in wilc_add_ptk()
1147 if (!key_buf) in wilc_add_ptk()
1150 ether_addr_copy(key_buf->mac_addr, mac_addr); in wilc_add_ptk()
1151 key_buf->index = index; in wilc_add_ptk()
1152 key_buf->key_len = t_key_len; in wilc_add_ptk()
1153 memcpy(&key_buf->key[0], ptk, ptk_key_len); in wilc_add_ptk()
1156 memcpy(&key_buf->key[ptk_key_len], rx_mic, in wilc_add_ptk()
1160 memcpy(&key_buf in wilc_add_ptk()
1172 struct wilc_sta_wpa_ptk *key_buf; wilc_add_ptk() local
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_common/
H A Deap_sake_common.c271 u8 key_buf[EAP_MSK_LEN + EAP_EMSK_LEN]; in eap_sake_derive_keys() local
302 key_buf, sizeof(key_buf)) < 0) in eap_sake_derive_keys()
304 os_memcpy(msk, key_buf, EAP_MSK_LEN); in eap_sake_derive_keys()
305 os_memcpy(emsk, key_buf + EAP_MSK_LEN, EAP_EMSK_LEN); in eap_sake_derive_keys()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_common/
H A Deap_sake_common.c271 u8 key_buf[EAP_MSK_LEN + EAP_EMSK_LEN]; in eap_sake_derive_keys() local
302 key_buf, sizeof(key_buf)) < 0) in eap_sake_derive_keys()
304 os_memcpy(msk, key_buf, EAP_MSK_LEN); in eap_sake_derive_keys()
305 os_memcpy(emsk, key_buf + EAP_MSK_LEN, EAP_EMSK_LEN); in eap_sake_derive_keys()
/kernel/linux/linux-5.10/drivers/crypto/bcm/
H A Dspu2.c1001 flow_dump(" key: ", cipher_parms->key_buf, cipher_parms->key_len); in spu2_create_request()
1008 flow_dump(" authkey: ", hash_parms->key_buf, hash_parms->key_len); in spu2_create_request()
1035 memcpy(hash_parms->key_buf, cipher_parms->key_buf, in spu2_create_request()
1089 memcpy(ptr, hash_parms->key_buf, hash_parms->key_len); in spu2_create_request()
1094 memcpy(ptr, cipher_parms->key_buf, cipher_parms->key_len); in spu2_create_request()
1136 flow_dump(" key: ", cipher_parms->key_buf, cipher_parms->key_len); in spu2_cipher_req_init()
1157 if (cipher_parms->key_buf && cipher_parms->key_len) in spu2_cipher_req_init()
1158 memcpy(omd, cipher_parms->key_buf, cipher_parms->key_len); in spu2_cipher_req_init()
H A Dspu.c650 flow_dump(" key: ", cipher_parms->key_buf, cipher_parms->key_len); in spum_create_request()
657 flow_dump(" authkey: ", hash_parms->key_buf, hash_parms->key_len); in spum_create_request()
706 memcpy(ptr, hash_parms->key_buf, hash_parms->key_len); in spum_create_request()
740 memcpy(ptr, cipher_parms->key_buf, in spum_create_request()
848 flow_dump(" key: ", cipher_parms->key_buf, cipher_parms->key_len); in spum_cipher_req_init()
890 memcpy(spuh + 1, cipher_parms->key_buf, cipher_parms->key_len); in spum_cipher_req_init()
H A Dspu.h119 u8 *key_buf; member
131 u8 *key_buf; member
/kernel/linux/linux-6.6/drivers/crypto/bcm/
H A Dspu2.c1004 flow_dump(" key: ", cipher_parms->key_buf, cipher_parms->key_len); in spu2_create_request()
1011 flow_dump(" authkey: ", hash_parms->key_buf, hash_parms->key_len); in spu2_create_request()
1038 memcpy(hash_parms->key_buf, cipher_parms->key_buf, in spu2_create_request()
1092 memcpy(ptr, hash_parms->key_buf, hash_parms->key_len); in spu2_create_request()
1097 memcpy(ptr, cipher_parms->key_buf, cipher_parms->key_len); in spu2_create_request()
1139 flow_dump(" key: ", cipher_parms->key_buf, cipher_parms->key_len); in spu2_cipher_req_init()
1160 if (cipher_parms->key_buf && cipher_parms->key_len) in spu2_cipher_req_init()
1161 memcpy(omd, cipher_parms->key_buf, cipher_parms->key_len); in spu2_cipher_req_init()
H A Dspu.c648 flow_dump(" key: ", cipher_parms->key_buf, cipher_parms->key_len); in spum_create_request()
655 flow_dump(" authkey: ", hash_parms->key_buf, hash_parms->key_len); in spum_create_request()
704 memcpy(ptr, hash_parms->key_buf, hash_parms->key_len); in spum_create_request()
738 memcpy(ptr, cipher_parms->key_buf, in spum_create_request()
846 flow_dump(" key: ", cipher_parms->key_buf, cipher_parms->key_len); in spum_cipher_req_init()
888 memcpy(spuh + 1, cipher_parms->key_buf, cipher_parms->key_len); in spum_cipher_req_init()
H A Dspu.h120 u8 *key_buf; member
132 u8 *key_buf; member
/third_party/node/src/crypto/
H A Dcrypto_cipher.cc406 const ArrayBufferOrViewContents<unsigned char>& key_buf, in Init()
429 key_buf.data(), in Init()
430 key_buf.size(), in Init()
459 ArrayBufferOrViewContents<unsigned char> key_buf(args[1]); in Init()
460 if (!key_buf.CheckSizeInt32()) in Init()
473 cipher->Init(*cipher_type, key_buf, auth_tag_len); in Init()
477 const ByteSource& key_buf, in Init()
516 key_buf.data<unsigned char>(), in Init()
517 key_buf.size(), in Init()
535 const ByteSource key_buf in Init() local
405 Init(const char* cipher_type, const ArrayBufferOrViewContents<unsigned char>& key_buf, unsigned int auth_tag_len) Init() argument
476 InitIv(const char* cipher_type, const ByteSource& key_buf, const ArrayBufferOrViewContents<unsigned char>& iv_buf, unsigned int auth_tag_len) Init() argument
[all...]
H A Dcrypto_cipher.h54 const ArrayBufferOrViewContents<unsigned char>& key_buf,
57 const ByteSource& key_buf,
H A Dcrypto_dh.cc396 ArrayBufferOrViewContents<unsigned char> key_buf(args[0]); in ComputeSecret()
397 if (UNLIKELY(!key_buf.CheckSizeInt32())) in ComputeSecret()
399 BignumPointer key(BN_bin2bn(key_buf.data(), key_buf.size(), nullptr)); in ComputeSecret()
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-ethtool.c550 void *key_buf; in dpaa2_eth_do_cls_rule() local
560 key_buf = kzalloc(rule_cfg.key_size * 2, GFP_KERNEL); in dpaa2_eth_do_cls_rule()
561 if (!key_buf) in dpaa2_eth_do_cls_rule()
565 err = dpaa2_eth_prep_cls_rule(fs, key_buf, key_buf + rule_cfg.key_size, &fields); in dpaa2_eth_do_cls_rule()
591 dpaa2_eth_cls_trim_rule(key_buf, fields); in dpaa2_eth_do_cls_rule()
595 key_iova = dma_map_single(dev, key_buf, rule_cfg.key_size * 2, in dpaa2_eth_do_cls_rule()
628 kfree(key_buf); in dpaa2_eth_do_cls_rule()
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-ethtool.c582 void *key_buf; in dpaa2_eth_do_cls_rule() local
592 key_buf = kzalloc(rule_cfg.key_size * 2, GFP_KERNEL); in dpaa2_eth_do_cls_rule()
593 if (!key_buf) in dpaa2_eth_do_cls_rule()
597 err = dpaa2_eth_prep_cls_rule(fs, key_buf, key_buf + rule_cfg.key_size, &fields); in dpaa2_eth_do_cls_rule()
623 dpaa2_eth_cls_trim_rule(key_buf, fields); in dpaa2_eth_do_cls_rule()
627 key_iova = dma_map_single(dev, key_buf, rule_cfg.key_size * 2, in dpaa2_eth_do_cls_rule()
660 kfree(key_buf); in dpaa2_eth_do_cls_rule()
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
H A Dmac.c223 memset(rtlpriv->sec.key_buf[idx], 0, in rtl92c_set_key()
284 rtlpriv->sec.key_buf[0][0], in rtl92c_set_key()
285 rtlpriv->sec.key_buf[0][1]); in rtl92c_set_key()
301 key_buf[key_index]); in rtl92c_set_key()
312 rtlpriv->sec.key_buf in rtl92c_set_key()
318 rtlpriv->sec.key_buf[entry_id]); in rtl92c_set_key()
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
H A Dmac.c222 memset(rtlpriv->sec.key_buf[idx], 0, in rtl92c_set_key()
283 rtlpriv->sec.key_buf[0][0], in rtl92c_set_key()
284 rtlpriv->sec.key_buf[0][1]); in rtl92c_set_key()
300 key_buf[key_index]); in rtl92c_set_key()
311 rtlpriv->sec.key_buf in rtl92c_set_key()
317 rtlpriv->sec.key_buf[entry_id]); in rtl92c_set_key()
/kernel/linux/linux-5.10/fs/ubifs/
H A Ddebug.c299 char key_buf[DBG_KEY_BUF_LEN]; in ubifs_dump_node() local
444 dbg_snprintf_key(c, &key, key_buf, DBG_KEY_BUF_LEN)); in ubifs_dump_node()
479 dbg_snprintf_key(c, &key, key_buf, DBG_KEY_BUF_LEN)); in ubifs_dump_node()
504 dbg_snprintf_key(c, &key, key_buf, DBG_KEY_BUF_LEN)); in ubifs_dump_node()
548 dbg_snprintf_key(c, &key, key_buf, in ubifs_dump_node()
874 char key_buf[DBG_KEY_BUF_LEN]; in ubifs_dump_znode() local
897 dbg_snprintf_key(c, &zbr->key, key_buf, in ubifs_dump_znode()
902 dbg_snprintf_key(c, &zbr->key, key_buf, in ubifs_dump_znode()
1200 char key_buf[DBG_KEY_BUF_LEN]; in dbg_check_key_order() local
1231 zbr1->offs, dbg_snprintf_key(c, &key, key_buf, in dbg_check_key_order()
[all...]
/kernel/linux/linux-6.6/fs/ubifs/
H A Ddebug.c299 char key_buf[DBG_KEY_BUF_LEN]; in ubifs_dump_node() local
444 dbg_snprintf_key(c, &key, key_buf, DBG_KEY_BUF_LEN)); in ubifs_dump_node()
479 dbg_snprintf_key(c, &key, key_buf, DBG_KEY_BUF_LEN)); in ubifs_dump_node()
504 dbg_snprintf_key(c, &key, key_buf, DBG_KEY_BUF_LEN)); in ubifs_dump_node()
548 dbg_snprintf_key(c, &key, key_buf, in ubifs_dump_node()
874 char key_buf[DBG_KEY_BUF_LEN]; in ubifs_dump_znode() local
897 dbg_snprintf_key(c, &zbr->key, key_buf, in ubifs_dump_znode()
902 dbg_snprintf_key(c, &zbr->key, key_buf, in ubifs_dump_znode()
1200 char key_buf[DBG_KEY_BUF_LEN]; in dbg_check_key_order() local
1231 zbr1->offs, dbg_snprintf_key(c, &key, key_buf, in dbg_check_key_order()
[all...]
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_common/
H A Dadf_transport.c315 char key_buf[ADF_CFG_MAX_KEY_LEN_IN_BYTES]; in adf_get_cfg_int() local
318 snprintf(key_buf, ADF_CFG_MAX_KEY_LEN_IN_BYTES, format, key); in adf_get_cfg_int()
320 if (adf_cfg_get_param_value(accel_dev, section, key_buf, val_buf)) in adf_get_cfg_int()
/kernel/linux/linux-6.6/drivers/crypto/intel/qat/qat_common/
H A Dadf_transport.c357 char key_buf[ADF_CFG_MAX_KEY_LEN_IN_BYTES]; in adf_get_cfg_int() local
360 snprintf(key_buf, ADF_CFG_MAX_KEY_LEN_IN_BYTES, format, key); in adf_get_cfg_int()
362 if (adf_cfg_get_param_value(accel_dev, section, key_buf, val_buf)) in adf_get_cfg_int()
/third_party/mbedtls/library/
H A Dssl_msg.c91 unsigned char key_buf[MAX_HASH_BLOCK_LENGTH]; in mbedtls_ct_hmac() local
116 PSA_CHK(psa_export_key(key, key_buf, block_size, &mac_key_length)); in mbedtls_ct_hmac()
120 key_buf[i] = (unsigned char) (key_buf[i] ^ 0x36); in mbedtls_ct_hmac()
123 key_buf[i] = 0x36; in mbedtls_ct_hmac()
129 PSA_CHK(psa_hash_update(&operation, key_buf, block_size)); in mbedtls_ct_hmac()
158 key_buf[i] = (unsigned char) ((key_buf[i] ^ 0x36) ^ 0x5C); in mbedtls_ct_hmac()
161 key_buf[i] = 0x5C; in mbedtls_ct_hmac()
166 PSA_CHK(psa_hash_update(&operation, key_buf, block_siz in mbedtls_ct_hmac()
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
H A Dhw.c2119 memset(rtlpriv->sec.key_buf[idx], 0, in rtl92de_set_key()
2179 rtlpriv->sec.key_buf[0][0], in rtl92de_set_key()
2180 rtlpriv->sec.key_buf[0][1]); in rtl92de_set_key()
2195 sec.key_buf[key_index]); in rtl92de_set_key()
2205 rtlpriv->sec.key_buf[entry_id]); in rtl92de_set_key()
2210 rtlpriv->sec.key_buf in rtl92de_set_key()

Completed in 32 milliseconds

12