1 //==========================================================================
3 // include/netinet/ip_skipjack.h
7 //==========================================================================
8 //####BSDCOPYRIGHTBEGIN####
10 // -------------------------------------------
12 // Portions of this software may have been derived from OpenBSD or other sources,
13 // and are covered by the appropriate copyright disclaimers included herein.
15 // -------------------------------------------
17 //####BSDCOPYRIGHTEND####
18 //==========================================================================
19 //#####DESCRIPTIONBEGIN####
22 // Contributors: gthomas
28 //####DESCRIPTIONEND####
30 //==========================================================================
34 * Further optimized test implementation of SKIPJACK algorithm
35 * Mark Tillotson <markt@chaos.org.uk>, 25 June 98
36 * Optimizations suit RISC (lots of registers) machine best.
38 * based on unoptimized implementation of
39 * Panu Rissanen <bande@lut.fi> 960624
41 * SKIPJACK and KEA Algorithm Specifications
46 #ifndef _NETINET_IP_SKIPJACK_H_
47 #define _NETINET_IP_SKIPJACK_H_
49 extern void skipjack_forwards __P((u_int8_t *plain, u_int8_t *cipher, u_int8_t **key));
50 extern void skipjack_backwards __P((u_int8_t *cipher, u_int8_t *plain, u_int8_t **key));
51 extern void subkey_table_gen __P((u_int8_t *key, u_int8_t **key_tables));
53 #endif // _NETINET_IP_SKIPJACK_H_