Home
last modified time | relevance | path

Searched refs:encrypt_key (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/net/wireless/marvell/mwifiex/
Dsta_ioctl.c887 struct mwifiex_ds_encrypt_key *encrypt_key) in mwifiex_sec_ioctl_set_wapi_key() argument
892 encrypt_key, true); in mwifiex_sec_ioctl_set_wapi_key()
902 struct mwifiex_ds_encrypt_key *encrypt_key) in mwifiex_sec_ioctl_set_wep_key() argument
912 index = encrypt_key->key_index; in mwifiex_sec_ioctl_set_wep_key()
913 if (encrypt_key->key_disable) { in mwifiex_sec_ioctl_set_wep_key()
915 } else if (!encrypt_key->key_len) { in mwifiex_sec_ioctl_set_wep_key()
925 memcpy(encrypt_key->key_material, in mwifiex_sec_ioctl_set_wep_key()
927 encrypt_key->key_len = wep_key->key_length; in mwifiex_sec_ioctl_set_wep_key()
937 encrypt_key->key_material, in mwifiex_sec_ioctl_set_wep_key()
938 encrypt_key->key_len); in mwifiex_sec_ioctl_set_wep_key()
[all …]
Dcfg80211.c507 struct mwifiex_ds_encrypt_key encrypt_key; in mwifiex_cfg80211_set_default_mgmt_key() local
511 memset(&encrypt_key, 0, sizeof(struct mwifiex_ds_encrypt_key)); in mwifiex_cfg80211_set_default_mgmt_key()
512 encrypt_key.key_len = WLAN_KEY_LEN_CCMP; in mwifiex_cfg80211_set_default_mgmt_key()
513 encrypt_key.key_index = key_index; in mwifiex_cfg80211_set_default_mgmt_key()
514 encrypt_key.is_igtk_def_key = true; in mwifiex_cfg80211_set_default_mgmt_key()
515 eth_broadcast_addr(encrypt_key.mac_addr); in mwifiex_cfg80211_set_default_mgmt_key()
518 HostCmd_ACT_GEN_SET, true, &encrypt_key, true); in mwifiex_cfg80211_set_default_mgmt_key()
/Linux-v4.19/arch/sparc/crypto/
Dcamellia_glue.c27 u64 encrypt_key[CAMELLIA_TABLE_BYTE_LEN / sizeof(u64)]; member
32 extern void camellia_sparc64_key_expand(const u32 *in_key, u64 *encrypt_key,
49 camellia_sparc64_key_expand(in_key, &ctx->encrypt_key[0], in camellia_set_key()
61 camellia_sparc64_crypt(&ctx->encrypt_key[0], in camellia_encrypt()
104 key = &ctx->encrypt_key[0]; in __ecb_crypt()
166 key = &ctx->encrypt_key[0]; in cbc_encrypt()