Home
last modified time | relevance | path

Searched refs:aead_send (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/net/tls/
H A 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()
H A Dtls_sw.c335 mem_size = sizeof(struct tls_rec) + crypto_aead_reqsize(ctx->aead_send); in tls_get_rec()
521 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()
2363 aead = &sw_ctx_tx->aead_send; in tls_set_sw_offload()
H A 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-6.6/net/tls/
H 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()
481 offload_ctx->aead_send = in tls_sw_fallback_init()
483 if (IS_ERR(offload_ctx->aead_send)) { in tls_sw_fallback_init()
484 rc = PTR_ERR(offload_ctx->aead_send); in tls_sw_fallback_init()
486 offload_ctx->aead_send = NULL; in tls_sw_fallback_init()
490 rc = crypto_aead_setkey(offload_ctx->aead_send, in tls_sw_fallback_init()
496 rc = crypto_aead_setauthsize(offload_ctx->aead_send, cipher_desc->tag); in tls_sw_fallback_init()
502 crypto_free_aead(offload_ctx->aead_send); in tls_sw_fallback_init()
H A Dtls_sw.c363 mem_size = sizeof(struct tls_rec) + crypto_aead_reqsize(ctx->aead_send); in tls_get_rec()
568 aead_request_set_tfm(aead_req, ctx->aead_send); in tls_do_encryption()
2485 crypto_free_aead(ctx->aead_send); in tls_sw_release_resources_tx()
2685 aead = &sw_ctx_tx->aead_send; in tls_set_sw_offload()
H A Dtls_device.c208 crypto_free_aead(ctx->aead_send); in tls_device_sk_destruct()
1195 crypto_free_aead(offload_ctx->aead_send); in tls_set_device_offload()
/kernel/linux/linux-6.6/include/net/
H A Dtls.h93 struct crypto_aead *aead_send; member
148 struct crypto_aead *aead_send; member
/kernel/linux/linux-5.10/include/net/
H A Dtls.h132 struct crypto_aead *aead_send; member
174 struct crypto_aead *aead_send; member
/kernel/linux/linux-5.10/fs/hmdfs/comm/
H A Dcrypto.c36 aead = &sw_ctx_tx->aead_send; in tls_crypto_set_key()
/kernel/linux/linux-6.6/fs/hmdfs/comm/
H A Dcrypto.c36 aead = &sw_ctx_tx->aead_send; in tls_crypto_set_key()

Completed in 15 milliseconds