Home
last modified time | relevance | path

Searched refs:aead_send (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/net/tls/
Dtls_device_fallback.c321 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()
Dtls_device.c190 crypto_free_aead(ctx->aead_send); in tls_device_sk_destruct()
1045 crypto_free_aead(offload_ctx->aead_send); in tls_set_device_offload()
Dtls_sw.c320 mem_size = sizeof(struct tls_rec) + crypto_aead_reqsize(ctx->aead_send); in tls_get_rec()
508 aead_request_set_tfm(aead_req, ctx->aead_send); in tls_do_encryption()
2097 crypto_free_aead(ctx->aead_send); in tls_sw_release_resources_tx()
2258 aead = &sw_ctx_tx->aead_send; in tls_set_sw_offload()
/Linux-v5.4/include/net/
Dtls.h155 struct crypto_aead *aead_send; member
193 struct crypto_aead *aead_send; member