Commit Graph

89 Commits

Author SHA1 Message Date
Vincent Hanquez
d9183b7d9b missing template from previous commit 2015-03-08 15:18:45 +08: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
7d28eb3630 add a more efficient types than bytestring. 2015-03-08 15:16:55 +08:00
Vincent Hanquez
c2283d51ae make description more precise 2015-03-08 15:15:37 +08:00
Vincent Hanquez
fd822da7ae add Scrypt link 2015-02-15 00:56:27 +00:00
Vincent Hanquez
bbbbdc4b39 use directly compat module instead of Crypto.Hash.Internal 2015-02-15 00:39:34 +00:00
Vincent Hanquez
effca93970 align dollar sign 2015-02-15 00:14:07 +00:00
Vincent Hanquez
41361968f6 add bytes manipulation function 2015-02-15 00:13:51 +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
90d02607ba merge crypto-numbers minus all the random parts 2015-02-09 05:47:11 +00:00
Vincent Hanquez
6259788612 add missing file 2015-02-08 14:51:33 +00:00
Vincent Hanquez
289c488c58 fix READMe not being a source file 2015-02-08 14:43:15 +00:00
Vincent Hanquez
7c6adacef9 add signature to compat popCount 2015-02-08 14:41:07 +00:00
Vincent Hanquez
410373ec26 add missing modules 2015-02-08 14:17:59 +00:00
Vincent Hanquez
d2a119d1ad add popCount for old version 2015-02-08 13:30:10 +00:00
Vincent Hanquez
09e8670b70 add bang for unlifted bindings 2015-02-08 13:25:04 +00:00
Vincent Hanquez
850d9605e9 update dependencies requirements 2015-02-08 13:17:32 +00:00
Vincent Hanquez
1cd490fb12 update travis to run on ghc 7.0, and 7.10 2015-02-08 13:15:38 +00:00
Vincent Hanquez
9d0b965425 add gen/Gen in .gitignore 2015-02-08 12:04:47 +00:00
Vincent Hanquez
4652fd99a7 add template for hash generation and the little program associated with it 2015-02-08 12:04:05 +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
cd870d4259 really fix build issue with ghc 7.4 2015-01-27 16:26:01 +00:00
Vincent Hanquez
47dcbbdca8 add Curve25519 link 2015-01-27 08:12:45 +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
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