Commit Graph

21 Commits

Author SHA1 Message Date
Vincent Hanquez
761574a65f [internal] remove old cryptohash modules 2015-05-11 09:34:01 +01:00
Vincent Hanquez
81e335cfff [HASH] re-enable SHA512t 2015-05-06 07:53:51 +01:00
Vincent Hanquez
c5189a03c6 [hash] remove unnecessary import 2015-05-02 15:44:09 +01:00
Vincent Hanquez
5d3e825f2e remove / comment stuff 2015-05-01 07:36:28 +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
87e2862eaa remove stale file 2015-04-28 11:39:23 +01:00
Vincent Hanquez
1c8d966d71 [Hash] remove unnecessary modules and not used template 2015-04-28 11:37:42 +01:00
Vincent Hanquez
6722a02a74 move lowlevel implementation of hashes to byteArrays 2015-04-24 13:30:58 +01:00
Vincent Hanquez
abacea200d further fix 2015-04-05 12:32:40 +01:00
Vincent Hanquez
3308ec0d92 cleanup extensions in modules 2015-04-05 07:47:16 +01:00
Vincent Hanquez
95160dee56 update modules to use more efficient byte array memory allocation and representation for contextes 2015-03-08 15:18:28 +08:00
Vincent Hanquez
bbbbdc4b39 use directly compat module instead of Crypto.Hash.Internal 2015-02-15 00:39:34 +00:00
Vincent Hanquez
b5dbc9caae add internalUpdateUnsafe to process data more efficiently at the expense of threads.
internalUpdateUnsafe, just like internalUpdate update the context, but
does it using the unsafe key word for the ffi binding
2015-02-14 23:39:06 +00:00
Vincent Hanquez
09e8670b70 add bang for unlifted bindings 2015-02-08 13:25:04 +00:00
Vincent Hanquez
70e2321d95 update architectures of modules to separate IO and mutable parts from the immutable part 2015-02-08 12:03:00 +00:00
Vincent Hanquez
bc75680084 fix Kekkak 2015-02-08 11:14:20 +00:00
Vincent Hanquez
36ad1997e3 update module texts 2015-02-08 11:02:42 +00:00
Vincent Hanquez
6f877c84c3 create a module to put all the compat necessary for running over a wide range of versions 2015-01-27 05:58:06 +00:00
Vincent Hanquez
903ff726a2 add kekkak 2014-08-14 13:47:41 +02:00
Vincent Hanquez
5e23ef92a5 add HMAC 2014-07-09 13:15:49 +01:00
Vincent Hanquez
09feb59f62 merge cryptohash 2014-07-07 14:55:55 +01:00