Vincent Hanquez
09e83a7f68
[hash] fix hash printing
2015-05-02 05:40:47 +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
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
0424d67616
[Curve25519] convert to Bytearray
2015-04-22 06:26:06 +01:00
Vincent Hanquez
0aaa6a9e9a
[Ed25519] Add haskell bindings and tests
2015-04-19 09:24:37 +01:00
Vincent Hanquez
5ea8614999
[AES] tests: remove dead definitions
2015-04-18 07:59:15 +01:00
Vincent Hanquez
03fab98cd2
[AES] add KAT and properties tests for AES128,192,256
2015-04-18 07:33:34 +01:00
Vincent Hanquez
08732c0939
[AEAD] change interface to be less classy (!)
2015-04-18 06:57:18 +01:00
Vincent Hanquez
b93a424c9b
add missing KAT file
2015-04-09 19:59:53 +01:00
Vincent Hanquez
bc306afc1b
[DES] fix serialization
2015-04-09 17:22:57 +01:00
Vincent Hanquez
cf47754776
use more Imports
2015-04-08 22:48:46 +01:00
Vincent Hanquez
39d58bef52
remove tabs
2015-04-08 22:44:28 +01:00
Vincent Hanquez
842d3fd44a
fix some warnings
2015-04-08 22:30:01 +01:00
Vincent Hanquez
386e0e170f
fixup cipher tests
2015-04-08 20:44:20 +01:00
Vincent Hanquez
10995f7d01
fix DES tests
2015-04-08 20:43:31 +01:00
Vincent Hanquez
3a3b0a6277
fix Camellia tests
2015-04-08 20:43:20 +01:00
Vincent Hanquez
929047bc17
enable Blowfish tests
2015-04-08 20:43:07 +01:00
Vincent Hanquez
39ee0a4aa2
refactor some stuff
2015-04-08 14:58:49 +01:00
Vincent Hanquez
ca125f3e66
wip
2015-04-08 14:12:58 +01:00
Vincent Hanquez
72354397e8
merge all crypto ciphers available. add temporarily a vector dependency
2015-04-08 11:53:41 +01:00
Vincent Hanquez
6eae9b0557
fix warnings
2015-04-05 12:19:26 +01:00
Vincent Hanquez
842817086a
remove some warnings
2015-04-03 07:40:54 +01:00
Vincent Hanquez
599024e581
add public key tests
2015-04-03 07:33:16 +01:00
Vincent Hanquez
ba565ce6f0
add AFIS tests
2015-04-03 07:28:16 +01:00
Vincent Hanquez
033b9ced81
add support for curve 25519
2015-01-27 06:25:41 +00:00
Vincent Hanquez
244b0331ad
fix tests
2015-01-23 18:05:40 -08:00
Vincent Hanquez
6ba2a6b6b6
support proper SHA3
2015-01-18 16:09:07 -08:00
Vincent Hanquez
1f9d7af56f
add a working implementation of scrypt.
2014-08-23 16:36:29 +01:00
Vincent Hanquez
903ff726a2
add kekkak
2014-08-14 13:47:41 +02:00
Vincent Hanquez
3c3910cb34
add blowfish and scrypt tests
2014-07-23 06:06:30 -07:00
Vincent Hanquez
f2bfecfa3e
add RC4
2014-07-21 10:58:42 +01:00
Vincent Hanquez
d750233612
fix some KAThash warnings
2014-07-19 20:29:51 +01:00
Vincent Hanquez
1c964bb9f7
Merge branch 'legacy'
2014-07-18 15:40:57 +01:00
Vincent Hanquez
a0ce598e37
add PBKDF2
2014-07-18 15:26:01 +01:00
Vincent Hanquez
8779ba8927
add test vectors to test suite.
2014-07-18 06:04:22 +01:00
Vincent Hanquez
dc88806b29
add pbkdf2 test vectors
2014-07-18 06:00:32 +01:00
Vincent Hanquez
3cfac3f34e
add instances of IsString for ghc 7.4.x
2014-07-15 15:26:35 +01: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
Vincent Hanquez
336093c53b
Merge branch 'salsa'
...
Conflicts:
README.md
cryptonite.cabal
tests/Tests.hs
2014-07-07 08:10:31 +01:00
Vincent Hanquez
16eb6fa387
Add Salsa20 cipher. most is copied from the ChaCha implementation
2014-07-07 08:04:57 +01:00
Vincent Hanquez
be7ffaac80
add chunking tests and fix a buf with partial buffer
2014-07-07 04:59:47 +01:00
Vincent Hanquez
c4c0802f80
Add working implementation of poly1305 with 1 test vector.
2014-07-06 15:44:54 +01:00
Vincent Hanquez
fb85f8639f
initial commit.
2014-07-04 14:58:01 +01:00