summaryrefslogtreecommitdiffstats
path: root/src/crypto/cipher/salsa2012/nacl/salsa2012_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/salsa2012/nacl/salsa2012_nacl.c
parent60c2c11de820687887a643344fc1b0a91fd45226 (diff)
downloadfastd-c62a0f592c49b41d393fae580ce9f1293ee7a16d.tar
fastd-c62a0f592c49b41d393fae580ce9f1293ee7a16d.zip
Move crypto algorithm information out of implementation
Diffstat (limited to 'src/crypto/cipher/salsa2012/nacl/salsa2012_nacl.c')
-rw-r--r--src/crypto/cipher/salsa2012/nacl/salsa2012_nacl.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/crypto/cipher/salsa2012/nacl/salsa2012_nacl.c b/src/crypto/cipher/salsa2012/nacl/salsa2012_nacl.c
index 2703f0e..36985a6 100644
--- a/src/crypto/cipher/salsa2012/nacl/salsa2012_nacl.c
+++ b/src/crypto/cipher/salsa2012/nacl/salsa2012_nacl.c
@@ -60,10 +60,6 @@ static void salsa2012_free(fastd_context_t *ctx UNUSED, fastd_cipher_context_t *
}
const fastd_cipher_t fastd_cipher_salsa2012_nacl = {
- .name = "nacl",
- .key_length = crypto_stream_salsa2012_KEYBYTES,
- .iv_length = crypto_stream_salsa2012_NONCEBYTES,
-
.initialize = salsa2012_initialize,
.init_state = salsa2012_init_state,