summaryrefslogtreecommitdiffstats
path: root/miller_rabin.h
diff options
context:
space:
mode:
Diffstat (limited to 'miller_rabin.h')
-rw-r--r--miller_rabin.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/miller_rabin.h b/miller_rabin.h
new file mode 100644
index 0000000..f6d162e
--- /dev/null
+++ b/miller_rabin.h
@@ -0,0 +1,9 @@
+#ifndef _MILLER_RABIN_H_
+#define _MILLER_RABIN_H_
+
+unsigned short modular_exponent_16(unsigned short, unsigned short, unsigned short);
+int miller_rabin_pass_16(unsigned short, unsigned short);
+int miller_rabin_16(unsigned short);
+
+#endif
+