summaryrefslogtreecommitdiffstats
path: root/src/crypto/cipher/salsa20
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/cipher/salsa20')
-rw-r--r--src/crypto/cipher/salsa20/nacl/salsa20_nacl.c2
-rw-r--r--src/crypto/cipher/salsa20/xmm/salsa20_xmm.c2
2 files changed, 2 insertions, 2 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);
diff --git a/src/crypto/cipher/salsa20/xmm/salsa20_xmm.c b/src/crypto/cipher/salsa20/xmm/salsa20_xmm.c
index abf717f..54fe428 100644
--- a/src/crypto/cipher/salsa20/xmm/salsa20_xmm.c
+++ b/src/crypto/cipher/salsa20/xmm/salsa20_xmm.c
@@ -67,7 +67,7 @@ static bool salsa20_available(void) {
}
/** 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, KEYBYTES);