Home
last modified time | relevance | path

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

/net/wireless/
Dlib80211_crypt_wep.c35 struct arc4_ctx tx_ctx; member
138 arc4_setkey(&wep->tx_ctx, key, klen); in lib80211_wep_encrypt()
139 arc4_crypt(&wep->tx_ctx, pos, pos, len + 4); in lib80211_wep_encrypt()
/net/tipc/
Dcrypto.c738 struct tipc_crypto_tx_ctx *tx_ctx; in tipc_aead_encrypt() local
773 ctx = tipc_aead_mem_alloc(tfm, sizeof(*tx_ctx), &iv, &req, &sg, nsg); in tipc_aead_encrypt()
809 tx_ctx = (struct tipc_crypto_tx_ctx *)ctx; in tipc_aead_encrypt()
810 tx_ctx->aead = aead; in tipc_aead_encrypt()
811 tx_ctx->bearer = b; in tipc_aead_encrypt()
812 memcpy(&tx_ctx->dst, dst, sizeof(*dst)); in tipc_aead_encrypt()
836 struct tipc_crypto_tx_ctx *tx_ctx = TIPC_SKB_CB(skb)->crypto_ctx; in tipc_aead_encrypt_done() local
837 struct tipc_bearer *b = tx_ctx->bearer; in tipc_aead_encrypt_done()
838 struct tipc_aead *aead = tx_ctx->aead; in tipc_aead_encrypt_done()
847 b->media->send_msg(net, skb, b, &tx_ctx->dst); in tipc_aead_encrypt_done()
[all …]
/net/tls/
Dtls_sw.c2592 struct tls_sw_context_tx *tx_ctx = tls_sw_ctx_tx(ctx); in tls_sw_write_space() local
2595 if (tls_is_tx_ready(tx_ctx) && in tls_sw_write_space()
2596 !test_and_set_bit(BIT_TX_SCHEDULED, &tx_ctx->tx_bitmask)) in tls_sw_write_space()
2597 schedule_delayed_work(&tx_ctx->tx_work.work, 0); in tls_sw_write_space()