diff options
author | Jason Cooper <jason@lakedaemon.net> | 2014-03-24 01:49:06 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-04-18 15:47:41 -0700 |
commit | cd4811a64cbb719e739ebf09ffb1bedc2d77cf76 (patch) | |
tree | 98485de5b044b2e0247f1f41f7d0aa836052fbb3 /drivers/staging/skein/threefishApi.c | |
parent | b9761ccb553a07c6496cc9996ae213b6be0e6854 (diff) | |
download | linux-cd4811a64cbb719e739ebf09ffb1bedc2d77cf76.tar.bz2 |
staging: crypto: skein: fixup pointer whitespace
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/skein/threefishApi.c')
-rw-r--r-- | drivers/staging/skein/threefishApi.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/staging/skein/threefishApi.c b/drivers/staging/skein/threefishApi.c index 37f96215159d..53f46f6cb9ca 100644 --- a/drivers/staging/skein/threefishApi.c +++ b/drivers/staging/skein/threefishApi.c @@ -3,8 +3,8 @@ #include <linux/string.h> #include <threefishApi.h> -void threefishSetKey(struct threefish_key* keyCtx, enum threefish_size stateSize, - u64* keyData, u64* tweak) +void threefishSetKey(struct threefish_key *keyCtx, enum threefish_size stateSize, + u64 *keyData, u64 *tweak) { int keyWords = stateSize / 64; int i; @@ -22,8 +22,8 @@ void threefishSetKey(struct threefish_key* keyCtx, enum threefish_size stateSize keyCtx->stateSize = stateSize; } -void threefishEncryptBlockBytes(struct threefish_key* keyCtx, u8* in, - u8* out) +void threefishEncryptBlockBytes(struct threefish_key *keyCtx, u8 *in, + u8 *out) { u64 plain[SKEIN_MAX_STATE_WORDS]; /* max number of words*/ u64 cipher[SKEIN_MAX_STATE_WORDS]; @@ -33,8 +33,8 @@ void threefishEncryptBlockBytes(struct threefish_key* keyCtx, u8* in, Skein_Put64_LSB_First(out, cipher, keyCtx->stateSize / 8); /* words to bytes */ } -void threefishEncryptBlockWords(struct threefish_key* keyCtx, u64* in, - u64* out) +void threefishEncryptBlockWords(struct threefish_key *keyCtx, u64 *in, + u64 *out) { switch (keyCtx->stateSize) { case Threefish256: @@ -49,8 +49,8 @@ void threefishEncryptBlockWords(struct threefish_key* keyCtx, u64* in, } } -void threefishDecryptBlockBytes(struct threefish_key* keyCtx, u8* in, - u8* out) +void threefishDecryptBlockBytes(struct threefish_key *keyCtx, u8 *in, + u8 *out) { u64 plain[SKEIN_MAX_STATE_WORDS]; /* max number of words*/ u64 cipher[SKEIN_MAX_STATE_WORDS]; @@ -60,8 +60,8 @@ void threefishDecryptBlockBytes(struct threefish_key* keyCtx, u8* in, Skein_Put64_LSB_First(out, plain, keyCtx->stateSize / 8); /* words to bytes */ } -void threefishDecryptBlockWords(struct threefish_key* keyCtx, u64* in, - u64* out) +void threefishDecryptBlockWords(struct threefish_key *keyCtx, u64 *in, + u64 *out) { switch (keyCtx->stateSize) { case Threefish256: |