Home
last modified time | relevance | path

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

/net/mac80211/
Dtkip.c253 struct tkip_ctx_rx *rx_ctx = &key->u.tkip.rx[queue]; in ieee80211_tkip_decrypt_data() local
269 if (rx_ctx->ctx.state != TKIP_STATE_NOT_INIT && in ieee80211_tkip_decrypt_data()
270 (iv32 < rx_ctx->iv32 || in ieee80211_tkip_decrypt_data()
271 (iv32 == rx_ctx->iv32 && iv16 <= rx_ctx->iv16))) in ieee80211_tkip_decrypt_data()
276 rx_ctx->ctx.state = TKIP_STATE_PHASE1_HW_UPLOADED; in ieee80211_tkip_decrypt_data()
280 if (rx_ctx->ctx.state == TKIP_STATE_NOT_INIT || in ieee80211_tkip_decrypt_data()
281 rx_ctx->iv32 != iv32) { in ieee80211_tkip_decrypt_data()
283 tkip_mixing_phase1(tk, &rx_ctx->ctx, ta, iv32); in ieee80211_tkip_decrypt_data()
287 rx_ctx->ctx.state != TKIP_STATE_PHASE1_HW_UPLOADED) { in ieee80211_tkip_decrypt_data()
294 iv32, rx_ctx->ctx.p1k); in ieee80211_tkip_decrypt_data()
[all …]