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
Vincent Hanquez
8a0bacfc6d
[Poly1305] make initialize explicitely failable
2015-07-29 09:49:49 +01:00
Vincent Hanquez
4af8185d65
add new MAC key error
2015-07-29 09:45:51 +01:00
Vincent Hanquez
e064af5cba
[chachapoly1305] properly handle the decryption, and change combine to encrypt.
2015-07-29 07:24:46 +01:00
Vincent Hanquez
169570c963
fix 0 case.
2015-07-29 07:13:04 +01:00
Vincent Hanquez
1c0f5e7abf
bump version to 0.6
2015-07-25 08:52:34 +01:00
Vincent Hanquez
d9f7a7deda
append to CHANGELOG
2015-07-25 08:52:00 +01:00
Vincent Hanquez
ce849fb0d2
[ChaChaPoly1305] add implementation and simple KAT test
2015-07-19 17:53:56 +01:00
Vincent Hanquez
58c6efe4c4
[tests] introduce a new checker for hunit based on the property checker
2015-07-19 17:53:07 +01:00
Vincent Hanquez
6e5ad0c640
[tests] reduce the size of the number generated as this basically block the test suite now
2015-07-19 17:52:35 +01:00
Vincent Hanquez
5dab0190ac
[Poly1305] Rename Ctx to State
2015-07-19 17:51:46 +01:00
Vincent Hanquez
ce043f49a1
[AES] fix wrongly indented comment
2015-07-19 17:51:00 +01:00
Vincent Hanquez
0f1db30aa8
add BSD to support list
2015-07-08 13:46:42 +02:00
Vincent Hanquez
b43fb64dd8
update CHANGELOG
2015-07-03 13:44:23 +02:00