Home
last modified time | relevance | path

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

/drivers/net/wireless/mwifiex/
Dsta_cmd.c563 struct mwifiex_ds_encrypt_key *enc_key, in mwifiex_set_aes_key_v2() argument
569 if (enc_key->is_igtk_key) { in mwifiex_set_aes_key_v2()
572 if (enc_key->is_rx_seq_valid) in mwifiex_set_aes_key_v2()
574 enc_key->pn, enc_key->pn_len); in mwifiex_set_aes_key_v2()
579 cpu_to_le16(enc_key->key_len); in mwifiex_set_aes_key_v2()
581 enc_key->key_material, enc_key->key_len); in mwifiex_set_aes_key_v2()
586 if (enc_key->is_rx_seq_valid) in mwifiex_set_aes_key_v2()
588 enc_key->pn, enc_key->pn_len); in mwifiex_set_aes_key_v2()
591 cpu_to_le16(enc_key->key_len); in mwifiex_set_aes_key_v2()
593 enc_key->key_material, enc_key->key_len); in mwifiex_set_aes_key_v2()
[all …]
Dsta_ioctl.c935 void *enc_key; in mwifiex_sec_ioctl_set_wep_key() local
945 enc_key = encrypt_key; in mwifiex_sec_ioctl_set_wep_key()
947 enc_key = NULL; in mwifiex_sec_ioctl_set_wep_key()
951 HostCmd_ACT_GEN_SET, 0, enc_key, false); in mwifiex_sec_ioctl_set_wep_key()
/drivers/crypto/vmx/
Daes_ctr.c34 struct aes_key enc_key; member
85 ret = aes_p8_set_encrypt_key(key, keylen * 8, &ctx->enc_key); in p8_aes_ctr_setkey()
106 aes_p8_encrypt(ctrblk, keystream, &ctx->enc_key); in p8_aes_ctr_final()
146 &ctx->enc_key, in p8_aes_ctr_crypt()
Daes.c34 struct aes_key enc_key; member
86 ret = aes_p8_set_encrypt_key(key, keylen * 8, &ctx->enc_key); in p8_aes_setkey()
106 aes_p8_encrypt(src, dst, &ctx->enc_key); in p8_aes_encrypt()
Daes_cbc.c35 struct aes_key enc_key; member
87 ret = aes_p8_set_encrypt_key(key, keylen * 8, &ctx->enc_key); in p8_aes_cbc_setkey()
124 &ctx->enc_key, walk.iv, 1); in p8_aes_cbc_encrypt()
/drivers/crypto/qce/
Dcipher.h23 u8 enc_key[QCE_MAX_KEY_SIZE]; member
Dcommon.c338 qce_cpu_to_be32p_array(enckey, ctx->enc_key, keylen); in qce_setup_regs_ablkcipher()
353 qce_xtskey(qce, ctx->enc_key, ctx->enc_keylen, in qce_setup_regs_ablkcipher()
Dablkcipher.c181 memcpy(ctx->enc_key, key, keylen); in qce_ablkcipher_setkey()
/drivers/net/wireless/libertas/
Dhost.h372 struct enc_key { struct