Searched refs:sec_key (Results 1 – 4 of 4) sorted by relevance
630 struct sec_key *sec_key; in mt7921_mcu_sta_key_tlv() local637 sec_key = &sec->key[0]; in mt7921_mcu_sta_key_tlv()638 sec_key->cipher_len = sizeof(*sec_key); in mt7921_mcu_sta_key_tlv()641 sec_key->cipher_id = MCU_CIPHER_AES_CCMP; in mt7921_mcu_sta_key_tlv()642 sec_key->key_id = bip->keyidx; in mt7921_mcu_sta_key_tlv()643 sec_key->key_len = 16; in mt7921_mcu_sta_key_tlv()644 memcpy(sec_key->key, bip->key, 16); in mt7921_mcu_sta_key_tlv()646 sec_key = &sec->key[1]; in mt7921_mcu_sta_key_tlv()647 sec_key->cipher_id = MCU_CIPHER_BIP_CMAC_128; in mt7921_mcu_sta_key_tlv()648 sec_key->cipher_len = sizeof(*sec_key); in mt7921_mcu_sta_key_tlv()[all …]
183 struct sec_key { struct198 struct sec_key key[2]; argument
1200 struct sec_key *sec_key; in mt7915_mcu_sta_key_tlv() local1207 sec_key = &sec->key[0]; in mt7915_mcu_sta_key_tlv()1208 sec_key->cipher_len = sizeof(*sec_key); in mt7915_mcu_sta_key_tlv()1211 sec_key->cipher_id = MCU_CIPHER_AES_CCMP; in mt7915_mcu_sta_key_tlv()1212 sec_key->key_id = bip->keyidx; in mt7915_mcu_sta_key_tlv()1213 sec_key->key_len = 16; in mt7915_mcu_sta_key_tlv()1214 memcpy(sec_key->key, bip->key, 16); in mt7915_mcu_sta_key_tlv()1216 sec_key = &sec->key[1]; in mt7915_mcu_sta_key_tlv()1217 sec_key->cipher_id = MCU_CIPHER_BIP_CMAC_128; in mt7915_mcu_sta_key_tlv()1218 sec_key->cipher_len = sizeof(*sec_key); in mt7915_mcu_sta_key_tlv()[all …]
900 struct sec_key { struct915 struct sec_key key[2]; argument