Lines Matching refs:tx_ctx
731 struct tipc_crypto_tx_ctx *tx_ctx; in tipc_aead_encrypt() local
777 ctx = tipc_aead_mem_alloc(tfm, sizeof(*tx_ctx), &iv, &req, &sg, nsg); in tipc_aead_encrypt()
813 tx_ctx = (struct tipc_crypto_tx_ctx *)ctx; in tipc_aead_encrypt()
814 tx_ctx->aead = aead; in tipc_aead_encrypt()
815 tx_ctx->bearer = b; in tipc_aead_encrypt()
816 memcpy(&tx_ctx->dst, dst, sizeof(*dst)); in tipc_aead_encrypt()
840 struct tipc_crypto_tx_ctx *tx_ctx = TIPC_SKB_CB(skb)->crypto_ctx; in tipc_aead_encrypt_done() local
841 struct tipc_bearer *b = tx_ctx->bearer; in tipc_aead_encrypt_done()
842 struct tipc_aead *aead = tx_ctx->aead; in tipc_aead_encrypt_done()
851 b->media->send_msg(net, skb, b, &tx_ctx->dst); in tipc_aead_encrypt_done()
864 kfree(tx_ctx); in tipc_aead_encrypt_done()