[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1497936161-4877-1-git-send-email-fbihjmeric@gmail.com>
Date: Tue, 20 Jun 2017 13:22:41 +0800
From: Jhih-Ming Huang <fbihjmeric@...il.com>
To: Gilad Ben-Yossef <gilad@...yossef.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-crypto@...r.kernel.org,
driverdev-devel@...uxdriverproject.org, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org
Cc: Jhih-Ming Hunag <fbihjmeric@...il.com>
Subject: [PATCH 09/11] Fix ERROR: space prohibited before that ','
From: Jhih-Ming Hunag <fbihjmeric@...il.com>
Fixed "ERROR: space prohibited before that ','".
Signed-off-by: Jhih-Ming Hunag <fbihjmeric@...il.com>
---
drivers/staging/ccree/ssi_aead.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/ccree/ssi_aead.c b/drivers/staging/ccree/ssi_aead.c
index 6d2c035..d697244 100644
--- a/drivers/staging/ccree/ssi_aead.c
+++ b/drivers/staging/ccree/ssi_aead.c
@@ -1916,16 +1916,16 @@ static int config_gcm_context(struct aead_request *req)
if (req_ctx->plaintext_authenticate_only == false) {
__be64 temp64;
temp64 = cpu_to_be64(req->assoclen * 8);
- memcpy (&req_ctx->gcm_len_block.lenA , &temp64, sizeof(temp64));
+ memcpy (&req_ctx->gcm_len_block.lenA, &temp64, sizeof(temp64));
temp64 = cpu_to_be64(cryptlen * 8);
- memcpy (&req_ctx->gcm_len_block.lenC , &temp64, 8);
+ memcpy (&req_ctx->gcm_len_block.lenC, &temp64, 8);
}
else { //rfc4543=> all data(AAD,IV,Plain) are considered additional data that is nothing is encrypted.
__be64 temp64;
temp64 = cpu_to_be64((req->assoclen+GCM_BLOCK_RFC4_IV_SIZE+cryptlen) * 8);
- memcpy (&req_ctx->gcm_len_block.lenA , &temp64, sizeof(temp64));
+ memcpy (&req_ctx->gcm_len_block.lenA, &temp64, sizeof(temp64));
temp64 = 0;
- memcpy (&req_ctx->gcm_len_block.lenC , &temp64, 8);
+ memcpy (&req_ctx->gcm_len_block.lenC, &temp64, 8);
}
return 0;
--
2.7.4
Powered by blists - more mailing lists