Home
last modified time | relevance | path

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

/linux-6.3-rc2/net/tls/
A Dtls_device_fallback.c337 aead_req = tls_alloc_aead_request(ctx->aead_send, GFP_ATOMIC); in tls_enc_skb()
372 if (tls_enc_records(aead_req, ctx->aead_send, sg_in, sg_out, aad, iv, in tls_enc_skb()
478 offload_ctx->aead_send = in tls_sw_fallback_init()
480 if (IS_ERR(offload_ctx->aead_send)) { in tls_sw_fallback_init()
481 rc = PTR_ERR(offload_ctx->aead_send); in tls_sw_fallback_init()
483 offload_ctx->aead_send = NULL; in tls_sw_fallback_init()
500 rc = crypto_aead_setkey(offload_ctx->aead_send, key, cipher_sz->key); in tls_sw_fallback_init()
504 rc = crypto_aead_setauthsize(offload_ctx->aead_send, cipher_sz->tag); in tls_sw_fallback_init()
510 crypto_free_aead(offload_ctx->aead_send); in tls_sw_fallback_init()
A Dtls_sw.c329 mem_size = sizeof(struct tls_rec) + crypto_aead_reqsize(ctx->aead_send); in tls_get_rec()
531 aead_request_set_tfm(aead_req, ctx->aead_send); in tls_do_encryption()
2366 crypto_free_aead(ctx->aead_send); in tls_sw_release_resources_tx()
2547 aead = &sw_ctx_tx->aead_send; in tls_set_sw_offload()
A Dtls_device.c206 crypto_free_aead(ctx->aead_send); in tls_device_sk_destruct()
1238 crypto_free_aead(offload_ctx->aead_send); in tls_set_device_offload()
/linux-6.3-rc2/include/net/
A Dtls.h105 struct crypto_aead *aead_send; member
164 struct crypto_aead *aead_send; member

Completed in 14 milliseconds