Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/marvell/mwifiex/
H A Dsta_ioctl.c940 struct mwifiex_ds_encrypt_key *encrypt_key) in mwifiex_sec_ioctl_set_wapi_key() argument
945 encrypt_key, true); in mwifiex_sec_ioctl_set_wapi_key()
955 struct mwifiex_ds_encrypt_key *encrypt_key) in mwifiex_sec_ioctl_set_wep_key() argument
965 index = encrypt_key->key_index; in mwifiex_sec_ioctl_set_wep_key()
966 if (encrypt_key->key_disable) { in mwifiex_sec_ioctl_set_wep_key()
968 } else if (!encrypt_key->key_len) { in mwifiex_sec_ioctl_set_wep_key()
978 memcpy(encrypt_key->key_material, in mwifiex_sec_ioctl_set_wep_key()
980 encrypt_key->key_len = wep_key->key_length; in mwifiex_sec_ioctl_set_wep_key()
990 encrypt_key->key_material, in mwifiex_sec_ioctl_set_wep_key()
991 encrypt_key->key_len); in mwifiex_sec_ioctl_set_wep_key()
[all …]
H A Dcfg80211.c526 struct mwifiex_ds_encrypt_key encrypt_key; in mwifiex_cfg80211_set_default_mgmt_key() local
533 memset(&encrypt_key, 0, sizeof(struct mwifiex_ds_encrypt_key)); in mwifiex_cfg80211_set_default_mgmt_key()
534 encrypt_key.key_len = WLAN_KEY_LEN_CCMP; in mwifiex_cfg80211_set_default_mgmt_key()
535 encrypt_key.key_index = key_index; in mwifiex_cfg80211_set_default_mgmt_key()
536 encrypt_key.is_igtk_def_key = true; in mwifiex_cfg80211_set_default_mgmt_key()
537 eth_broadcast_addr(encrypt_key.mac_addr); in mwifiex_cfg80211_set_default_mgmt_key()
540 HostCmd_ACT_GEN_SET, true, &encrypt_key, true)) { in mwifiex_cfg80211_set_default_mgmt_key()
/linux/arch/sparc/crypto/
H A Dcamellia_glue.c28 u64 encrypt_key[CAMELLIA_TABLE_BYTE_LEN / sizeof(u64)]; member
33 extern void camellia_sparc64_key_expand(const u32 *in_key, u64 *encrypt_key,
47 camellia_sparc64_key_expand(in_key, &ctx->encrypt_key[0], in camellia_set_key()
65 camellia_sparc64_crypt(&ctx->encrypt_key[0], in camellia_encrypt()
106 key = &ctx->encrypt_key[0]; in __ecb_crypt()
155 key = &ctx->encrypt_key[0]; in cbc_encrypt()