Commit Graph

375 Commits

Author SHA1 Message Date
Vincent Hanquez
9a69c61e84 [ChaCha] opaquify the state to be handled directly in the C level just like the hash function
increase the number of tests
2015-05-22 14:04:27 +01:00
Vincent Hanquez
5d85834264 remove unnecessary extension 2015-05-21 14:51:23 +01:00
Vincent Hanquez
16839d3a43 [number] remove the ByteString from generation of high bits 2015-05-21 14:48:26 +01:00
Vincent Hanquez
7f11a66d50 [DSA] re-align imports 2015-05-21 14:46:45 +01:00
Vincent Hanquez
28958a6d03 [RSA] remove ByteString from Primitive module 2015-05-21 14:32:53 +01:00
Vincent Hanquez
c111dfeb8e [pubkey] remove bytestring from MaskGenFunction 2015-05-21 11:09:48 +01:00
Vincent Hanquez
22c1a1bb7f update memory to 0.2 minimum 2015-05-21 11:06:53 +01:00
Vincent Hanquez
ff736b47ca [cipher] use mconcat that force input to be the same as output 2015-05-21 11:06:41 +01:00
Vincent Hanquez
c7de32a6f6 [RSA] remove the need for bytestring in HashDescr and work towards more removal 2015-05-21 09:46:13 +01:00
Vincent Hanquez
8065c26c2d remove dangerous OverloadedStrings 2015-05-21 06:45:46 +01:00
Vincent Hanquez
dc34ce8289 [RSA] properly indent modules imports 2015-05-21 06:35:19 +01:00
Vincent Hanquez
94d0da9676 improve the README 2015-05-21 05:29:38 +01:00
Vincent Hanquez
d151597d09 [QA] define ARCH_X86 and add an extension exception for windows entropy module 2015-05-21 05:29:24 +01:00
Vincent Hanquez
4758df2c3a [entropy] missing CPP extension for windows entropy gather module 2015-05-21 05:28:50 +01:00
Vincent Hanquez
b39283f5f9 add proper cpp defines for architecture instead of using the usual system one 2015-05-21 05:28:27 +01:00
3noch
9c1d9695c5 support windows 64 bits 2015-05-20 09:11:33 +01:00
Vincent Hanquez
80b379c98d cleanup tests, and improve testing of hash algorithms 2015-05-20 07:14:05 +01:00
Vincent Hanquez
881d167cb5 more fixing up description and comments 2015-05-20 06:22:00 +01:00
Vincent Hanquez
92343f856a add comments and description 2015-05-20 06:07:31 +01:00
Vincent Hanquez
393b159d5f [hash] add haddock documentation 2015-05-19 11:51:18 +01:00
Vincent Hanquez
9794e2132b [hash] replace scrub by reset
reset make more sense as it leave the mutable context in a state where
it can be re-used by further update, whereas scrub doesn't.
2015-05-19 11:50:56 +01:00
Vincent Hanquez
987f9e7bb6 [internal] update to latest memory, and remove builtin support as memory is now available 2015-05-18 18:33:14 +01:00
Vincent Hanquez
c5f9ab2d35 [internal] update memory to latest 2015-05-14 10:04:16 +01:00
Vincent Hanquez
26ec954a48 [Cipher] fix salsa and chacha related to chunking 2015-05-12 14:36:50 +01:00
Vincent Hanquez
ffe42392ca [tests] more refactoring 2015-05-12 14:36:20 +01:00
Vincent Hanquez
5d2e2ce999 [Tests] factorise assertEq 2015-05-12 13:34:12 +01:00
Vincent Hanquez
ec57ecc0a0 [tests] add utility to do random chunking and add a Salsa chunking test 2015-05-12 07:54:27 +01:00
Vincent Hanquez
fdf735d4e2 [PubKey] move ElGamal to use HashAlgorithm and ByteArrayAccess. 2015-05-12 07:01:20 +01:00
Vincent Hanquez
5d2b417854 [pubkey] make DSA and ECDSA ByteString free 2015-05-11 14:18:49 +01:00
Vincent Hanquez
d035e3a3bc [number] properly handle gmp 2015-05-11 11:39:09 +01:00
Vincent Hanquez
f84d60e69f [QA] allow emptyDataDecls 2015-05-11 10:17:43 +01:00
Vincent Hanquez
b3ebf3f3b8 [number] fix import 2015-05-11 10:07:15 +01:00
Vincent Hanquez
eaad39a1af remove need for bytearray to marshall Word8s into a Word64 2015-05-11 10:04:56 +01:00
Vincent Hanquez
30b7b6412a align module imports 2015-05-11 09:34:26 +01:00
Vincent Hanquez
deb07b2c6c [QA] add one more exception 2015-05-11 09:34:18 +01:00
Vincent Hanquez
761574a65f [internal] remove old cryptohash modules 2015-05-11 09:34:01 +01:00
Vincent Hanquez
9567fa2526 [number] almost rewrite all serialization to be faster and less depends on random versions 2015-05-11 09:28:48 +01:00
Vincent Hanquez
9983822fba [QA] add extensions exceptions 2015-05-11 07:32:24 +01:00
Vincent Hanquez
228f1ab938 [number] further push the compat cleanup 2015-05-11 07:32:13 +01:00
Vincent Hanquez
8c07305deb [number] fix compat with a missing do. 2015-05-11 07:31:52 +01:00
Vincent Hanquez
ee3e5e69bf [number] move some number primitive to use compat without CPP 2015-05-11 07:11:38 +01:00
Vincent Hanquez
03fe63b05a [number] further remove gcde_binary 2015-05-11 07:10:52 +01:00
Vincent Hanquez
4bcf193a12 [number] further remove gcde_binary 2015-05-11 07:10:38 +01:00
Vincent Hanquez
47afc1720d [number] remove gcde_binary 2015-05-11 07:10:15 +01:00
Vincent Hanquez
5c0daae88c [number] add simple combinator 2015-05-11 07:09:44 +01:00
Vincent Hanquez
427541064d [number] add further gmp optional compat 2015-05-11 07:09:30 +01:00
Vincent Hanquez
ed8fbe8f69 [Number] add module to cleanup CPP around 2015-05-10 15:27:52 +01:00
Vincent Hanquez
e6a7cc0dab [Tests] split ChaCha in own module 2015-05-10 08:00:05 +01:00
Vincent Hanquez
7f39b15e91 [Tests] move Salsa tests 2015-05-10 07:57:20 +01:00
Vincent Hanquez
bdb463cc91 move Poly1305 tests to its own file 2015-05-10 07:50:18 +01:00