Commit Graph

142 Commits

Author SHA1 Message Date
Vincent Hanquez
ca5fdb49dc add Byteable to the bad module list 2015-04-08 22:35:21 +01:00
Vincent Hanquez
6d9317f963 first issue found by QA code check. we don't need those extensions there. 2015-04-07 06:56:06 +01:00
Vincent Hanquez
4e1c373fdc add DeriveDataTypeable to allowed extensions 2015-04-07 06:52:59 +01:00
Vincent Hanquez
fb7855985e reorder extension 2015-04-07 06:52:54 +01:00
Vincent Hanquez
165974adc8 add more checks 2015-04-07 06:51:32 +01:00
Vincent Hanquez
0e40a621da add first warning 2015-04-07 06:03:35 +01:00
Vincent Hanquez
abacea200d further fix 2015-04-05 12:32:40 +01:00
Vincent Hanquez
6eae9b0557 fix warnings 2015-04-05 12:19:26 +01:00
Vincent Hanquez
ed4da5734b fix old build 2015-04-05 11:17:52 +01:00
Vincent Hanquez
e74448aeb4 cryptonitize AES, and add foreign function interfaces to it (not exported). 2015-04-05 10:44:23 +01:00
Vincent Hanquez
c5c04176de remove unnecessary separator 2015-04-05 07:47:27 +01:00
Vincent Hanquez
3308ec0d92 cleanup extensions in modules 2015-04-05 07:47:16 +01:00
Vincent Hanquez
684e0ea42a cleanup extensions needed in hash templates 2015-04-05 07:46:51 +01:00
Vincent Hanquez
969daf5af1 move more compat things into Internal.Compat. 2015-04-05 07:46:34 +01:00
Vincent Hanquez
57aa7ce098 use more Internal.Compat to get UnsafeDoIO 2015-04-05 07:46:18 +01:00
Vincent Hanquez
f43d340fd2 improve parsing further 2015-04-05 07:33:37 +01:00
Vincent Hanquez
d006d91811 get to parse more things in QA script 2015-04-05 06:54:57 +01:00
Vincent Hanquez
1efa712dc5 add QA "script". for now doesn't do anything except listing extensions 2015-04-03 08:19:48 +01:00
Vincent Hanquez
827407fbed use BinaryPolynomial when it is one in F2m 2015-04-03 08:17:47 +01:00
Vincent Hanquez
88ff52a10d add sublime-project file 2015-04-03 07:41:43 +01:00
Vincent Hanquez
842817086a remove some warnings 2015-04-03 07:40:54 +01:00
Vincent Hanquez
f428843322 Merge branch 'pubkey-merge' 2015-04-03 07:34:04 +01:00
Vincent Hanquez
7a2f4244f9 ignore gen/Crypto 2015-04-03 07:33:16 +01:00
Vincent Hanquez
599024e581 add public key tests 2015-04-03 07:33:16 +01:00
Vincent Hanquez
b556bdb649 add missing modules 2015-04-03 07:33:16 +01:00
Vincent Hanquez
b1e222cf3d merge crypto-pubkey-types and crypto-pubkey
adapt CPRG to MonadRandom
2015-04-03 07:33:16 +01:00
Vincent Hanquez
ba565ce6f0 add AFIS tests 2015-04-03 07:28:16 +01:00
Vincent Hanquez
abb470f8b7 add Crypto.Random abstraction interface 2015-04-03 07:28:07 +01:00
Vincent Hanquez
ac77a20c06 add simple ChaChaRNG 2015-04-03 07:27:44 +01:00
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