Add to documentation and include reference implementation for testing.

This commit is contained in:
2012-11-02 21:43:34 +01:00
parent 618df43b2d
commit 75d481de30
2 changed files with 402 additions and 2 deletions

22
README
View File

@ -89,8 +89,26 @@ have to be converted to a simple-array with element-type
rely on implementation-specific functions and is not part of the SHA3
library.
The implementation is licensed under the MIT-style license contained
in the file COPYING and the header of each source file.
The file keccak-reference.lisp contains a slow simple reference
implementation, and testdriver code, which allows testing of the tuned
implementations against this reference and against test data available
from the Keccak Site at: http://keccak.noekeon.org/KeccakKAT-3.zip
The testcases from the Keccak test data can be run with the following
form:
(keccak:test-keccak-msgkat
"/Path/To/MsgKatDirectory"
(lambda (total-bits bit-rate output-bits message)
(declare (ignore total-bits bit-rate))
(sha3:sha3-digest-vector message :output-bit-length output-bits)))
This SHA-3 implementation is licensed under the MIT-style license
contained in the file COPYING and the header of each source file.
Many thanks go to the Keccak Team (Guido Bertoni, Joan Daemen, Michaël
Peeters and Gilles Van Assche, cf. http://keccak.noekeon.org) for
their algorithm and excellent documentation and reference
implementations.
Please direct any feedback to pmai@pmsf.de. A git repository of this
library is available under git://github.com/pmai/sha3.git