Mark Tillotson (markt@harlequin.co.uk)
Sat, 27 Jun 1998 18:20:54 +0100
Panu Rissanen <Panu.Rissanen@lut.fi> wrote:
| Hi,
|
| I have written very unoptimized test implementation of the
| algorithm. The test run uses vectors found from III. ANNEX - Test Vectors.
| At least you have now the ftable in machine readable form.
|
| ftp://ftp.funet.fi/pub/crypt/cryptography/symmetric/skipjack/
|
| Rgs,
| /Bande
|
Thanks for that - I took it as the basis for a more optimized version
(well, the F-table survives!) and added decryption.
http://utter.chaos.org.uk/~markt/crypt/opt-sj.zip
or individually:
http://utter.chaos.org.uk/~markt/crypt/opt-sj.c
/opt-sj.h
/test-sj.c
Enjoy!
[ Its fully inlined and is about 22 instructions per round (90 per
byte) on a Sparc, compiled with " gcc -O " ]
__Mark
[ markt@harlequin.co.uk | http://www.harlequin.co.uk/ | +44(0)1954 785433 ]
[ personal homepage http://utter.chaos.org.uk/~markt/ | fax " " 785444 ]
The following archive was created by hippie-mail 7.98617-22 on Fri Aug 21 1998 - 17:19:08 ADT