Lines Matching refs:tx_ctx
738 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()
860 kfree(tx_ctx); in tipc_aead_encrypt_done()