crypto: hisilicon/sec - delete redundant blank lines
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>
This commit is contained in:
parent
664593407e
commit
0413623c27
@ -1679,7 +1679,6 @@ static void sec_aead_callback(struct sec_ctx *c, struct sec_req *req, int err)
|
|||||||
aead_req->out_mac,
|
aead_req->out_mac,
|
||||||
authsize, a_req->cryptlen +
|
authsize, a_req->cryptlen +
|
||||||
a_req->assoclen);
|
a_req->assoclen);
|
||||||
|
|
||||||
if (unlikely(sz != authsize)) {
|
if (unlikely(sz != authsize)) {
|
||||||
dev_err(c->dev, "copy out mac err!\n");
|
dev_err(c->dev, "copy out mac err!\n");
|
||||||
err = -EINVAL;
|
err = -EINVAL;
|
||||||
@ -1966,7 +1965,6 @@ static int sec_aead_sha512_ctx_init(struct crypto_aead *tfm)
|
|||||||
return sec_aead_ctx_init(tfm, "sha512");
|
return sec_aead_ctx_init(tfm, "sha512");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static int sec_skcipher_cryptlen_ckeck(struct sec_ctx *ctx,
|
static int sec_skcipher_cryptlen_ckeck(struct sec_ctx *ctx,
|
||||||
struct sec_req *sreq)
|
struct sec_req *sreq)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user