projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6645934
)
crypto: hisilicon/sec - delete redundant blank lines
author
Kai Ye
<yekai13@huawei.com>
Fri, 9 Sep 2022 06:28:11 +0000
(06:28 +0000)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Fri, 16 Sep 2022 10:29:44 +0000
(18:29 +0800)
Some coding style fixes in sec crypto file.
Signed-off-by: Kai Ye <yekai13@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/sec2/sec_crypto.c
patch
|
blob
|
history
diff --git
a/drivers/crypto/hisilicon/sec2/sec_crypto.c
b/drivers/crypto/hisilicon/sec2/sec_crypto.c
index 77c9f13cf69ac67368f622b4b9e9ff416fc0b100..ead061089e0c4353e3b970366ba1c0a6b206f0be 100644
(file)
--- a/
drivers/crypto/hisilicon/sec2/sec_crypto.c
+++ b/
drivers/crypto/hisilicon/sec2/sec_crypto.c
@@
-1679,7
+1679,6
@@
static void sec_aead_callback(struct sec_ctx *c, struct sec_req *req, int err)
aead_req->out_mac,
authsize, a_req->cryptlen +
a_req->assoclen);
-
if (unlikely(sz != authsize)) {
dev_err(c->dev, "copy out mac err!\n");
err = -EINVAL;
@@
-1966,7
+1965,6
@@
static int sec_aead_sha512_ctx_init(struct crypto_aead *tfm)
return sec_aead_ctx_init(tfm, "sha512");
}
-
static int sec_skcipher_cryptlen_ckeck(struct sec_ctx *ctx,
struct sec_req *sreq)
{