Home
last modified time | relevance | path

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

/openbmc/linux/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()
2488 crypto_free_aead(ctx->aead_send); in tls_sw_release_resources_tx()
2688 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()
/openbmc/linux/include/net/
H A Dtls.h93 struct crypto_aead *aead_send; member
149 struct crypto_aead *aead_send; member