Backport uadk engine from linaro. Signed-off-by: Wenkai Lin <linwenkai6@hisilicon.com> (cherry picked from commit 766348e9bbea924a5e4535d88612f43c9f59c2ec)
28 lines
729 B
Diff
28 lines
729 B
Diff
From e82ec8d48be21d107635e5f1a4874fb8999a27c4 Mon Sep 17 00:00:00 2001
|
|
From: Kai Ye <yekai13@huawei.com>
|
|
Date: Wed, 19 Jan 2022 09:41:25 +0800
|
|
Subject: [PATCH 19/22] cipher: fixup a code check warning
|
|
|
|
Do not put two or more continuous blank lines inside function.
|
|
|
|
Signed-off-by: Kai Ye <yekai13@huawei.com>
|
|
---
|
|
src/uadk_cipher.c | 1 -
|
|
1 file changed, 1 deletion(-)
|
|
|
|
diff --git a/src/uadk_cipher.c b/src/uadk_cipher.c
|
|
index 2b8bb9c..3d376bf 100644
|
|
--- a/src/uadk_cipher.c
|
|
+++ b/src/uadk_cipher.c
|
|
@@ -890,7 +890,6 @@ static int uadk_e_do_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
|
|
struct async_op op;
|
|
int ret;
|
|
|
|
-
|
|
priv->req.src = (unsigned char *)in;
|
|
priv->req.in_bytes = inlen;
|
|
priv->req.dst = out;
|
|
--
|
|
2.24.4
|
|
|