summaryrefslogtreecommitdiff
path: root/net/tls
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2023-02-06 13:22:44 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2023-02-13 13:35:15 +0300
commit8580e55aa85f5000065450add82707a5ee7f88f5 (patch)
tree50192f2d3265a188fbedb49f3502b499376c03bd /net/tls
parent65cb4657bac776967f1f794fb45d2fa419565c63 (diff)
downloadlinux-8580e55aa85f5000065450add82707a5ee7f88f5.tar.xz
tls: Remove completion function scaffolding
This patch removes the temporary scaffolding now that the comletion function signature has been converted. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'net/tls')
-rw-r--r--net/tls/tls_sw.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/tls/tls_sw.c b/net/tls/tls_sw.c
index 5b7f67a7d394..0515cda32fe2 100644
--- a/net/tls/tls_sw.c
+++ b/net/tls/tls_sw.c
@@ -179,9 +179,9 @@ static int tls_padding_length(struct tls_prot_info *prot, struct sk_buff *skb,
return sub;
}
-static void tls_decrypt_done(crypto_completion_data_t *data, int err)
+static void tls_decrypt_done(void *data, int err)
{
- struct aead_request *aead_req = crypto_get_completion_data(data);
+ struct aead_request *aead_req = data;
struct crypto_aead *aead = crypto_aead_reqtfm(aead_req);
struct scatterlist *sgout = aead_req->dst;
struct scatterlist *sgin = aead_req->src;
@@ -428,9 +428,9 @@ tx_err:
return rc;
}
-static void tls_encrypt_done(crypto_completion_data_t *data, int err)
+static void tls_encrypt_done(void *data, int err)
{
- struct aead_request *aead_req = crypto_get_completion_data(data);
+ struct aead_request *aead_req = data;
struct tls_sw_context_tx *ctx;
struct tls_context *tls_ctx;
struct tls_prot_info *prot;