1 /* $OpenBSD: skipjack.h,v 1.4 2006/03/23 15:32:03 mickey Exp $ */ 2 3 /* 4 * Further optimized test implementation of SKIPJACK algorithm 5 * Mark Tillotson <markt@chaos.org.uk>, 25 June 98 6 * Optimizations suit RISC (lots of registers) machine best. 7 * 8 * based on unoptimized implementation of 9 * Panu Rissanen <bande@lut.fi> 960624 10 * 11 * SKIPJACK and KEA Algorithm Specifications 12 * Version 2.0 13 * 29 May 1998 14 */ 15 16 extern void skipjack_forwards(u_int8_t *plain, u_int8_t *cipher, u_int8_t **key); 17 extern void skipjack_backwards(u_int8_t *cipher, u_int8_t *plain, u_int8_t **key); 18 extern void subkey_table_gen(u_int8_t *key, u_int8_t **key_tables);