summaryrefslogtreecommitdiff
path: root/src/libsodium/crypto_stream/xsalsa20/stream_xsalsa20_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsodium/crypto_stream/xsalsa20/stream_xsalsa20_api.c')
-rw-r--r--src/libsodium/crypto_stream/xsalsa20/stream_xsalsa20_api.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/libsodium/crypto_stream/xsalsa20/stream_xsalsa20_api.c b/src/libsodium/crypto_stream/xsalsa20/stream_xsalsa20_api.c
new file mode 100644
index 0000000..256084e
--- /dev/null
+++ b/src/libsodium/crypto_stream/xsalsa20/stream_xsalsa20_api.c
@@ -0,0 +1,11 @@
+#include "crypto_stream_xsalsa20.h"
+
+size_t
+crypto_stream_xsalsa20_keybytes(void) {
+ return crypto_stream_xsalsa20_KEYBYTES;
+}
+
+size_t
+crypto_stream_xsalsa20_noncebytes(void) {
+ return crypto_stream_xsalsa20_NONCEBYTES;
+}