Commit Graph

5 Commits

Author SHA1 Message Date
92e0e0b916 Update docs and copyrights for 1.1.1 release 2018-02-24 13:08:14 +01:00
de40c49ce9 Fix ACL results due to adjust-array anomaly
The old code relied on adjust-array of a simple-array yielding a new
simple-array, which is the case on most implementations and corresponds
with my reading of the standard. However ACL returns a non-simple array
in this case, which would later on clash with the declared types in
keccak-state-merge-input, leading to erroneous data accesses and
possible non-termination, etc. Since our use of adjust-array is not
central to the pad-message-to-width function, and that function is not
really performance critical (only called once during the digest
finalization), we just switch to new allocation and replace.
2018-02-24 12:56:32 +01:00
02ccb5d139 Adjust documentation for release 1.1.0, adjust copyrights. 2016-09-14 16:55:42 +02:00
e57d7c32cd Make sha3 wrapper functions match FIPS 202 suffix appending.
The final FIPS 202 SHA-3 standard mandates the prepending of a
01 suffix to the message prior to padding, which the original
Keccak submission did not specify.  This change adjusts all
sha3 wrappers to behave standard conforming, and adds an optional
keyword argument raw-keccak-p to specify the original treatment.
Fixes #2.
2016-09-13 01:21:58 +02:00
618df43b2d Add initial version of project. 2012-11-02 20:47:39 +01:00