summaryrefslogtreecommitdiff
path: root/drivers/staging
diff options
context:
space:
mode:
authorJhih-Ming Hunag <fbihjmeric@gmail.com>2017-06-20 22:52:00 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-06-24 00:26:26 +0800
commitb803d57df57d2f61fe7e21a807d39ed6f5a67d94 (patch)
tree1cf4e2c70e69a93f86de6295432701f1308710b6 /drivers/staging
parentb9778d910d58ab2b0fc36c20e762e95984035402 (diff)
staging: ccree: move brace { to previous line for if.
Move brace { to previous line for if. 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')
-rw-r--r--drivers/staging/ccree/ssi_aead.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/staging/ccree/ssi_aead.c b/drivers/staging/ccree/ssi_aead.c
index ca3f11fdbd29..6bcab5abceb1 100644
--- a/drivers/staging/ccree/ssi_aead.c
+++ b/drivers/staging/ccree/ssi_aead.c
@@ -1340,8 +1340,7 @@ static int validate_data_size(struct ssi_aead_ctx *ctx,
goto data_size_err;
if (ctx->cipher_mode == DRV_CIPHER_CCM)
break;
- if (ctx->cipher_mode == DRV_CIPHER_GCTR)
- {
+ if (ctx->cipher_mode == DRV_CIPHER_GCTR) {
if (areq_ctx->plaintext_authenticate_only == true)
areq_ctx->is_single_pass = false;
break;
@@ -1912,8 +1911,7 @@ static int config_gcm_context(struct aead_request *req) {
memcpy(req_ctx->gcm_iv_inc1, req->iv, 16);
- if (req_ctx->plaintext_authenticate_only == false)
- {
+ 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) );