Vincent Hanquez
4653f36d19
[Poly1305] add NFData for Tag.
2015-07-30 14:40:35 +01:00
Vincent Hanquez
8a0bacfc6d
[Poly1305] make initialize explicitely failable
2015-07-29 09:49:49 +01:00
Vincent Hanquez
5dab0190ac
[Poly1305] Rename Ctx to State
2015-07-19 17:51:46 +01:00
Vincent Hanquez
9794e2132b
[hash] replace scrub by reset
...
reset make more sense as it leave the mutable context in a state where
it can be re-used by further update, whereas scrub doesn't.
2015-05-19 11:50:56 +01:00
Vincent Hanquez
9ae9e38ce2
move to memory stuff
2015-05-09 14:23:32 +01:00
Vincent Hanquez
cd42b2765b
[HMAC] use SecureBytes instead of ByteString for between context
2015-05-03 14:51:13 +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
9dd17fc0c4
use byte array in more places
2015-04-24 17:22:13 +01:00
Vincent Hanquez
bd1c010df9
just like poly1305, add a way to mac multiple inputs
2014-11-09 09:59:35 +00:00
Vincent Hanquez
5e23ef92a5
add HMAC
2014-07-09 13:15:49 +01:00
Vincent Hanquez
7c03f3314b
faster one-pass auth call.
2014-07-07 04:41:35 +01:00
Vincent Hanquez
c4c0802f80
Add working implementation of poly1305 with 1 test vector.
2014-07-06 15:44:54 +01:00
Vincent Hanquez
9fd200e407
add Poly1305 module (non-exposed)
2014-07-06 14:06:20 +01:00