Commit Graph

113 Commits

Author SHA1 Message Date
Vincent Hanquez
b570388917 add simple chacha interface 2015-04-03 07:27:19 +01:00
Vincent Hanquez
bae4bcd064 add new function. including commented out split for now. 2015-04-03 07:26:46 +01:00
Vincent Hanquez
9fd91da855 refactor AFIS import list 2015-04-03 07:26:25 +01:00
Vincent Hanquez
16d24161e1 add a wrapper to memcpy that does the right things with various versions of memcpy 2015-04-03 07:26:09 +01:00
Vincent Hanquez
e409172a1c remove commas in list of exported modules 2015-04-03 07:25:48 +01:00
Vincent Hanquez
a82a544fec add a simple alias to SecureMem for future refactoring
Signed-off-by: Vincent Hanquez <vincent@snarc.org>
2015-04-03 07:25:22 +01:00
Vincent Hanquez
c991abda23 fix another old version's memcpy 2015-03-30 16:02:00 +01:00
Vincent Hanquez
4a6bfe98fc fix old version 2015-03-30 15:50:05 +01:00
Vincent Hanquez
5f2aa94355 add AFIS 2015-03-30 15:08:11 +01:00
Vincent Hanquez
c3d9570881 re-add the primitives to generate primes and test for prime. 2015-03-29 10:55:46 +01:00
Vincent Hanquez
d9b16a529e re-enable number generation 2015-03-29 10:43:45 +01:00
Vincent Hanquez
be3eacc068 ask for Functor for a MonadRandom too. 2015-03-29 10:43:24 +01:00
Vincent Hanquez
f3bf67df99 add withByteArray 2015-03-29 10:43:11 +01:00
Vincent Hanquez
37557af615 add length abstraction for byte array 2015-03-29 09:16:44 +01:00
Vincent Hanquez
a4d3dc4d10 add a simple random abstraction 2015-03-29 09:09:55 +01:00
Vincent Hanquez
3b6c72e242 add bytearray into internal module 2015-03-29 09:09:10 +01:00
Vincent Hanquez
d9ba6034c4 correct haddock 2015-03-29 09:08:34 +01:00
Vincent Hanquez
41039c7b5b add a simple abstraction for bytearray allocation+fill 2015-03-29 09:00:09 +01:00
Vincent Hanquez
1a8a5aef62 remove useless function 2015-03-29 08:59:47 +01:00
Vincent Hanquez
087a2f118a fix usage of cryptonite_chacha_init 2015-03-29 07:43:31 +01:00
Vincent Hanquez
06832d678d add random generation through chacha 2015-03-28 15:33:03 +00:00
Vincent Hanquez
cb2562a512 update main license 2015-03-12 05:44:23 +00:00
Vincent Hanquez
a28dfef00c fix .travis 2015-03-11 04:38:54 +00:00
Vincent Hanquez
13fc74ccce fix .travis 2015-03-08 17:26:35 +08:00
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