summaryrefslogtreecommitdiffstats
path: root/src/crypto/cipher/salsa20/nacl/salsa20_nacl.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-08-24 21:06:09 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-08-24 21:06:09 +0200
commit9855a34f48acf6ae3aaeba9ec37756da41507e64 (patch)
treea02c2a507b3d536182d81e78b878b6b29c617cb9 /src/crypto/cipher/salsa20/nacl/salsa20_nacl.c
parent1ae3aae35193dce25e5534b12a46011ec7912bb4 (diff)
downloadfastd-9855a34f48acf6ae3aaeba9ec37756da41507e64.tar
fastd-9855a34f48acf6ae3aaeba9ec37756da41507e64.zip
Coding style: always add a space between a pointer's type and the *
Diffstat (limited to 'src/crypto/cipher/salsa20/nacl/salsa20_nacl.c')
-rw-r--r--src/crypto/cipher/salsa20/nacl/salsa20_nacl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/cipher/salsa20/nacl/salsa20_nacl.c b/src/crypto/cipher/salsa20/nacl/salsa20_nacl.c
index b9c2175..6960ead 100644
--- a/src/crypto/cipher/salsa20/nacl/salsa20_nacl.c
+++ b/src/crypto/cipher/salsa20/nacl/salsa20_nacl.c
@@ -43,7 +43,7 @@ struct fastd_cipher_state {
/** Initializes the cipher state */
-static fastd_cipher_state_t* salsa20_init(const uint8_t *key) {
+static fastd_cipher_state_t * salsa20_init(const uint8_t *key) {
fastd_cipher_state_t *state = fastd_new(fastd_cipher_state_t);
memcpy(state->key, key, crypto_stream_salsa20_KEYBYTES);