diff options
author | Jhih-Ming Hunag <fbihjmeric@gmail.com> | 2017-06-20 17:52:04 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-06-23 19:26:26 +0300 |
commit | 2bd251513051a9e287d9726e42ad8aea5c77c7c9 (patch) | |
tree | e21e1c2e11326ad5d86fa2d41143061edf01179f /drivers/staging/ccree/ssi_aead.c | |
parent | fe2d182332aac66573d51af437b5332b22acde4d (diff) | |
download | linux-2bd251513051a9e287d9726e42ad8aea5c77c7c9.tar.xz |
staging: ccree: move else to follow close brace '}'
Move else to follow close brace '}'
Signed-off-by: Jhih-Ming Hunag <fbihjmeric@gmail.com>
Acked-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ccree/ssi_aead.c')
-rw-r--r-- | drivers/staging/ccree/ssi_aead.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/ccree/ssi_aead.c b/drivers/staging/ccree/ssi_aead.c index 57c7c68db2c4..c70e45023d06 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)); |