summaryrefslogtreecommitdiff
path: root/src/libsodium/crypto_stream/salsa208/stream_salsa208_api.c
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2014-08-11 13:49:21 -0400
committerMicah Anderson <micah@riseup.net>2014-08-11 13:49:21 -0400
commit2e59f9740a29439df7c7a56cf0ae83dec3081d31 (patch)
treed5e7c4e74c9a0f1ea999327d2e68b1dd27be00e0 /src/libsodium/crypto_stream/salsa208/stream_salsa208_api.c
initial import of debian version from mentors0.6.1
Diffstat (limited to 'src/libsodium/crypto_stream/salsa208/stream_salsa208_api.c')
-rw-r--r--src/libsodium/crypto_stream/salsa208/stream_salsa208_api.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/libsodium/crypto_stream/salsa208/stream_salsa208_api.c b/src/libsodium/crypto_stream/salsa208/stream_salsa208_api.c
new file mode 100644
index 0000000..640a8b2
--- /dev/null
+++ b/src/libsodium/crypto_stream/salsa208/stream_salsa208_api.c
@@ -0,0 +1,11 @@
+#include "crypto_stream_salsa208.h"
+
+size_t
+crypto_stream_salsa208_keybytes(void) {
+ return crypto_stream_salsa208_KEYBYTES;
+}
+
+size_t
+crypto_stream_salsa208_noncebytes(void) {
+ return crypto_stream_salsa208_NONCEBYTES;
+}