Commit Graph

110 Commits

Author SHA1 Message Date
Vincent Hanquez
2139bb1f1d [tests] quiet down imports warnings 2015-11-16 10:12:34 +00: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
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
99814ca8af change URL 2015-10-11 10:50:26 +01:00
Vincent Hanquez
3230f849a0 bump version to 0.7 2015-08-28 17:11:08 +01:00
Vincent Hanquez
676c8e6be1 adjust bounds on memory for BCrypt and add item to CHANGELOG 2015-08-27 10:59:51 +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
Vincent Hanquez
cd8f70e062 [Padding] add PKCS5/PKCS7 padding/unpadding methods 2015-08-18 12:03:05 +01:00
Vincent Hanquez
1c0f5e7abf bump version to 0.6 2015-07-25 08:52:34 +01:00
Vincent Hanquez
ce849fb0d2 [ChaChaPoly1305] add implementation and simple KAT test 2015-07-19 17:53:56 +01:00
Vincent Hanquez
db3e180a41 [Random] add a flag to be able to disable rdrand 2015-06-22 14:05:29 +01:00
Vincent Hanquez
56839fcd82 bump version to 0.5 2015-06-21 15:19:42 +01:00
Vincent Hanquez
9877f77bdf bump version to 0.4 2015-06-20 16:22:44 +01:00
Vincent Hanquez
b37ee01636 [random] add a System "DRG" 2015-06-20 15:51:42 +01:00
Vincent Hanquez
0ff53203d0 bump version to 0.3 2015-06-19 11:15:11 +01:00
Vincent Hanquez
e79814cd1d revert merging of version upgrade 2015-06-19 11:07:27 +01:00
Vincent Hanquez
a9df2a2180 [RSA] remove hashdescr in favor of just specifying the algorithm directly
The extra information is embedded in the HashAlgorithmASN1 class
that allow a digest to ASN1 structured.
2015-06-10 12:27:37 +01:00
Vincent Hanquez
c7068873c5 bump version to 0.2 2015-06-01 14:35:55 +01:00
Vincent Hanquez
f37618d00f [random] add sysrand base. WIP 2015-06-01 13:37:32 +01:00
Vincent Hanquez
d873564c54 [number] split the serialization to support a more bit banging direct approach 2015-06-01 05:59:54 +01:00
Vincent Hanquez
e2c1b82234 [tests] add first P256 test 2015-05-30 10:38:39 +01:00
Vincent Hanquez
79efec7832 bump version to 0.1 2015-05-23 18:04:42 +01:00
Vincent Hanquez
c0e50547ad [number] remove the need for a random generator for testing primality
a DRG is implicitely created when calling the non gmp primality test
2015-05-23 12:55:29 +01:00
Vincent Hanquez
2b0cdcfd3c add missing modules for tests 2015-05-22 18:43:48 +01:00
Vincent Hanquez
f5f05e34f8 add CHANGELOG 2015-05-22 18:43:22 +01:00
Vincent Hanquez
8eaaa06e1e add optional support for deepseq 2015-05-22 18:35:46 +01:00
Vincent Hanquez
c78e9472b9 improve cabal description 2015-05-22 18:35:27 +01:00
Vincent Hanquez
22c1a1bb7f update memory to 0.2 minimum 2015-05-21 11:06:53 +01:00
Vincent Hanquez
b39283f5f9 add proper cpp defines for architecture instead of using the usual system one 2015-05-21 05:28:27 +01:00
Vincent Hanquez
92343f856a add comments and description 2015-05-20 06:07:31 +01:00
Vincent Hanquez
987f9e7bb6 [internal] update to latest memory, and remove builtin support as memory is now available 2015-05-18 18:33:14 +01:00
Vincent Hanquez
c5f9ab2d35 [internal] update memory to latest 2015-05-14 10:04:16 +01:00
Vincent Hanquez
d035e3a3bc [number] properly handle gmp 2015-05-11 11:39:09 +01:00
Vincent Hanquez
761574a65f [internal] remove old cryptohash modules 2015-05-11 09:34:01 +01:00
Vincent Hanquez
ed8fbe8f69 [Number] add module to cleanup CPP around 2015-05-10 15:27:52 +01:00
Vincent Hanquez
357a296e38 [internal] compile tests with memory is its not built-in.
also move the flag to the end of the library
2015-05-10 07:01:12 +01:00
Vincent Hanquez
9ae9e38ce2 move to memory stuff 2015-05-09 14:23:32 +01:00
Vincent Hanquez
68e3a58be7 import memory as builtin 2015-05-09 14:23:10 +01:00
Vincent Hanquez
6ba517e945 [DES] remove DES.Serialization module 2015-05-06 07:52:49 +01:00
Vincent Hanquez
35ae906755 update version 2015-05-02 07:08:45 +01:00
Vincent Hanquez
e665c619a7 add pclmuldq flag 2015-05-02 06:46:08 +01:00
Vincent Hanquez
d99c430080 allow -rts flags in test suite 2015-05-01 07:36:05 +01:00
Vincent Hanquez
db7c3bbb4f [hash] massive overhaul of the hash interface
use the typeclass for the lowest IO impure C bindings definitions,
and define the pure interface as generic on top of this.

At the same time define an Hash.IO interface to allow mutable manipulations
of hash contextes when necessary.

Use HashAlgorithm instead of HashFunction in the [PubKey] sections

Tweak the HMAC, PBKDF2 functions to be more efficient and use the new interface
2015-04-30 06:18:07 +01:00
Vincent Hanquez
1c8d966d71 [Hash] remove unnecessary modules and not used template 2015-04-28 11:37:42 +01:00
Vincent Hanquez
e52a75af75 add P256 work in progress binding 2015-04-22 10:15:23 +01:00
Vincent Hanquez
e1e449d121 add google's mincrypt p256 2015-04-22 07:07:04 +01:00
Vincent Hanquez
3d46eaea9b add missing headers 2015-04-19 10:22:15 +01:00