xref: /NextBSD/sys/opencrypto/skipjack.h (revision 37e74d4f6151b6fae3b07141f988985cb55f2dfc)
1 /*	$FreeBSD$	*/
2 /*	$OpenBSD: skipjack.h,v 1.3 2002/03/14 01:26:51 millert Exp $	*/
3 
4 /*-
5  * Further optimized test implementation of SKIPJACK algorithm
6  * Mark Tillotson <markt@chaos.org.uk>, 25 June 98
7  * Optimizations suit RISC (lots of registers) machine best.
8  *
9  * based on unoptimized implementation of
10  * Panu Rissanen <bande@lut.fi> 960624
11  *
12  * SKIPJACK and KEA Algorithm Specifications
13  * Version 2.0
14  * 29 May 1998
15 */
16 
17 #ifndef _SKIPJACK_H_
18 #define _SKIPJACK_H_
19 
20 extern void skipjack_forwards(u_int8_t *plain, u_int8_t *cipher, u_int8_t **key);
21 extern void skipjack_backwards(u_int8_t *cipher, u_int8_t *plain, u_int8_t **key);
22 extern void subkey_table_gen(u_int8_t *key, u_int8_t **key_tables);
23 
24 #endif
25