Searched refs:aead_send (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.10/net/tls/ |
D | tls_device_fallback.c | 321 aead_req = tls_alloc_aead_request(ctx->aead_send, GFP_ATOMIC); in tls_enc_skb() 350 if (tls_enc_records(aead_req, ctx->aead_send, sg_in, sg_out, aad, iv, in tls_enc_skb() 446 offload_ctx->aead_send = in tls_sw_fallback_init() 448 if (IS_ERR(offload_ctx->aead_send)) { in tls_sw_fallback_init() 449 rc = PTR_ERR(offload_ctx->aead_send); in tls_sw_fallback_init() 451 offload_ctx->aead_send = NULL; in tls_sw_fallback_init() 457 rc = crypto_aead_setkey(offload_ctx->aead_send, key, in tls_sw_fallback_init() 462 rc = crypto_aead_setauthsize(offload_ctx->aead_send, in tls_sw_fallback_init() 469 crypto_free_aead(offload_ctx->aead_send); in tls_sw_fallback_init()
|
D | tls_sw.c | 325 mem_size = sizeof(struct tls_rec) + crypto_aead_reqsize(ctx->aead_send); in tls_get_rec() 515 aead_request_set_tfm(aead_req, ctx->aead_send); in tls_do_encryption() 2184 crypto_free_aead(ctx->aead_send); in tls_sw_release_resources_tx() 2346 aead = &sw_ctx_tx->aead_send; in tls_set_sw_offload()
|
D | tls_device.c | 192 crypto_free_aead(ctx->aead_send); in tls_device_sk_destruct() 1160 crypto_free_aead(offload_ctx->aead_send); in tls_set_device_offload()
|
/Linux-v5.10/include/net/ |
D | tls.h | 132 struct crypto_aead *aead_send; member 174 struct crypto_aead *aead_send; member
|