John Galt
320186cdd1
Fix endianness of incrementNonce function for ChaChaPoly1305
2015-11-16 12:59:01 -05:00
Vincent Hanquez
2139bb1f1d
[tests] quiet down imports warnings
2015-11-16 10:12:34 +00:00
Vincent Hanquez
f04b99fd68
Merge pull request #45 from centromere/blake2
...
Added BLAKE2 support
2015-11-16 10:03:46 +00:00
John Galt
4df1ead592
Removed unnecessary code
2015-11-13 15:56:25 -05:00
John Galt
441bef4f46
Updated CHANGELOG
2015-11-13 15:55:20 -05:00
John Galt
64d7dca79a
Prevented internal blake2 functions from being exported
2015-11-13 15:49:13 -05:00
John Galt
958e07c5dc
Added blake2 source and headers files to sdist
2015-11-12 13:06:04 -05:00
John Galt
880dfae098
Added BLAKE2 support
2015-11-12 12:33:20 -05:00
Vincent Hanquez
da2f445690
[Poly1305] fix size of Authentication tag creation from Bytestring
2015-11-06 22:00:49 +00:00
Vincent Hanquez
7f3b525699
add item to CHANGELOG
2015-11-05 15:04:15 +00:00
Vincent Hanquez
d47ae454d5
[Poly1305] Add a way to create AuthTag from ByteArray.
2015-11-05 15:02:50 +00:00
Vincent Hanquez
fee3b31ee1
add further CHANGELOG items
2015-11-04 15:23:53 +00:00
Vincent Hanquez
7928198923
[doc] Add missing documentation call
2015-11-04 15:18:05 +00:00
Vincent Hanquez
7bd3a8f892
[ChaChaPoly1305] Document everything
2015-11-04 15:17:32 +00:00
Vincent Hanquez
2191dddf5b
[Curve25519] use the Crypto.Error api instead of an Either type for parsing types
2015-11-02 11:17:19 +00:00
Vincent Hanquez
d3ca133ff6
[building] quiet down unused module imports
2015-11-02 11:16:48 +00:00
Vincent Hanquez
2dbbdc82ff
bump version to 0.8
2015-10-11 10:55:04 +01:00
Vincent Hanquez
b1167a60f4
update CHANGELOG
2015-10-11 10:54:54 +01:00
Vincent Hanquez
470302e37a
Merge branch 'master' of https://github.com/haskell-crypto/cryptonite
2015-10-11 10:50:47 +01:00
Vincent Hanquez
99814ca8af
change URL
2015-10-11 10:50:26 +01:00
Vincent Hanquez
6a5307189f
Merge pull request #37 from centromere/nonce-increment2
...
Added support for incrementing Nonces (without C)
2015-10-06 11:24:30 +01:00
John Galt
55c6988a6e
Added support for incrementing Nonces
2015-10-05 14:08:08 -04:00
Vincent Hanquez
c94df41f02
[ECC] fix compilation of missing numBits
2015-09-22 17:48:43 +01:00
Vincent Hanquez
b63dc38c49
[ECC] add generate for ECC generic's scalar and point Base Multiplication helper.
2015-09-22 17:23:22 +01:00
Vincent Hanquez
08a8155f12
[P256] add function to generate a new scalar, and to get the base point.
2015-09-22 17:22:13 +01:00
Vincent Hanquez
9a1f06e3e8
[ECC] add curveSizeBits
2015-09-22 17:21:35 +01:00
Vincent Hanquez
495788dded
Merge pull request #34 from tekul/master
...
BCrypt module doc updates
2015-09-07 10:25:54 +01:00
Luke Taylor
6d33b66245
BCrypt module doc updates
...
- Add doctest style example usage
- List most relevant functions
- Reformat comments
- Minor corrections and additions
2015-09-01 15:22:58 +01:00
Vincent Hanquez
b00a1a2553
[tests] expands tabs, and remove redundant binding
2015-08-30 07:49:30 +01:00
Vincent Hanquez
3230f849a0
bump version to 0.7
2015-08-28 17:11:08 +01:00
Vincent Hanquez
71fe77da68
[endianess] fix some issues on non supported arches
2015-08-28 17:10:27 +01:00
Vincent Hanquez
36d5fde149
Merge pull request #32 from nomeata/master
...
Endianess fixes
2015-08-27 16:02:16 +01:00
Vincent Hanquez
5f72788041
[tests] fix last number test problem
2015-08-27 15:42:08 +01:00
Vincent Hanquez
3af592e997
[tests] make sure we don't use 0 for number parameters
2015-08-27 15:03:07 +01:00
Joachim Breitner
507a8f8cea
Use mkLE, not LE
...
to make sure the conversion to little endian is actually happening. This
fixes a test failure in ChaChaPoly1305. Fixes #31 .
2015-08-27 14:52:37 +02:00
Edmund Grimley Evans
4beda3a49d
Avoid endianess problems in integerify()
...
This fixes a build failure in KDF/Scrypt. Fixes #30 .
2015-08-27 14:52:03 +02:00
Vincent Hanquez
676c8e6be1
adjust bounds on memory for BCrypt and add item to CHANGELOG
2015-08-27 10:59:51 +01:00
Vincent Hanquez
ea8cb2d45a
[blowfish] remove unnecessary list of word32 for the schedule
...
Just use the binary's array directly
2015-08-27 10:57:28 +01:00
Luke Taylor
f346c46243
Add BCrypt module doc and a validatePasswordEither fn
2015-08-26 10:33:36 +01:00
Luke Taylor
a888501bb8
Add bcrypt tests
...
Mostly copied from openwall source, leaving out the unsupported 2x
tests and special bug-related tests for passwords containing 0xFF bytes.
2015-08-26 10:33:36 +01:00
Luke Taylor
39d5eb13fe
Add bcrypt password hashing and validation API
2015-08-26 10:33:36 +01:00
Luke Taylor
2566e46185
Implement the eksBlowfish function
...
This modifies the standard blowfish key schedule function to accept an
optional salt and cost as used in bcrypt and modifies the algorithm
accordingly to implement the "expensive" version.
The standard blowfish version is just the same but with a salt value of
zero and a single call to the expandKey function. See the original
bcrypt paper for more details.
2015-08-26 10:33:35 +01:00
Luke Taylor
08ebde2f09
Modify creation of Blowfish key schedule
...
Changes to create it from an array of Word32, instead of using
mutableArray32FromAddrBE, which seems to reverse the words.
2015-08-26 10:33:35 +01:00
Vincent Hanquez
ad62f1607f
add item to CHANGELOg
2015-08-18 12:03:42 +01:00
Vincent Hanquez
cd8f70e062
[Padding] add PKCS5/PKCS7 padding/unpadding methods
2015-08-18 12:03:05 +01:00
Vincent Hanquez
41c5af125c
add CHANGELOG
2015-08-16 16:33:34 +01:00
Vincent Hanquez
542ee74f8c
[bench] add some number for chacha poly1305
2015-07-30 14:40:54 +01:00
Vincent Hanquez
4653f36d19
[Poly1305] add NFData for Tag.
2015-07-30 14:40:35 +01:00
Vincent Hanquez
ead424f793
[Scrypt] reduce line size of comment
2015-07-29 10:03:43 +01:00
Vincent Hanquez
0de643dbce
[QA] update to latest state of things
2015-07-29 10:02:44 +01:00