Commit Graph

62 Commits

Author SHA1 Message Date
Vincent Hanquez
ec26f9a25b add initial support for curve25519 2015-01-27 06:20:19 +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
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
c291952018 fix symbol 2015-01-18 16:08:53 -08:00
Vincent Hanquez
1d706a3ef1 rename file 2015-01-15 04:58:35 -08:00
Vincent Hanquez
6195bd40af merge cipher-aes C files in cryptonite 2015-01-15 04:58:25 -08:00
Vincent Hanquez
6ad51c0524 add coding style note in the README 2015-01-15 04:57:51 -08:00
Vincent Hanquez
a98b7548b2 fix integral type for older version of memcpy. fix ghc 7.4.x 2014-11-09 14:15:55 +00:00
Vincent Hanquez
bd1c010df9 just like poly1305, add a way to mac multiple inputs 2014-11-09 09:59:35 +00:00
Vincent Hanquez
022f16eeef While it's probably safe, don't use a "pure" bytestring as a buffer.
reallocate a new buffer and copy the old thing inside.
2014-10-04 22:37:31 +01:00
Vincent Hanquez
d2fa875c11 remove commas in .cabal 2014-08-25 08:11:51 +01:00
Vincent Hanquez
adca793a9f Reorganize entropy interfaces.
* separate pool into a different module
* only export by default a simple gathering function
* export an unsafe module with all the memory methods
2014-08-25 08:00:10 +01: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
2e5e428bb1 correct CPP header for salsa 2014-08-01 04:45:14 -07:00
Vincent Hanquez
4fcb859cc3 make the comment more precise. 2014-08-01 04:44:52 -07:00
Vincent Hanquez
474734ecba add a salsa_core_xor export for scrypt. 2014-08-01 04:44:35 -07:00
Vincent Hanquez
63cd646817 add array_xor32 to copy+xor an array of 32 bits values. 2014-08-01 04:43:18 -07:00
Vincent Hanquez
c84acf079e add Scrypt placeholder 2014-07-27 11:09:45 -07:00
Vincent Hanquez
04912a180a correct a typo in PBKDF2 2014-07-27 11:07:59 -07:00
Vincent Hanquez
3c3910cb34 add blowfish and scrypt tests 2014-07-23 06:06:30 -07:00
Vincent Hanquez
480ff26a34 cleanup in PBKDF2 2014-07-23 05:58:22 -07:00
Vincent Hanquez
9c9007c3b0 use securemem abstraction and byteable helpers in RC4 2014-07-21 11:17:42 +01:00
Vincent Hanquez
f2bfecfa3e add RC4 2014-07-21 10:58:42 +01:00
Vincent Hanquez
7185a5b871 unexpand QR macro in salsa 2014-07-19 20:30:23 +01:00
Vincent Hanquez
d750233612 fix some KAThash warnings 2014-07-19 20:29:51 +01:00
Vincent Hanquez
f328269199 mark salsa load32 as static inline 2014-07-19 18:00:54 +01:00
Vincent Hanquez
5097e18d30 Merge branch 'entropy'
Conflicts:
	cryptonite.cabal
2014-07-19 15:07:59 +01:00
Vincent Hanquez
6005eca7bd make the entropy gathering simpler for certain setup, and cleanup a bit 2014-07-19 15:06:39 +01:00
Vincent Hanquez
1c964bb9f7 Merge branch 'legacy' 2014-07-18 15:40:57 +01:00
Vincent Hanquez
8562223d57 fix some harmless warnings with LLVM with signed vs unsigned buffer types. 2014-07-18 15:32:55 +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
f8444e3564 Merge remote-tracking branch 'origin/master' 2014-07-17 16:55:52 +01:00
Vincent Hanquez
bfebb195bb remove 7.0 and 7.2 2014-07-15 15:43:05 +01:00
Vincent Hanquez
3cfac3f34e add instances of IsString for ghc 7.4.x 2014-07-15 15:26:35 +01:00
Vincent Hanquez
fc2461c2b1 remove 6.12 2014-07-15 14:56:57 +01:00
Vincent Hanquez
0a5d746cad remove mtl as dependency 2014-07-15 14:48:27 +01:00
Vincent Hanquez
e3a1fc177a remove some ghc versions 2014-07-15 14:48:16 +01:00
Vincent Hanquez
be64f769bf add a bug-reports url 2014-07-15 14:18:45 +01:00
Vincent Hanquez
e715f37308 add status icons. 2014-07-15 14:12:31 +01:00
Vincent Hanquez
4ad3c00e40 add travis-ci 2014-07-15 14:11:44 +01:00
Vincent Hanquez
8451db7d1d add an item in TODO and extend another one. 2014-07-10 06:14:05 +01:00
Vincent Hanquez
5e23ef92a5 add HMAC 2014-07-09 13:15:49 +01:00
Vincent Hanquez
4e955ad505 merge entropy from crypto-random 2014-07-09 08:12:34 +01:00
Vincent Hanquez
09feb59f62 merge cryptohash 2014-07-07 14:55:55 +01:00
Vincent Hanquez
ec1a44881d fix empty loop in poly1305 for final case 2014-07-07 08:10:37 +01:00
Vincent Hanquez
336093c53b Merge branch 'salsa'
Conflicts:
	README.md
	cryptonite.cabal
	tests/Tests.hs
2014-07-07 08:10:31 +01:00