diff options
Diffstat (limited to 'drivers/staging/skein/include/threefishApi.h')
-rw-r--r-- | drivers/staging/skein/include/threefishApi.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/drivers/staging/skein/include/threefishApi.h b/drivers/staging/skein/include/threefishApi.h index 194e313b6b62..1f9e6e14f50b 100644 --- a/drivers/staging/skein/include/threefishApi.h +++ b/drivers/staging/skein/include/threefishApi.h @@ -72,7 +72,7 @@ * @param tweak * Pointer to the two tweak words (word has 64 bits). */ - 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); /** * Encrypt Threefisch block (bytes). @@ -89,7 +89,7 @@ * @param out * Pointer to cipher buffer. */ - void threefishEncryptBlockBytes(struct threefish_key* keyCtx, u8* in, u8* out); + void threefishEncryptBlockBytes(struct threefish_key *keyCtx, u8 *in, u8 *out); /** * Encrypt Threefisch block (words). @@ -108,7 +108,7 @@ * @param out * Pointer to cipher buffer. */ - void threefishEncryptBlockWords(struct threefish_key* keyCtx, u64* in, u64* out); + void threefishEncryptBlockWords(struct threefish_key *keyCtx, u64 *in, u64 *out); /** * Decrypt Threefisch block (bytes). @@ -125,7 +125,7 @@ * @param out * Pointer to plaintext buffer. */ - void threefishDecryptBlockBytes(struct threefish_key* keyCtx, u8* in, u8* out); + void threefishDecryptBlockBytes(struct threefish_key *keyCtx, u8 *in, u8 *out); /** * Decrypt Threefisch block (words). @@ -144,14 +144,14 @@ * @param out * Pointer to plaintext buffer. */ - void threefishDecryptBlockWords(struct threefish_key* keyCtx, u64* in, u64* out); + void threefishDecryptBlockWords(struct threefish_key *keyCtx, u64 *in, u64 *out); - void threefishEncrypt256(struct threefish_key* keyCtx, u64* input, u64* output); - void threefishEncrypt512(struct threefish_key* keyCtx, u64* input, u64* output); - void threefishEncrypt1024(struct threefish_key* keyCtx, u64* input, u64* output); - void threefishDecrypt256(struct threefish_key* keyCtx, u64* input, u64* output); - void threefishDecrypt512(struct threefish_key* keyCtx, u64* input, u64* output); - void threefishDecrypt1024(struct threefish_key* keyCtx, u64* input, u64* output); + void threefishEncrypt256(struct threefish_key *keyCtx, u64 *input, u64 *output); + void threefishEncrypt512(struct threefish_key *keyCtx, u64 *input, u64 *output); + void threefishEncrypt1024(struct threefish_key *keyCtx, u64 *input, u64 *output); + void threefishDecrypt256(struct threefish_key *keyCtx, u64 *input, u64 *output); + void threefishDecrypt512(struct threefish_key *keyCtx, u64 *input, u64 *output); + void threefishDecrypt1024(struct threefish_key *keyCtx, u64 *input, u64 *output); /** * @} */ |