Vincent Hanquez
4b4a641970
cryptonite-0.29
2021-05-08 23:00:34 +08:00
Vincent Hanquez
cf89276b5c
Merge pull request #312 from ocheron/eddsa-gen
...
Generic EdDSA implementation
2021-04-14 23:17:34 +08:00
Vincent Hanquez
955f94b784
release 0.28
2021-01-27 10:48:00 +08:00
Olivier Chéron
caec601cd1
Add finalize_prefix functions
2020-06-26 07:16:30 +02:00
Vincent Hanquez
0254f16e83
release 0.27
2020-06-21 12:07:25 +08:00
Olivier Chéron
f84f7e3009
Enable flag by default
2020-03-15 15:39:56 +01:00
Olivier Chéron
0cf0d076ab
Add flag use_target_attributes
2020-03-14 08:44:44 +01:00
Olivier Chéron
f5706959a4
AES-NI and PCLMUL with per-function target compiler options
2020-03-14 08:43:44 +01:00
Olivier Chéron
dae01d056d
AES-NI with per-file target compiler options
2020-03-14 08:09:12 +01:00
Olivier Chéron
b9e1e75a10
Fix support_sse on i386 architecture
...
On i386 compilation failed with support_sse enabled and support_aesni
disabled. This enables the minimum required instruction set, guarded
with an architecture condition.
2020-03-11 19:15:32 +01:00
Olivier Chéron
b01f610aa2
Add and use Builder module
...
Avoids intermediate allocations and conversions when concatenating
byte arrays of different types.
2020-02-24 06:54:23 +01:00
Olivier Chéron
977c72cac9
Test EdDSA with both SHA-2 and BLAKE2
2020-02-24 06:54:23 +01:00
Olivier Chéron
6075b698e1
Generic EdDSA implementation
2020-02-24 06:54:23 +01:00
Olivier Chéron
4b9584dbe4
Use lts-15 in CI and bump versions
2020-02-24 06:53:19 +01:00
Olivier Chéron
b08ce5e3ae
Add 64-bit implementation for p256
2020-01-12 18:33:32 +01:00
Olivier Chéron
15327ecd4f
ECDSA with a type class
2019-11-11 17:46:16 +01:00
Olivier Chéron
29f0fd1b7a
Test AES-GCM-SIV
...
Includes the test vectors from RFC 8452 and QuickCheck properties with
encryption-decryption round trip.
2019-08-25 16:38:03 +02:00
Olivier Chéron
908f979d44
Add AES-GCM-SIV
2019-08-25 16:38:01 +02:00
tom-audm
71184beb15
Fix typo ("strive" -> "strives")
2019-07-11 16:36:27 -04:00
Olivier Chéron
91c87deae1
Add Crypto.System.CPU
2019-06-15 09:28:02 +02:00
Vincent Hanquez
7596e2959d
release 0.26
2019-05-21 08:49:16 +01:00
Olivier Chéron
5b4845dd0e
Use GHC 8.6.5 for CI and bump versions
2019-05-16 06:55:01 +02:00
Olivier Chéron
393aeac8cd
Test LE serialization
2019-05-16 06:33:35 +02:00
Olivier Chéron
6e1b6fdb90
Little-endian integer serialization
2019-05-16 06:33:35 +02:00
Olivier Chéron
1551436111
Add KMAC
2019-04-28 09:14:25 +02:00
Lars Petersen
2a26202a32
Add implementation of bcrypt_pbkdf
2019-03-14 21:30:29 +01:00
Olivier Chéron
0ce2e5f325
Remove -fno-warn-unused-imports
...
Changing the build so that we don't diverge again after cleanup done
in #267 .
2019-03-09 09:08:53 +01:00
Olivier Chéron
3c41966b9a
Add module Crypto.Number.Nat
...
This new module exposes type constraints required by some hash
algorithms and provides functions to check whether the constraints are
satisfied with runtime values.
Resolves #256 .
2019-02-28 07:07:48 +01:00
Olivier Chéron
eccbc11824
Remove Crypto.Internal.Proxy
...
Data.Proxy can be used instead now that GHC >= 8.0. In Data.Proxy the
Proxy type is poly-kinded.
2019-02-28 07:07:48 +01:00
Carlos Rodriguez
ddfdbbd4be
Removed unnecessary reference to random.
2018-12-18 20:19:14 +01:00
Carlos Rodriguez
314a9caba7
Merge branch 'master' of https://github.com/haskell-crypto/cryptonite
...
# Conflicts:
# cryptonite.cabal
# tests/KAT_PubKey.hs
2018-11-03 20:23:25 +01:00
Olivier Chéron
01faa66fd4
Add tests for RSA signature and verification
...
This includes tests for SignatureTooLong edge cases.
2018-10-29 20:43:07 +01:00
Olivier Chéron
d4bd9287f2
Test with GHC 8.4.4
2018-10-28 17:52:36 +01:00
Olivier Chéron
ee9c485a4d
Update tested-with
2018-10-26 18:31:29 +02:00
Carlos Rodriguez
c285d7f527
Added OAEP scheme and created test vectors for Rabin cryptosystem.
2018-10-06 16:53:22 +02:00
Carlos Rodriguez
aa745ba250
Replaced tab with spaces.
2018-09-06 20:48:15 +02:00
Carlos Rodriguez
e7b3abebf8
Implemented Rabin cryptosystem and some of its variations (including Rabin-Williams).
2018-09-06 20:27:32 +02:00
Olivier Chéron
4622e5fc8e
Fix ECC failures on arm64
...
Resolves #234 .
2018-05-01 08:23:08 +02:00
Olivier Chéron
1fa6c35c35
Update tested-with
2018-04-28 08:08:43 +02:00
Vincent Hanquez
467ed66c16
Drop GHC 7.8 and GHC 7.10 support, refer to pkg-guidelines
2018-03-12 08:35:49 +00:00
Vincent Hanquez
ec8366bbd2
release 0.25
2018-02-06 15:35:32 +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
d291f9f5bb
move to gauge
2018-02-04 21:33:36 +00:00
Baojun Wang
e01ef4386e
Add AESCCM test vectors for testing
2018-02-03 09:34:57 +01: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
45723e3542
Rename to Edwards25519
2017-12-10 21:14:47 +01: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