Lines Matching refs:dst_key

3797 		       uint8_t *dst_key, uint8_t *dst_key_len, uint8_t *count,  in wmi_fill_keys_from_tlv()  argument
3828 qdf_mem_copy(dst_key + bytes_filled, (*ml_keys)->key_buff, in wmi_fill_keys_from_tlv()
3849 struct wlan_crypto_key *dst_key, *pairwise; in extract_roam_synch_key_event_tlv() local
3880 key_alloc_buf[k] = qdf_mem_malloc(sizeof(*dst_key)); in extract_roam_synch_key_event_tlv()
3934 dst_key = key_alloc_buf[dst_key_count]; in extract_roam_synch_key_event_tlv()
3990 dst_key->valid = true; in extract_roam_synch_key_event_tlv()
3991 dst_key->keylen = ml_keys->key_len; in extract_roam_synch_key_event_tlv()
3992 dst_key->flags = ml_keys->key_flags; in extract_roam_synch_key_event_tlv()
3993 dst_key->keyix = ml_keys->key_ix; in extract_roam_synch_key_event_tlv()
3994 dst_key->key_type = in extract_roam_synch_key_event_tlv()
3996 dst_key->cipher_type = in extract_roam_synch_key_event_tlv()
3998 dst_key->keylen = ml_keys->key_len; in extract_roam_synch_key_event_tlv()
4000 wmi_fill_keys_from_tlv(&ml_keys, dst_key->keyval, in extract_roam_synch_key_event_tlv()
4001 &dst_key->keylen, &count, in extract_roam_synch_key_event_tlv()
4006 dst_key->keylen); in extract_roam_synch_key_event_tlv()
4008 pairwise = dst_key; in extract_roam_synch_key_event_tlv()
4014 dst_key = key_alloc_buf[dst_key_count]; in extract_roam_synch_key_event_tlv()
4015 *dst_key = *pairwise; in extract_roam_synch_key_event_tlv()
4016 key_entry[j].keys.key[dst_key->keyix] = dst_key; in extract_roam_synch_key_event_tlv()
4042 dst_key->macaddr); in extract_roam_synch_key_event_tlv()
4045 (struct qdf_mac_addr *)dst_key->macaddr); in extract_roam_synch_key_event_tlv()
4048 dst_key->valid = true; in extract_roam_synch_key_event_tlv()
4049 dst_key->keyix = ml_keys->key_ix; in extract_roam_synch_key_event_tlv()
4050 dst_key->cipher_type = in extract_roam_synch_key_event_tlv()
4053 qdf_mem_copy(dst_key->keyrsc, ml_keys->pn, WMI_MAX_PN_LEN); in extract_roam_synch_key_event_tlv()
4061 dst_key->keylen = ml_keys->key_len; in extract_roam_synch_key_event_tlv()
4062 wmi_fill_keys_from_tlv(&ml_keys, dst_key->keyval, in extract_roam_synch_key_event_tlv()
4063 &dst_key->keylen, &count, total_num_tlv); in extract_roam_synch_key_event_tlv()
4065 if (is_igtk(dst_key->keyix)) { in extract_roam_synch_key_event_tlv()
4066 dst_key->key_type = WLAN_CRYPTO_KEY_TYPE_GROUP; in extract_roam_synch_key_event_tlv()
4068 igtk_idx = dst_key->keyix - WLAN_CRYPTO_MAXKEYIDX; in extract_roam_synch_key_event_tlv()
4073 QDF_MAC_ADDR_REF(dst_key->macaddr), in extract_roam_synch_key_event_tlv()
4074 dst_key->keyix, igtk_idx, bigtk_idx); in extract_roam_synch_key_event_tlv()
4075 all_keys->igtk_key[igtk_idx] = dst_key; in extract_roam_synch_key_event_tlv()
4080 } else if (is_bigtk(dst_key->keyix)) { in extract_roam_synch_key_event_tlv()
4081 dst_key->key_type = WLAN_CRYPTO_KEY_TYPE_GROUP; in extract_roam_synch_key_event_tlv()
4083 igtk_idx = dst_key->keyix - WLAN_CRYPTO_MAXKEYIDX; in extract_roam_synch_key_event_tlv()
4088 QDF_MAC_ADDR_REF(dst_key->macaddr), in extract_roam_synch_key_event_tlv()
4089 dst_key->keyix, igtk_idx, bigtk_idx); in extract_roam_synch_key_event_tlv()
4090 all_keys->bigtk_key[bigtk_idx] = dst_key; in extract_roam_synch_key_event_tlv()
4095 } else if (is_gtk(dst_key->keyix)) { in extract_roam_synch_key_event_tlv()
4098 QDF_MAC_ADDR_REF(dst_key->macaddr), in extract_roam_synch_key_event_tlv()
4099 dst_key->keyix); in extract_roam_synch_key_event_tlv()
4100 dst_key->key_type = WLAN_CRYPTO_KEY_TYPE_GROUP; in extract_roam_synch_key_event_tlv()
4101 all_keys->key[dst_key->keyix] = dst_key; in extract_roam_synch_key_event_tlv()
4105 dst_key->key_type = WLAN_CRYPTO_KEY_TYPE_UNICAST; in extract_roam_synch_key_event_tlv()
4106 all_keys->key[dst_key->keyix] = dst_key; in extract_roam_synch_key_event_tlv()