Olivier Chéron
d65fc88477
Benchmark for hash algorithms
...
A first step in the direction of #144 .
2017-03-29 11:38:32 +02:00
Olivier Chéron
762f2d9032
Consolidate cryptonite benchmark code
...
Enables `cabal bench' or `stack bench' to run benchmarks
that depend only on cryptonite.
2017-03-29 11:38:32 +02:00
Vincent Hanquez
2d25b27042
Merge pull request #145 from tdietert/tutorial
...
Tutorial Improvement
2017-03-26 09:27:58 +01:00
tdietert
f639ac9f0d
Update tutorial based on suggestions
2017-03-26 00:47:02 +00:00
tdietert
fd75eac415
Fix Crypto.Tutorial module name
2017-03-19 00:37:36 +00:00
tdietert
ec49ea659e
Move language pragmas inside haddocks
2017-03-19 00:02:07 +00:00
tdietert
c76217f75d
Added more comprehensive tutorial
2017-03-18 23:57:24 +00:00
Vincent Hanquez
666eb4e58e
Merge pull request #140 from NicolasDP/master
...
Blake2: add modern interface using Nat
2017-03-18 14:12:02 +00:00
Nicolas DI PRIMA
8b6bd1ed5e
check for at least one byte and at most 256 or 512 (blake2s or blake2b)
2017-03-13 18:53:07 +00:00
Nicolas DI PRIMA
f0286281fb
add new constraints
2017-03-13 18:52:24 +00:00
Nicolas DI PRIMA
653e67d221
add tests for the new digest sizes
2017-03-13 00:25:04 +00:00
Nicolas DI PRIMA
c0c33c5254
Use Nat for the Blake2's digest sizes
2017-03-13 00:24:17 +00:00
Nicolas DI PRIMA
cd552ae5f6
move Nat specific to Cryptonite's insternal module
2017-03-13 00:22:53 +00:00
Olivier Chéron
f9b593520f
Fixed test suite when base < 4.7
...
ExistentialQuantification is needed for HashAlg.
2017-02-26 16:27:55 +01:00
Vincent Hanquez
6440a7ebab
bump version to 0.22
2017-02-24 18:11:31 +00:00
Vincent Hanquez
9b0e2538f1
reinstall ghc 7.6
2017-02-24 16:47:14 +00:00
Vincent Hanquez
e12d68a018
missing item
2017-02-24 16:18:02 +00:00
Vincent Hanquez
9e06b38953
prepare CHANGELOG
2017-02-24 16:14:48 +00:00
Vincent Hanquez
c45bb19aba
update QA to latest haskell-src-exts
2017-02-24 16:05:12 +00:00
Vincent Hanquez
ef27301a8f
update description
2017-02-24 16:04:24 +00:00
Vincent Hanquez
baa2b6d9c9
extra-doc-files requires cabal 1.18
2017-02-24 16:04:14 +00:00
Vincent Hanquez
c9aeb98744
add 7.6 back as advisory
2017-02-24 15:57:52 +00:00
Vincent Hanquez
75e98e9699
Merge pull request #138 from haskell-crypto/blake2-update
...
Blake2 & Argon2
2017-02-24 15:31:38 +00:00
Vincent Hanquez
c4936ce6d8
remove Typeable
2017-02-24 14:03:33 +00:00
Vincent Hanquez
d898c41136
Merge pull request #139 from cielavenir/merge_keccak
...
Merged Keccak code into SHA3
2017-02-24 13:43:02 +00:00
Vincent Hanquez
253bf0cb8b
Argon2: add working hash function
...
* Cleanup argon c files:
* Remove encoded format and base64 encoder
* Remove verification code
* Remove all variants based simple caller
* Add basic hashing function
* Add a simple KAT test
* Define more things at the haskell level
2017-02-24 13:37:40 +00:00
cielavenir
ad40f40818
Merged Keccak code into SHA3
2017-02-24 21:04:46 +09:00
Vincent Hanquez
a5b6fdc36e
add Argon2 C sources
2017-02-20 11:46:17 +00:00
Vincent Hanquez
b4db1dab33
remove executable attribute on sha3.[ch]
2017-02-20 11:34:48 +00:00
Vincent Hanquez
956904e3c2
hide X448 base point export
2017-02-20 11:27:19 +00:00
Vincent Hanquez
139b204c6b
add latest version of blake2 and reference to it
2017-02-20 07:32:50 +00:00
Vincent Hanquez
2932df9e24
Merge branch 'master' of https://github.com/haskell-crypto/cryptonite
2017-02-20 07:06:14 +00:00
Vincent Hanquez
bcada64bf5
fix compilation on openbsd and introduce more alignment compat fucntions
2017-02-20 07:05:44 +00:00
Vincent Hanquez
c673bfdc62
Merge pull request #134 from haskell-crypto/hash-shake
...
SHAKE128 / SHAKE256 support
2017-02-20 06:12:01 +00:00
Vincent Hanquez
26237c5c6d
remove spurious header modification
2017-02-19 17:17:49 +00:00
Vincent Hanquez
10d72c8779
remove unneeded extensions
2017-02-19 17:17:35 +00:00
Vincent Hanquez
7286cb832a
Add better constants for trampoline buffer
2017-02-14 23:01:18 +00:00
Vincent Hanquez
c342d28436
Compatibility with older version
2017-02-14 23:01:18 +00:00
Vincent Hanquez
343b7593b5
add Constraint for divisibility
2017-02-14 23:01:18 +00:00
Vincent Hanquez
4b5ee83396
revert base back to >= 4.3
2017-02-14 23:01:18 +00:00
Vincent Hanquez
eb661e653e
add Typeable for SHAKE
2017-02-14 23:01:18 +00:00
Olivier Chéron
d8ed5ce9f1
Add SHAKE128 and SHAKE256 as HashAlgorithm instances
...
Generalizes SHA-3 code for SHAKE support and uses GHC type-level literals
to keep the output length variable.
2017-02-14 23:01:18 +00:00
Vincent Hanquez
df85d00891
Merge pull request #136 from haskell-crypto/more-blake2
...
add some missing blake2 modes
2017-02-14 16:50:35 +00:00
Vincent Hanquez
7378fe3f45
add some missing blake2 modes
2017-02-14 16:26:44 +00:00
Vincent Hanquez
3eff8021eb
Merge branch 'master' of https://github.com/haskell-crypto/cryptonite
2017-02-14 16:13:05 +00:00
Vincent Hanquez
ad07371c71
[travis] update to 8.0.2 and enable tests
2017-02-14 16:12:44 +00:00
Vincent Hanquez
25671da789
Merge pull request #135 from haskell-crypto/data
...
Add Data also to Hash algorithms
2017-02-14 13:26:16 +00:00
Vincent Hanquez
634768b2fa
add Data also to Hash algorithms
2017-02-14 12:02:26 +00:00
Vincent Hanquez
550a689faf
Merge pull request #133 from haskell-crypto/typeable
...
add Typeable for all hash algorithms
2017-02-14 10:37:04 +00:00
Vincent Hanquez
7c33fcedb4
add Typeable to hash algorithm
2017-02-14 10:19:44 +00:00