summaryrefslogtreecommitdiffstats
path: root/src/crypto/cipher/salsa20/nacl/salsa20_nacl.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-11-25 23:18:11 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-11-25 23:18:11 +0100
commitc62a0f592c49b41d393fae580ce9f1293ee7a16d (patch)
tree6d8ef6b7c93fdcaa0fd1bcd590dba531ef8b5140 /src/crypto/cipher/salsa20/nacl/salsa20_nacl.c
parent60c2c11de820687887a643344fc1b0a91fd45226 (diff)
downloadfastd-c62a0f592c49b41d393fae580ce9f1293ee7a16d.tar
fastd-c62a0f592c49b41d393fae580ce9f1293ee7a16d.zip
Move crypto algorithm information out of implementation
Diffstat (limited to 'src/crypto/cipher/salsa20/nacl/salsa20_nacl.c')
-rw-r--r--src/crypto/cipher/salsa20/nacl/salsa20_nacl.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/crypto/cipher/salsa20/nacl/salsa20_nacl.c b/src/crypto/cipher/salsa20/nacl/salsa20_nacl.c
index 93daad3..ddcc124 100644
--- a/src/crypto/cipher/salsa20/nacl/salsa20_nacl.c
+++ b/src/crypto/cipher/salsa20/nacl/salsa20_nacl.c
@@ -60,10 +60,6 @@ static void salsa20_free(fastd_context_t *ctx UNUSED, fastd_cipher_context_t *cc
}
const fastd_cipher_t fastd_cipher_salsa20_nacl = {
- .name = "nacl",
- .key_length = crypto_stream_salsa20_KEYBYTES,
- .iv_length = crypto_stream_salsa20_NONCEBYTES,
-
.initialize = salsa20_initialize,
.init_state = salsa20_init_state,