Searched refs:sec_key (Results 1 – 3 of 3) sorted by relevance
776 unsigned char sec_key[CIFS_SESS_KEY_SIZE]; /* a nonce */ in calc_seckey() local782 get_random_bytes(sec_key, CIFS_SESS_KEY_SIZE); in calc_seckey()791 arc4_crypt(ctx_arc4, ses->ntlmssp->ciphertext, sec_key, in calc_seckey()795 memcpy(ses->auth_key.response, sec_key, CIFS_SESS_KEY_SIZE); in calc_seckey()799 memzero_explicit(sec_key, CIFS_SESS_KEY_SIZE); in calc_seckey()
1073 struct sec_key *sec_key; in mt7915_mcu_sta_key_tlv() local1080 sec_key = &sec->key[0]; in mt7915_mcu_sta_key_tlv()1081 sec_key->cipher_len = sizeof(*sec_key); in mt7915_mcu_sta_key_tlv()1082 sec_key->key_id = key->keyidx; in mt7915_mcu_sta_key_tlv()1085 sec_key->cipher_id = MT_CIPHER_AES_CCMP; in mt7915_mcu_sta_key_tlv()1086 sec_key->key_len = 16; in mt7915_mcu_sta_key_tlv()1087 memcpy(sec_key->key, key->key, 16); in mt7915_mcu_sta_key_tlv()1089 sec_key = &sec->key[1]; in mt7915_mcu_sta_key_tlv()1090 sec_key->cipher_id = MT_CIPHER_BIP_CMAC_128; in mt7915_mcu_sta_key_tlv()1091 sec_key->cipher_len = sizeof(*sec_key); in mt7915_mcu_sta_key_tlv()[all …]
758 struct sec_key { struct773 struct sec_key key[2]; argument