Home
last modified time | relevance | path

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

/net/mac80211/
Dtkip.c250 struct tkip_ctx_rx *rx_ctx = &key->u.tkip.rx[queue]; in ieee80211_tkip_decrypt_data() local
275 if (iv32 < rx_ctx->iv32 || in ieee80211_tkip_decrypt_data()
276 (iv32 == rx_ctx->iv32 && in ieee80211_tkip_decrypt_data()
277 (iv16 < rx_ctx->iv16 || in ieee80211_tkip_decrypt_data()
278 (iv16 == rx_ctx->iv16 && in ieee80211_tkip_decrypt_data()
279 (rx_ctx->iv32 || rx_ctx->iv16 || in ieee80211_tkip_decrypt_data()
280 rx_ctx->ctx.state != TKIP_STATE_NOT_INIT))))) in ieee80211_tkip_decrypt_data()
285 rx_ctx->ctx.state = TKIP_STATE_PHASE1_HW_UPLOADED; in ieee80211_tkip_decrypt_data()
289 if (rx_ctx->ctx.state == TKIP_STATE_NOT_INIT || in ieee80211_tkip_decrypt_data()
290 rx_ctx->iv32 != iv32) { in ieee80211_tkip_decrypt_data()
[all …]
/net/tls/
Dtls_device.c669 struct tls_offload_context_rx *rx_ctx = tls_offload_ctx_rx(tls_ctx); in tls_device_resync_rx() local
672 trace_tls_device_rx_resync_send(sk, seq, rcd_sn, rx_ctx->resync_type); in tls_device_resync_rx()
741 struct tls_offload_context_rx *rx_ctx; in tls_device_rx_resync_new_rec() local
755 rx_ctx = tls_offload_ctx_rx(tls_ctx); in tls_device_rx_resync_new_rec()
758 switch (rx_ctx->resync_type) { in tls_device_rx_resync_new_rec()
760 resync_req = atomic64_read(&rx_ctx->resync_req); in tls_device_rx_resync_new_rec()
766 !atomic64_try_cmpxchg(&rx_ctx->resync_req, &resync_req, 0)) in tls_device_rx_resync_new_rec()
770 if (likely(!rx_ctx->resync_nh_do_now)) in tls_device_rx_resync_new_rec()
783 rx_ctx->resync_nh_do_now = 0; in tls_device_rx_resync_new_rec()
788 resync_req = atomic64_read(&rx_ctx->resync_async->req); in tls_device_rx_resync_new_rec()
[all …]
Dtls_sw.c2294 struct tls_sw_context_rx *rx_ctx = tls_sw_ctx_rx(tls_ctx); in tls_sw_strparser_arm() local
2297 rx_ctx->saved_data_ready = sk->sk_data_ready; in tls_sw_strparser_arm()
2301 strp_check_rcv(&rx_ctx->strp); in tls_sw_strparser_arm()
/net/wireless/
Dlib80211_crypt_wep.c36 struct arc4_ctx rx_ctx; member
177 arc4_setkey(&wep->rx_ctx, key, klen); in lib80211_wep_decrypt()
178 arc4_crypt(&wep->rx_ctx, pos, pos, plen + 4); in lib80211_wep_decrypt()
/net/tipc/
Dcrypto.c891 struct tipc_crypto_rx_ctx *rx_ctx; in tipc_aead_decrypt() local
913 ctx = tipc_aead_mem_alloc(tfm, sizeof(*rx_ctx), &iv, &req, &sg, nsg); in tipc_aead_decrypt()
945 rx_ctx = (struct tipc_crypto_rx_ctx *)ctx; in tipc_aead_decrypt()
946 rx_ctx->aead = aead; in tipc_aead_decrypt()
947 rx_ctx->bearer = b; in tipc_aead_decrypt()
971 struct tipc_crypto_rx_ctx *rx_ctx = TIPC_SKB_CB(skb)->crypto_ctx; in tipc_aead_decrypt_done() local
972 struct tipc_bearer *b = rx_ctx->bearer; in tipc_aead_decrypt_done()
973 struct tipc_aead *aead = rx_ctx->aead; in tipc_aead_decrypt_done()
988 kfree(rx_ctx); in tipc_aead_decrypt_done()