Source code pulled from OpenBSD for OpenNTPD. The place to contribute to this code is via the OpenBSD CVS tree.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
648 B

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