Vincent Hanquez
f18c377cc1
[QA] allow ExistentialQuantification generally
2015-05-04 06:59:27 +01:00
Vincent Hanquez
9f56a6d667
[QA] improve parsing by removing the fixities.
...
Thanks Roman.
2015-05-04 06:59:07 +01:00
Vincent Hanquez
df3c3523a4
[P256] add a point_add function
2015-05-04 06:56:27 +01:00
Vincent Hanquez
aa790db088
[P256] add more bindings
2015-05-03 20:36:00 +01:00
Vincent Hanquez
ad34f0e1e8
use mod after add/sub
2015-05-03 20:15:26 +01:00
Vincent Hanquez
1f30911e1c
[P256] define the n/p/b constants
2015-05-03 20:14:54 +01:00
Vincent Hanquez
c360e77148
[P256] properly define some bindings with X and Y types
2015-05-03 20:14:10 +01:00
Vincent Hanquez
ea875e5c88
[P256] define pointMul
2015-05-03 19:52:00 +01:00
Vincent Hanquez
25c303602d
[P256] add comment to `toPoint'
2015-05-03 19:51:21 +01:00
Vincent Hanquez
98463b6dad
[P256] export SECP constants using the cryptonite_ prefix
2015-05-03 19:49:42 +01:00
Vincent Hanquez
f09bbf55e3
[Chacha/Salsa] cleanup nonce handling and use bufXor
2015-05-03 14:58:59 +01:00
Vincent Hanquez
cd42b2765b
[HMAC] use SecureBytes instead of ByteString for between context
2015-05-03 14:51:13 +01:00
Vincent Hanquez
cc15b91c07
[QA] add more exceptions
2015-05-03 14:48:48 +01:00
Vincent Hanquez
c751fd1a6b
[QA] fix import
2015-05-03 14:48:40 +01:00
Vincent Hanquez
dfe3a9af93
[QA] fix module imports
2015-05-03 14:48:26 +01:00
Vincent Hanquez
87777784c1
[QA] fix issues from HSE so that it parse files
2015-05-03 14:47:16 +01:00
Vincent Hanquez
937b5d08dd
[scrypt] cleanup module / extensiotn
2015-05-03 14:31:14 +01:00
Vincent Hanquez
28a4fa1503
remove unnecessary CPP
2015-05-03 14:31:07 +01:00
Vincent Hanquez
73729786c5
[QA] whitelist more modules
2015-05-03 14:27:37 +01:00
Vincent Hanquez
4abc9fed08
[QA] properly assign succeeded/failed
2015-05-03 14:27:18 +01:00
Vincent Hanquez
0d812c9e28
add dummy makefile to run QA
2015-05-03 14:26:21 +01:00
Vincent Hanquez
b4d1a278b3
[QA] remove unnecessary module, and allow on more module to use CPP
2015-05-03 08:43:32 +01:00
Vincent Hanquez
c23ddb2eaa
[PBKDF2] make the code more friendly to a future mutable PRF.
...
Prevent doing B.take . B.concat by allocating only once the output buffer
2015-05-03 08:17:03 +01:00
Vincent Hanquez
c1ed30b20e
[DSA] fix badly written constraint (found by QA)
2015-05-02 15:46:07 +01:00
Vincent Hanquez
9c67e3c133
[QA] add some extra exceptions for module and extensions
2015-05-02 15:44:53 +01:00
Vincent Hanquez
4cde4f9311
[scrypt] remove the need for byteable by using the more generic bytearray
2015-05-02 15:44:33 +01:00
Vincent Hanquez
c5189a03c6
[hash] remove unnecessary import
2015-05-02 15:44:09 +01:00
Vincent Hanquez
da784070f7
[hash] remove some warnings
2015-05-02 15:44:01 +01:00
Vincent Hanquez
b28109ecb4
[tests] re-enable poly1305
2015-05-02 15:43:49 +01:00
Vincent Hanquez
1267500318
[P256] improve bindings, still work in progress.
2015-05-02 14:50:11 +01:00
Vincent Hanquez
771007ad93
[cipher] Get rid of bytestring in Stream class.
2015-05-02 14:49:49 +01:00
Vincent Hanquez
119b111b82
fix old build by importing ByteString module to get OverloadedString instance
2015-05-02 14:49:14 +01:00
Vincent Hanquez
ede69013ae
[QA] improve reporting
2015-05-02 14:48:48 +01:00
Vincent Hanquez
cd0b2bfe64
[internal] fix build by making primitive binding stricter as required by older ghc
2015-05-02 08:10:07 +01:00
Vincent Hanquez
d7a88da726
[Curve25519] fix build and get rid of bytestring by using direct addr# "string"
2015-05-02 07:59:42 +01:00
Vincent Hanquez
35ae906755
update version
2015-05-02 07:08:45 +01:00
Vincent Hanquez
e665c619a7
add pclmuldq flag
2015-05-02 06:46:08 +01:00
Vincent Hanquez
b354cc3d82
[bench] ignore binaries
2015-05-02 05:43:06 +01:00
Vincent Hanquez
71cc250449
[bench] add simple cryptohash vs cryptonite hash on file utility
2015-05-02 05:41:45 +01:00
Vincent Hanquez
09e83a7f68
[hash] fix hash printing
2015-05-02 05:40:47 +01:00
Vincent Hanquez
cc26ce8ce4
fix hexadecimal string generation to be hopefully (much) safer.
2015-05-02 05:40:14 +01:00
Vincent Hanquez
edc75500d3
ignore benchs binary
2015-05-01 09:26:42 +01:00
Vincent Hanquez
cf483be258
[Bench] simplify PBKDF2 parameters passing
2015-05-01 09:26:05 +01:00
Vincent Hanquez
836bc7cd95
add some PBKDF2 benchmarks
2015-05-01 09:23:42 +01:00
Vincent Hanquez
f23d1c4867
add some benchs
2015-05-01 08:13:59 +01:00
Vincent Hanquez
b4adeec6d8
remove digestToHex
2015-05-01 07:40:28 +01:00
Vincent Hanquez
5d3e825f2e
remove / comment stuff
2015-05-01 07:36:28 +01:00
Vincent Hanquez
d99c430080
allow -rts flags in test suite
2015-05-01 07:36:05 +01:00
Vincent Hanquez
51fe4bc81d
[cryptonite] define the versioning scheme for development
2015-04-30 06:18:24 +01:00
Vincent Hanquez
db7c3bbb4f
[hash] massive overhaul of the hash interface
...
use the typeclass for the lowest IO impure C bindings definitions,
and define the pure interface as generic on top of this.
At the same time define an Hash.IO interface to allow mutable manipulations
of hash contextes when necessary.
Use HashAlgorithm instead of HashFunction in the [PubKey] sections
Tweak the HMAC, PBKDF2 functions to be more efficient and use the new interface
2015-04-30 06:18:07 +01:00