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