Vincent Hanquez
dfd8ff7e8d
Merge pull request #219 from ocheron/digest-read-basement
...
Add Read instance for Digest type
2018-03-12 08:41:38 +00:00
Olivier Chéron
3e5be5fdf3
Add Read instance for Digest type
2018-02-11 09:15:05 +01:00
Vincent Hanquez
ec8366bbd2
release 0.25
2018-02-06 15:35:32 +00:00
Vincent Hanquez
41d610fb18
Merge pull request #217 from haskell-crypto/hash-use-block
...
Hash: use Block instead of UArray to reduce memory usage
2018-02-05 14:34:04 +00:00
Vincent Hanquez
e8350e03bd
add proper dependency for tests
2018-02-05 12:26:25 +00:00
Vincent Hanquez
b4add57955
Hash: use Block instead of UArray to reduce memory usage
2018-02-04 23:06:02 +00:00
Vincent Hanquez
2d87929a4e
Merge pull request #215 from haskell-crypto/haskell-ci
...
Bring CI to 2018
2018-02-04 23:05:09 +00:00
Vincent Hanquez
8b95917572
fix some more reference to criterion
2018-02-04 22:18:07 +00:00
Vincent Hanquez
6c84a1605d
Merge pull request #216 from haskell-crypto/aesccm-rebase
...
AES CCM mode
2018-02-04 21:38:16 +00:00
Vincent Hanquez
d291f9f5bb
move to gauge
2018-02-04 21:33:36 +00:00
Vincent Hanquez
fb800bd2b6
fix for 7.10
2018-02-04 21:28:48 +00:00
Vincent Hanquez
5400fdf5ae
use haskell-ci
2018-02-04 14:43:40 +00:00
Olivier Chéron
07be32728e
Avoid warning with tasty-quickcheck-0.9.2
2018-02-04 15:27:45 +01:00
Olivier Chéron
1490f080a5
Use aligned block128 functions
...
Applies similar changes to what was done in #175 .
2018-02-04 14:36:03 +01:00
Olivier Chéron
325c87febf
Use pattern matching
2018-02-04 14:35:43 +01:00
Olivier Chéron
4926cbb143
Improve types and indentation, fix typo
2018-02-03 19:05:20 +01:00
Baojun Wang
1e57f41e1d
check AESCCM IV length in ccmInit instead of aeadInit
2018-02-03 09:34:57 +01:00
Baojun Wang
f6d9fb0cf1
aeadInit (ccm) returns CryptoError_IvSizeInvalid when iv size is wrong
2018-02-03 09:34:57 +01:00
Baojun Wang
d5f8348a4b
use nonce_len for memcpy
2018-02-03 09:34:57 +01:00
Baojun Wang
ccc7c3e7a6
kill unused imports
2018-02-03 09:34:57 +01:00
Baojun Wang
6fef094e90
Add KATCCM test file
2018-02-03 09:34:57 +01:00
Baojun Wang
e01ef4386e
Add AESCCM test vectors for testing
2018-02-03 09:34:57 +01:00
Baojun Wang
035693240d
fix wrong condition check in cryptonite_aes_ccm_aad
2018-02-03 09:34:57 +01:00
Baojun Wang
fefe5d75e3
flavor condition checks instead of asserts
2018-02-03 09:34:57 +01:00
Baojun Wang
48770bf79f
fix aes ccm decryption cbcmac mis-match
2018-02-03 09:34:57 +01:00
Baojun Wang
1e04890d73
Add ccm decrypt
2018-02-03 09:34:57 +01:00
Baojun Wang
55bf620365
add aes ccm support
2018-02-03 09:31:36 +01:00
Vincent Hanquez
28f604f7bd
Merge pull request #210 from avieth/avieth/bs_copy
...
More efficient digestFromByteString
2018-01-09 22:18:54 +00:00
Alexander Vieth
6dca020660
improve digestFromByteString efficiency
2018-01-09 17:10:12 -05:00
Vincent Hanquez
c02c43bfc7
Merge pull request #205 from osa1/close_dev_handle
...
withDev: Close the FD on exception
2017-12-17 18:15:31 +00:00
Vincent Hanquez
6346b8289c
Merge pull request #202 from ocheron/ed25519-arith-negate
...
Ed25519 arithmetic primitives
2017-12-17 18:12:50 +00:00
Vincent Hanquez
82c22d50c7
Merge pull request #206 from haskell-crypto/replace-foundation-by-basement
...
remove dependency on foundation and moving to basement
2017-12-17 18:12:41 +00:00
Olivier Chéron
3217038a1a
Add pointMulByCofactor and pointHasPrimeOrder
2017-12-17 11:56:33 +01:00
Olivier Chéron
9cd77ed3e2
Test points with a torsion component
2017-12-17 09:46:42 +01:00
Olivier Chéron
251f164f47
Apply bugfix to Edwards25519.pointsMulVarTime
2017-12-17 09:46:42 +01:00
Olivier Chéron
b962952c30
Add introduction and warnings about possible pitfalls
2017-12-17 09:46:42 +01:00
Olivier Chéron
0820cd5c38
Simpler Edwards25519.scalarGenerate
2017-12-16 11:33:38 +01:00
Olivier Chéron
fbe1c213e2
Use throwCryptoError
2017-12-11 06:40:41 +01:00
Olivier Chéron
45723e3542
Rename to Edwards25519
2017-12-10 21:14:47 +01:00
Olivier Chéron
d472d9b74f
Import Ed25519 unqualified
2017-12-10 21:13:09 +01:00
Vincent Hanquez
85575fae41
Merge pull request #204 from ocheron/ecdh-bench
...
FFDH and ECDH benchmarks
2017-12-10 15:54:16 +00:00
Vincent Hanquez
a61db59a22
bump version again
2017-12-06 11:44:44 +00:00
Vincent Hanquez
76e92e6d29
force latest memory
2017-12-01 09:14:07 +00:00
Vincent Hanquez
f861a52b1b
remove dependency on foundation and moving to basement
2017-11-30 12:08:08 +00:00
Ömer Sinan Ağacan
d7aeb5f545
withDev: Close the FD on exception
2017-11-30 10:30:29 +03:00
Olivier Chéron
4d25832bcf
Benchmark FFDH with 5 standard TLS groups
...
Uses short exponents explained in RFC 7919 to better stand comparison
with ECDH.
2017-11-27 20:43:08 +01:00
Olivier Chéron
ee50734b39
Benchmark ECDH with 5 curves
2017-11-27 20:43:08 +01:00
Olivier Chéron
3aaa89d52e
Add missing NFData instances
2017-11-27 20:43:08 +01:00
Olivier Chéron
2a60551e34
Use criterion 'env' function
2017-11-27 20:43:08 +01:00
Luke Taylor
5e354f9bfc
Use "2b" version prefix in bcrypt hashes
...
Makes docs and code consistent - the code now generates hashes
with the "2b" prefix instead of "2a". Shouldn't make any difference
in practice since previously generated hashes should still validate.
2017-11-27 15:19:23 +00:00