summaryrefslogtreecommitdiff
path: root/include/skipjack.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-02-26 00:54:01 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-02-26 00:54:01 +0000
commit972526040a347773ab88de82e9be022e66d8d652 (patch)
treec4ea80702c71506dc12abd9e95a308337d8c97d4 /include/skipjack.h
parent4f60691b0ecec32e05f53c18261a02ab275bc5e5 (diff)
skipjack in libc; isakmpd and such will want it
Diffstat (limited to 'include/skipjack.h')
-rw-r--r--include/skipjack.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/skipjack.h b/include/skipjack.h
new file mode 100644
index 00000000000..dd3fe607e70
--- /dev/null
+++ b/include/skipjack.h
@@ -0,0 +1,16 @@
+/*
+ * Further optimized test implementation of SKIPJACK algorithm
+ * Mark Tillotson <markt@chaos.org.uk>, 25 June 98
+ * Optimizations suit RISC (lots of registers) machine best.
+ *
+ * based on unoptimized implementation of
+ * Panu Rissanen <bande@lut.fi> 960624
+ *
+ * SKIPJACK and KEA Algorithm Specifications
+ * Version 2.0
+ * 29 May 1998
+*/
+
+extern void skipjack_forwards __P((u_int8_t *plain, u_int8_t *cipher, u_int8_t **key));
+extern void skipjack_backwards __P((u_int8_t *cipher, u_int8_t *plain, u_int8_t **key));
+extern void subkey_table_gen __P((u_int8_t *key, u_int8_t **key_tables));