cryptonite/Crypto
Luke Taylor de17b66e31 Fix buffer length in scrypt
The temporary XY buffer passed to the scrypt_smix C function should be
256r+64 bytes in length, but the Haskell code was only allocating 256r
bytes, causing the additional 64 to be written past the end of the
buffer.

See #91.
2016-06-13 21:08:06 +01:00
..
Cipher [ChaChaPoly1305] fix type error of example code 2015-12-03 18:05:04 +00:00
ConstructHash apply zero-padding to miyaguchi-preneel. 2016-06-08 22:26:14 +09:00
Data fix unpad of zero-padding and add tests. 2016-06-08 22:57:35 +09:00
Error [Poly1305] Add a way to create AuthTag from ByteArray. 2015-11-05 15:02:50 +00:00
Hash Improve context memory usage of Keccak and SHA3 2016-03-26 10:29:33 +00:00
Internal [endianess] fix some issues on non supported arches 2015-08-28 17:10:27 +01:00
KDF Fix buffer length in scrypt 2016-06-13 21:08:06 +01:00
MAC [CMAC] drop the accessor in favor of just using the ByteArrayAccess constraint 2016-04-09 10:31:13 +01:00
Math merge crypto-numbers minus all the random parts 2015-02-09 05:47:11 +00:00
Number removed bounded names for useless parameter 2016-02-04 07:28:42 +00:00
PubKey [Ed448] Fixed incorrect base point 2016-04-18 13:25:11 -07:00
Random fix documentation typo 2016-05-05 19:51:22 +03:00
Error.hs add crypto errors standard enumeration and some helper. 2015-04-07 10:56:38 +01:00
Hash.hs add comments and description 2015-05-20 06:07:31 +01:00
Random.hs [random] add a seed capability with export/import from integer. 2016-04-09 08:33:37 +01:00