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
ec4e0c4ed9
remove all the byteArray prefix from byteArray function.
...
instead expect module import to be qualified for functions.
2015-04-24 06:54:33 +01:00
Vincent Hanquez
e52a75af75
add P256 work in progress binding
2015-04-22 10:15:23 +01:00
Vincent Hanquez
0424d67616
[Curve25519] convert to Bytearray
2015-04-22 06:26:06 +01:00
Vincent Hanquez
b487aef898
cleanup module imports
2015-04-20 07:36:51 +01:00
Vincent Hanquez
f86b493e32
remove warnings
2015-04-20 06:02:12 +01:00
Vincent Hanquez
0aaa6a9e9a
[Ed25519] Add haskell bindings and tests
2015-04-19 09:24:37 +01:00
Vincent Hanquez
fb7855985e
reorder extension
2015-04-07 06:52:54 +01:00
Vincent Hanquez
6eae9b0557
fix warnings
2015-04-05 12:19:26 +01:00
Vincent Hanquez
b556bdb649
add missing modules
2015-04-03 07:33:16 +01:00
Vincent Hanquez
b1e222cf3d
merge crypto-pubkey-types and crypto-pubkey
...
adapt CPRG to MonadRandom
2015-04-03 07:33:16 +01:00
Vincent Hanquez
cd870d4259
really fix build issue with ghc 7.4
2015-01-27 16:26:01 +00:00
Vincent Hanquez
9754f8b31f
add bytestring instances for old ghc
2015-01-27 16:04:04 +00:00
Vincent Hanquez
033b9ced81
add support for curve 25519
2015-01-27 06:25:41 +00:00
Vincent Hanquez
ec26f9a25b
add initial support for curve25519
2015-01-27 06:20:19 +00:00