summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDerek Robson <robsonde@gmail.com>2017-05-24 16:42:57 +1200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-05-29 16:53:43 +0200
commitfc3d47b3ec037c375101348a6f53e997ef919170 (patch)
treeeb0f0f57be2056fbb97b7d0589f85147b09aac11 /drivers
parent3dc178b164e6bf0d21714917ad5866d59885f91a (diff)
downloadlinux-stable-fc3d47b3ec037c375101348a6f53e997ef919170.tar.gz
linux-stable-fc3d47b3ec037c375101348a6f53e997ef919170.tar.bz2
linux-stable-fc3d47b3ec037c375101348a6f53e997ef919170.zip
Drivers: ccree: ssi_ivgen.c - align block comments
Fixed block comment alignment, Style fix only Found using checkpatch Signed-off-by: Derek Robson <robsonde@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/ccree/ssi_ivgen.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/staging/ccree/ssi_ivgen.c b/drivers/staging/ccree/ssi_ivgen.c
index 1bb6f8919101..db4b831e82a3 100644
--- a/drivers/staging/ccree/ssi_ivgen.c
+++ b/drivers/staging/ccree/ssi_ivgen.c
@@ -26,7 +26,8 @@
/* The max. size of pool *MUST* be <= SRAM total size */
#define SSI_IVPOOL_SIZE 1024
/* The first 32B fraction of pool are dedicated to the
- next encryption "key" & "IV" for pool regeneration */
+ * next encryption "key" & "IV" for pool regeneration
+ */
#define SSI_IVPOOL_META_SIZE (CC_AES_IV_SIZE + AES_KEYSIZE_128)
#define SSI_IVPOOL_GEN_SEQ_LEN 4
@@ -278,7 +279,8 @@ int ssi_ivgen_getiv(
}
/* Bypass operation is proceeded by crypto sequence, hence must
- * assure bypass-write-transaction by a memory barrier */
+ * assure bypass-write-transaction by a memory barrier
+ */
HW_DESC_INIT(&iv_seq[idx]);
HW_DESC_SET_DIN_NO_DMA(&iv_seq[idx], 0, 0xfffff0);
HW_DESC_SET_DOUT_NO_DMA(&iv_seq[idx], 0, 0, 1);