aboutsummaryrefslogtreecommitdiff
path: root/onion_base32.h
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2017-05-14 19:52:19 +1200
committerDavid Phillips <david@sighup.nz>2017-05-14 19:52:19 +1200
commit9813b147580d9f42e2484d27ecaa3ab244841ee8 (patch)
tree56a94fcd0f12aa878e0af29fc9600270dd85f759 /onion_base32.h
parent70652fa53c364d1bf4e7a5eeac7e9e1a5a69a89e (diff)
downloadsand-leek-9813b147580d9f42e2484d27ecaa3ab244841ee8.tar.xz
Add experimental AVX base32 algo, modularise base32 out
Diffstat (limited to 'onion_base32.h')
-rw-r--r--onion_base32.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/onion_base32.h b/onion_base32.h
new file mode 100644
index 0000000..8f88ebb
--- /dev/null
+++ b/onion_base32.h
@@ -0,0 +1,6 @@
+int check_base32(char *);
+void onion_base32(char [16], unsigned char (*));
+
+#ifdef AVX_ONION_BASE32
+void onion_base32_avx(char [16], unsigned char (*));
+#endif