Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1670834 > unrolled thread
| Started by | Jhih-Ming Huang <fbihjmeric@gmail.com> |
|---|---|
| First post | 2017-06-20 17:00 +0200 |
| Last post | 2017-06-20 17:00 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH 6/6] staging: ccree: move else to follow close brace '}' Jhih-Ming Huang <fbihjmeric@gmail.com> - 2017-06-20 17:00 +0200
| From | Jhih-Ming Huang <fbihjmeric@gmail.com> |
|---|---|
| Date | 2017-06-20 17:00 +0200 |
| Subject | [PATCH 6/6] staging: ccree: move else to follow close brace '}' |
| Message-ID | <tUsNj-1v3-1@gated-at.bofh.it> |
From: Jhih-Ming Hunag <fbihjmeric@gmail.com>
Move else to follow close brace '}'
Signed-off-by: Jhih-Ming Hunag <fbihjmeric@gmail.com>
---
drivers/staging/ccree/ssi_aead.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/staging/ccree/ssi_aead.c b/drivers/staging/ccree/ssi_aead.c
index 57c7c68..c70e450 100644
--- a/drivers/staging/ccree/ssi_aead.c
+++ b/drivers/staging/ccree/ssi_aead.c
@@ -1919,8 +1919,7 @@ static int config_gcm_context(struct aead_request *req)
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);
- }
- else { //rfc4543=> all data(AAD,IV,Plain) are considered additional data that is nothing is encrypted.
+ } 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));
--
2.7.4
Back to top | Article view | linux.kernel
csiph-web