Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/marvell/mwifiex/
A Dsta_cmd.c609 enc_key->pn, enc_key->pn_len); in mwifiex_set_aes_key_v2()
616 enc_key->key_material, enc_key->key_len); in mwifiex_set_aes_key_v2()
628 enc_key->pn, enc_key->pn_len); in mwifiex_set_aes_key_v2()
633 enc_key->key_material, enc_key->key_len); in mwifiex_set_aes_key_v2()
742 enc_key->key_material, enc_key->key_len); in mwifiex_cmd_802_11_key_material_v2()
762 enc_key->key_material, enc_key->key_len); in mwifiex_cmd_802_11_key_material_v2()
799 enc_key->pn, enc_key->pn_len); in mwifiex_cmd_802_11_key_material_v2()
804 enc_key->key_material, enc_key->key_len); in mwifiex_cmd_802_11_key_material_v2()
846 if (!enc_key) { in mwifiex_cmd_802_11_key_material_v1()
888 memcpy(&set->key[2], enc_key->key_material, enc_key->key_len); in mwifiex_cmd_802_11_key_material_v1()
[all …]
A Dsta_ioctl.c957 void *enc_key; in mwifiex_sec_ioctl_set_wep_key() local
966 enc_key = encrypt_key; in mwifiex_sec_ioctl_set_wep_key()
968 enc_key = NULL; in mwifiex_sec_ioctl_set_wep_key()
972 HostCmd_ACT_GEN_SET, 0, enc_key, false); in mwifiex_sec_ioctl_set_wep_key()
/linux/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_acl_atcam.c39 char *enc_key, u8 erp_id);
95 char *enc_key, u8 erp_id) in mlxsw_sp_acl_atcam_generic_lkey_id_get() argument
222 char *enc_key, u8 erp_id) in mlxsw_sp_acl_atcam_12kb_lkey_id_get() argument
231 memcpy(ht_key.enc_key, enc_key, sizeof(ht_key.enc_key)); in mlxsw_sp_acl_atcam_12kb_lkey_id_get()
232 mlxsw_afk_clear(afk, ht_key.enc_key, in mlxsw_sp_acl_atcam_12kb_lkey_id_get()
402 aentry->enc_key, erp_id, in mlxsw_sp_acl_atcam_region_entry_insert()
431 aentry->enc_key, erp_id, in mlxsw_sp_acl_atcam_region_entry_remove()
460 aentry->enc_key, erp_id, in mlxsw_sp_acl_atcam_region_entry_action_replace()
490 memcpy(aentry->enc_key, aentry->ht_key.full_enc_key, in __mlxsw_sp_acl_atcam_entry_add()
491 sizeof(aentry->enc_key)); in __mlxsw_sp_acl_atcam_entry_add()
[all …]
A Dspectrum_acl_tcam.h188 char enc_key[MLXSW_REG_PTCEX_FLEX_KEY_BLOCKS_LEN]; /* Encoded key, member
253 const char *enc_key);
255 const char *enc_key);
A Dspectrum_acl_erp.c1101 const char *enc_key) in mlxsw_sp_acl_erp_delta_value() argument
1110 tmp = (unsigned char) enc_key[__MASK_IDX(start / 8)]; in mlxsw_sp_acl_erp_delta_value()
1112 tmp |= (unsigned char) enc_key[__MASK_IDX(start / 8 + 1)] << 8; in mlxsw_sp_acl_erp_delta_value()
1119 const char *enc_key) in mlxsw_sp_acl_erp_delta_clear() argument
1130 byte = (unsigned char *) &enc_key[__MASK_IDX(start / 8)]; in mlxsw_sp_acl_erp_delta_clear()
1133 byte = (unsigned char *) &enc_key[__MASK_IDX(start / 8 + 1)]; in mlxsw_sp_acl_erp_delta_clear()
A Dspectrum_acl_bloom_filter.c138 &aentry->enc_key[chunk_key_offsets[chunk_index]], in mlxsw_sp_acl_bf_key_encode()
/linux/drivers/crypto/vmx/
A Daes_ctr.c20 struct aes_key enc_key; member
59 ret = aes_p8_set_encrypt_key(key, keylen * 8, &ctx->enc_key); in p8_aes_ctr_setkey()
81 aes_p8_encrypt(ctrblk, keystream, &ctx->enc_key); in p8_aes_ctr_final()
114 &ctx->enc_key, walk.iv); in p8_aes_ctr_crypt()
A Daes.c24 struct aes_key enc_key; member
70 ret = aes_p8_set_encrypt_key(key, keylen * 8, &ctx->enc_key); in p8_aes_setkey()
91 aes_p8_encrypt(src, dst, &ctx->enc_key); in p8_aes_encrypt()
A Daes_cbc.c20 struct aes_key enc_key; member
60 ret = aes_p8_set_encrypt_key(key, keylen * 8, &ctx->enc_key); in p8_aes_cbc_setkey()
96 enc ? &ctx->enc_key : &ctx->dec_key, in p8_aes_cbc_crypt()
A Daes_xts.c21 struct aes_key enc_key; member
67 ret |= aes_p8_set_encrypt_key(key, (keylen/2) * 8, &ctx->enc_key); in p8_aes_xts_setkey()
121 &ctx->enc_key, NULL, tweak); in p8_aes_xts_crypt()
/linux/drivers/crypto/cavium/cpt/
A Dcptvf_algs.c126 memcpy(fctx->enc.encr_key, ctx->enc_key, ctx->key_len * 2); in create_ctx_hdr()
128 memcpy(fctx->enc.encr_key, ctx->enc_key, ctx->key_len); in create_ctx_hdr()
245 memcpy(ctx->enc_key, key1, keylen / 2); in cvm_xts_setkey()
246 memcpy(ctx->enc_key + KEY2_OFFSET, key2, keylen / 2); in cvm_xts_setkey()
297 memcpy(ctx->enc_key, key, keylen); in cvm_setkey()
A Dcptvf_algs.h100 u8 enc_key[MAX_KEY_SIZE]; member
/linux/drivers/crypto/qce/
A Dcipher.h15 u8 enc_key[QCE_MAX_KEY_SIZE]; member
A Daead.h16 u8 enc_key[QCE_MAX_KEY_SIZE]; member
A Dskcipher.c197 memcpy(ctx->enc_key, key, keylen); in qce_skcipher_setkey()
222 memcpy(ctx->enc_key, key, keylen); in qce_des_setkey()
252 memcpy(ctx->enc_key, key, keylen); in qce_des3_setkey()
A Dcommon.c335 qce_cpu_to_be32p_array(enckey, ctx->enc_key, keylen); in qce_setup_regs_skcipher()
350 qce_xtskey(qce, ctx->enc_key, ctx->enc_keylen, in qce_setup_regs_skcipher()
444 enckey_words = qce_be32_to_cpu_array(enckey, ctx->enc_key, enc_keylen); in qce_setup_regs_aead()
A Daead.c584 memcpy(ctx->enc_key, key, keylen); in qce_aead_ccm_setkey()
643 memcpy(ctx->enc_key, authenc_keys.enckey, authenc_keys.enckeylen); in qce_aead_setkey()
/linux/fs/ecryptfs/
A Dkeystore.c406 memcpy(key_rec->enc_key, &data[i], key_rec->enc_key_size); in parse_tag_67_packet()
2038 memcpy(key_rec->enc_key, in write_tag_1_packet()
2057 ecryptfs_dump_hex(key_rec->enc_key, key_rec->enc_key_size); in write_tag_1_packet()
2089 memcpy(&dest[(*packet_size)], key_rec->enc_key, in write_tag_1_packet()
2235 memcpy(key_rec->enc_key, in write_tag_3_packet()
2268 rc = virt_to_scatterlist(key_rec->enc_key, key_rec->enc_key_size, in write_tag_3_packet()
2318 ecryptfs_dump_hex(key_rec->enc_key, in write_tag_3_packet()
2370 memcpy(&dest[(*packet_size)], key_rec->enc_key, in write_tag_3_packet()
A Decryptfs_kernel.h54 unsigned char enc_key[ECRYPTFS_MAX_ENCRYPTED_KEY_BYTES]; member
/linux/drivers/crypto/marvell/octeontx2/
A Dotx2_cptvf_algs.h121 u8 enc_key[OTX2_CPT_MAX_KEY_SIZE]; member
A Dotx2_cptvf_algs.c262 memcpy(fctx->enc.encr_key, ctx->enc_key, ctx->key_len * 2); in create_ctx_hdr()
264 memcpy(fctx->enc.encr_key, ctx->enc_key, ctx->key_len); in create_ctx_hdr()
420 memcpy(ctx->enc_key, key1, keylen / 2); in otx2_cpt_skcipher_xts_setkey()
421 memcpy(ctx->enc_key + KEY2_OFFSET, key2, keylen / 2); in otx2_cpt_skcipher_xts_setkey()
451 memcpy(ctx->enc_key, key, keylen); in cpt_des_setkey()
482 memcpy(ctx->enc_key, key, keylen); in cpt_aes_setkey()
/linux/drivers/crypto/marvell/octeontx/
A Dotx_cptvf_algs.h131 u8 enc_key[OTX_CPT_MAX_KEY_SIZE]; member
A Dotx_cptvf_algs.c277 memcpy(fctx->enc.encr_key, ctx->enc_key, ctx->key_len * 2); in create_ctx_hdr()
279 memcpy(fctx->enc.encr_key, ctx->enc_key, ctx->key_len); in create_ctx_hdr()
405 memcpy(ctx->enc_key, key1, keylen / 2); in otx_cpt_skcipher_xts_setkey()
406 memcpy(ctx->enc_key + KEY2_OFFSET, key2, keylen / 2); in otx_cpt_skcipher_xts_setkey()
433 memcpy(ctx->enc_key, key, keylen); in cpt_des_setkey()
459 memcpy(ctx->enc_key, key, keylen); in cpt_aes_setkey()
/linux/drivers/net/wireless/marvell/libertas/
A Dhost.h373 struct enc_key { struct
/linux/drivers/crypto/
A Dsa2ul.c716 const u8 *enc_key, u16 enc_key_sz, in sa_init_sc() argument
758 if (sa_set_sc_enc(ad, enc_key, enc_key_sz, enc, in sa_init_sc()

Completed in 88 milliseconds