Searched refs:rx_ctx (Results 1 – 5 of 5) sorted by relevance
| /net/mac80211/ |
| A D | tkip.c | 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() 292 tkip_mixing_phase1(tk, &rx_ctx->ctx, ta, iv32); in ieee80211_tkip_decrypt_data() [all …]
|
| /net/tls/ |
| A D | tls_device.c | 696 struct tls_offload_context_rx *rx_ctx = tls_offload_ctx_rx(tls_ctx); in tls_device_resync_rx() local 699 trace_tls_device_rx_resync_send(sk, seq, rcd_sn, rx_ctx->resync_type); in tls_device_resync_rx() 768 struct tls_offload_context_rx *rx_ctx; in tls_device_rx_resync_new_rec() local 782 rx_ctx = tls_offload_ctx_rx(tls_ctx); in tls_device_rx_resync_new_rec() 785 switch (rx_ctx->resync_type) { in tls_device_rx_resync_new_rec() 787 resync_req = atomic64_read(&rx_ctx->resync_req); in tls_device_rx_resync_new_rec() 793 !atomic64_try_cmpxchg(&rx_ctx->resync_req, &resync_req, 0)) in tls_device_rx_resync_new_rec() 797 if (likely(!rx_ctx->resync_nh_do_now)) in tls_device_rx_resync_new_rec() 810 rx_ctx->resync_nh_do_now = 0; in tls_device_rx_resync_new_rec() 815 resync_req = atomic64_read(&rx_ctx->resync_async->req); in tls_device_rx_resync_new_rec() [all …]
|
| A D | tls_sw.c | 1773 struct tls_sw_context_rx *rx_ctx = ctx->priv_ctx_rx; in tls_check_pending_rekey() local 1775 WRITE_ONCE(rx_ctx->key_update_pending, true); in tls_check_pending_rekey() 2657 struct tls_sw_context_rx *rx_ctx = tls_sw_ctx_rx(tls_ctx); in tls_sw_strparser_arm() local 2660 rx_ctx->saved_data_ready = sk->sk_data_ready; in tls_sw_strparser_arm() 2667 struct tls_sw_context_rx *rx_ctx = tls_sw_ctx_rx(tls_ctx); in tls_update_rx_zc_capable() local 2669 rx_ctx->zc_capable = tls_ctx->rx_no_pad || in tls_update_rx_zc_capable()
|
| A D | tls_main.c | 748 struct tls_sw_context_rx *rx_ctx = tls_sw_ctx_rx(ctx); in do_tls_setsockopt_conf() local 750 tls_strp_check_rcv(&rx_ctx->strp); in do_tls_setsockopt_conf()
|
| /net/tipc/ |
| A D | crypto.c | 889 struct tipc_crypto_rx_ctx *rx_ctx; in tipc_aead_decrypt() local 911 ctx = tipc_aead_mem_alloc(tfm, sizeof(*rx_ctx), &iv, &req, &sg, nsg); in tipc_aead_decrypt() 943 rx_ctx = (struct tipc_crypto_rx_ctx *)ctx; in tipc_aead_decrypt() 944 rx_ctx->aead = aead; in tipc_aead_decrypt() 945 rx_ctx->bearer = b; in tipc_aead_decrypt() 969 struct tipc_crypto_rx_ctx *rx_ctx = TIPC_SKB_CB(skb)->crypto_ctx; in tipc_aead_decrypt_done() local 970 struct tipc_bearer *b = rx_ctx->bearer; in tipc_aead_decrypt_done() 971 struct tipc_aead *aead = rx_ctx->aead; in tipc_aead_decrypt_done() 986 kfree(rx_ctx); in tipc_aead_decrypt_done()
|
Completed in 21 milliseconds