Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
453 offload_ctx->aead_send = in tls_sw_fallback_init()
455 if (IS_ERR(offload_ctx->aead_send)) { in tls_sw_fallback_init()
456 rc = PTR_ERR(offload_ctx->aead_send); in tls_sw_fallback_init()
458 offload_ctx->aead_send = NULL; in tls_sw_fallback_init()
464 rc = crypto_aead_setkey(offload_ctx->aead_send, key, in tls_sw_fallback_init()
469 rc = crypto_aead_setauthsize(offload_ctx->aead_send, in tls_sw_fallback_init()
476 crypto_free_aead(offload_ctx->aead_send); in tls_sw_fallback_init()
Dtls_sw.c335 mem_size = sizeof(struct tls_rec) + crypto_aead_reqsize(ctx->aead_send); in tls_get_rec()
525 aead_request_set_tfm(aead_req, ctx->aead_send); in tls_do_encryption()
2193 crypto_free_aead(ctx->aead_send); in tls_sw_release_resources_tx()
2355 aead = &sw_ctx_tx->aead_send; in tls_set_sw_offload()
Dtls_device.c196 crypto_free_aead(ctx->aead_send); in tls_device_sk_destruct()
1176 crypto_free_aead(offload_ctx->aead_send); in tls_set_device_offload()
/kernel/linux/linux-5.10/include/net/
Dtls.h132 struct crypto_aead *aead_send; member
174 struct crypto_aead *aead_send; member
/kernel/linux/linux-5.10/fs/hmdfs/comm/
Dcrypto.c36 aead = &sw_ctx_tx->aead_send; in tls_crypto_set_key()