Lines Matching defs:cipher
134 * @cipher: Specific cipher suite to search for or WPA_CIPHER_NONE for any
138 const u8 *addr, u32 cipher)
147 (cipher == WPA_CIPHER_NONE || cipher == e->cipher))
191 wpa_cipher_txt(e->cipher),
231 * @cipher: Specific cipher suite to search for or WPA_CIPHER_NONE for any
233 void ptksa_cache_flush(struct ptksa_cache *ptksa, const u8 *addr, u32 cipher)
244 (cipher == WPA_CIPHER_NONE || cipher == e->cipher)) {
264 * @cipher: The cipher used
273 * If an old entry is already in the cache for the same peer and cipher
278 const u8 *addr, u32 cipher,
289 if (!ptksa || !ptk || !addr || !life_time || cipher == WPA_CIPHER_NONE)
293 ptksa_cache_flush(ptksa, addr, cipher);
305 entry->cipher = cipher;
339 "Added PTKSA cache entry addr=" MACSTR " cipher=%u",
340 MAC2STR(addr), cipher);
362 ptksa_cache_get(struct ptksa_cache *ptksa, const u8 *addr, u32 cipher)
376 u32 cipher, u32 life_time, const struct wpa_ptk *ptk,
383 void ptksa_cache_flush(struct ptksa_cache *ptksa, const u8 *addr, u32 cipher)