Home
last modified time | relevance | path

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

/Linux-v4.19/net/tls/
Dtls_device_fallback.c309 aead_req = tls_alloc_aead_request(ctx->aead_send, GFP_ATOMIC); in tls_enc_skb()
338 if (tls_enc_records(aead_req, ctx->aead_send, sg_in, sg_out, aad, iv, in tls_enc_skb()
425 offload_ctx->aead_send = in tls_sw_fallback_init()
427 if (IS_ERR(offload_ctx->aead_send)) { in tls_sw_fallback_init()
428 rc = PTR_ERR(offload_ctx->aead_send); in tls_sw_fallback_init()
430 offload_ctx->aead_send = NULL; in tls_sw_fallback_init()
436 rc = crypto_aead_setkey(offload_ctx->aead_send, key, in tls_sw_fallback_init()
441 rc = crypto_aead_setauthsize(offload_ctx->aead_send, in tls_sw_fallback_init()
448 crypto_free_aead(offload_ctx->aead_send); in tls_sw_fallback_init()
Dtls_sw.c185 aead_request_set_tfm(aead_req, ctx->aead_send); in tls_do_encryption()
209 req = aead_request_alloc(ctx->aead_send, sk->sk_allocation); in tls_push_record()
1110 crypto_free_aead(ctx->aead_send); in tls_sw_free_resources_tx()
1193 aead = &sw_ctx_tx->aead_send; in tls_set_sw_offload()
Dtls_device.c210 crypto_free_aead(ctx->aead_send); in tls_device_sk_destruct()
804 crypto_free_aead(offload_ctx->aead_send); in tls_set_device_offload()
/Linux-v4.19/include/net/
Dtls.h97 struct crypto_aead *aead_send; member
138 struct crypto_aead *aead_send; member