summaryrefslogtreecommitdiff
path: root/nettle-internal.h
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2012-03-30 22:05:49 +0200
committerNiels Möller <nisse@lysator.liu.se>2012-03-30 22:05:49 +0200
commit60f3e6778c6b690ca627012f92df27b0eb0f32f3 (patch)
tree93499aac2f2183104e388abf803c026711667c10 /nettle-internal.h
parent4403177a7d529dd73c8e5a10ad8df77b112d45cb (diff)
downloadnettle-60f3e6778c6b690ca627012f92df27b0eb0f32f3.tar.gz
Support salsa20 in nettle-benchmark.
Diffstat (limited to 'nettle-internal.h')
-rw-r--r--nettle-internal.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/nettle-internal.h b/nettle-internal.h
index efad02a8..88822393 100644
--- a/nettle-internal.h
+++ b/nettle-internal.h
@@ -59,9 +59,10 @@ extern const struct nettle_cipher nettle_des3;
extern const struct nettle_cipher nettle_blowfish128;
-/* Glue to openssl, for comparative benchmarking. The corresponding
- * code is not included in the nettle library, as that would make the
- * shared library depend on openssl. Instead, look at
+/* For benchmarking only, sets no iv and lies about the block size. */
+extern const struct nettle_cipher nettle_salsa20;
+
+/* Glue to openssl, for comparative benchmarking. Code in
* examples/nettle-openssl.c. */
extern const struct nettle_cipher nettle_openssl_aes128;
extern const struct nettle_cipher nettle_openssl_aes192;