2002-10-04 20:31:23 +00:00
|
|
|
/* $FreeBSD$ */
|
|
|
|
/* $OpenBSD: skipjack.h,v 1.3 2002/03/14 01:26:51 millert Exp $ */
|
|
|
|
|
2005-01-07 02:29:27 +00:00
|
|
|
/*-
|
2002-10-04 20:31:23 +00:00
|
|
|
* 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
|
|
|
|
*/
|
|
|
|
|
2015-12-30 22:43:07 +00:00
|
|
|
#ifndef _SKIPJACK_H_
|
|
|
|
#define _SKIPJACK_H_
|
|
|
|
|
2002-10-04 20:31:23 +00:00
|
|
|
extern void skipjack_forwards(u_int8_t *plain, u_int8_t *cipher, u_int8_t **key);
|
|
|
|
extern void skipjack_backwards(u_int8_t *cipher, u_int8_t *plain, u_int8_t **key);
|
2019-08-22 00:02:08 +00:00
|
|
|
extern void subkey_table_gen(const u_int8_t *key, u_int8_t **key_tables);
|
2015-12-30 22:43:07 +00:00
|
|
|
|
|
|
|
#endif
|