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
53a1bf7ebf
Report info about runtime environment in the test suite
2019-06-15 09:28:02 +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
45723e3542
Rename to Edwards25519
2017-12-10 21:14:47 +01:00
Olivier Chéron
416fc649e1
Test Ed25519 arithmetic primitives
2017-11-20 19:28:16 +01:00
Olivier Chéron
bb2363eea7
Add CAST5 aka CAST-128
...
Haskell translation of RFC 2144.
2017-09-17 11:28:56 +02:00
Vincent Hanquez
1bcfa2e087
Merge pull request #167 from ocheron/eddsa-minimal
...
Improve Curve448 and add Ed448
2017-06-19 13:49:07 +01:00
Olivier Chéron
b0d207c77b
Test point encoding/decoding with Crypto.ECC
2017-06-10 14:33:37 +02:00
Olivier Chéron
6805ddd4f7
Add support for Ed448
...
This replaces the Diffie-Hellman API that was previously exported.
2017-06-04 19:25:19 +02:00
Sam Protas
7eedbaa112
Initial implementaiton with passing tests
2017-04-02 18:34:10 -04: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
Vincent Hanquez
e76bbaa8a7
Merge pull request #63 from tekul/otp
...
[For Review] HOTP and TOTP implementation
2017-01-29 20:09:29 +00:00
Olivier Chéron
6d4a2bb707
Rename Ed448 to Curve448
...
This makes the API uniform for both D-H functions, avoids
confusion and leaves the name Ed448 available for EdDSA.
2017-01-19 20:26:25 +01:00
Brandon Hamilton
548cbb6f79
Implement the XSalsa20 stream cipher
2016-10-09 15:25:31 +02:00
Bodigrim
e80eaa56f3
Tests for Crypto.Number.F2m
2016-07-24 10:58:50 +02:00
Kei Hibino
f99827c05d
Drop unused imports.
2016-04-07 15:33:00 +09:00
Kei Hibino
b704f2c02a
Add test-suite of CMAC.
2016-04-01 19:26:16 +09:00
John Galt
a04b56d2a3
Added Ed448-Goldilocks support
2016-02-09 01:22:55 -07:00
Vincent Hanquez
43890b1175
Add support for HKDF (RFC 5869)
2015-12-28 14:32:07 +00:00
Luke Taylor
476f7c10d5
One-time password (OTP) implementation
...
Initial commit
- Implementation of HOTP algorithm as defined in RFC 4226
- Tests using values from the spec
2015-12-20 23:04:14 +00:00
Luke Taylor
a888501bb8
Add bcrypt tests
...
Mostly copied from openwall source, leaving out the unsupported 2x
tests and special bug-related tests for passwords containing 0xFF bytes.
2015-08-26 10:33:36 +01:00
Vincent Hanquez
cd8f70e062
[Padding] add PKCS5/PKCS7 padding/unpadding methods
2015-08-18 12:03:05 +01:00
Vincent Hanquez
ce849fb0d2
[ChaChaPoly1305] add implementation and simple KAT test
2015-07-19 17:53:56 +01:00
Vincent Hanquez
a4baf9383b
[test] add random number generation tests
2015-05-23 11:58:57 +01:00
Vincent Hanquez
80b379c98d
cleanup tests, and improve testing of hash algorithms
2015-05-20 07:14:05 +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
Vincent Hanquez
9ae9e38ce2
move to memory stuff
2015-05-09 14:23:32 +01:00
Vincent Hanquez
e82c0524e4
[tests] rename Hash module
2015-05-06 11:48:08 +01:00
Vincent Hanquez
b28109ecb4
[tests] re-enable poly1305
2015-05-02 15:43:49 +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
Vincent Hanquez
0aaa6a9e9a
[Ed25519] Add haskell bindings and tests
2015-04-19 09:24:37 +01:00
Vincent Hanquez
03fab98cd2
[AES] add KAT and properties tests for AES128,192,256
2015-04-18 07:33:34 +01:00
Vincent Hanquez
bc306afc1b
[DES] fix serialization
2015-04-09 17:22:57 +01:00
Vincent Hanquez
cf47754776
use more Imports
2015-04-08 22:48:46 +01:00
Vincent Hanquez
386e0e170f
fixup cipher tests
2015-04-08 20:44:20 +01:00
Vincent Hanquez
6eae9b0557
fix warnings
2015-04-05 12:19:26 +01:00
Vincent Hanquez
599024e581
add public key tests
2015-04-03 07:33:16 +01:00
Vincent Hanquez
ba565ce6f0
add AFIS tests
2015-04-03 07:28:16 +01:00
Vincent Hanquez
033b9ced81
add support for curve 25519
2015-01-27 06:25:41 +00:00
Vincent Hanquez
3c3910cb34
add blowfish and scrypt tests
2014-07-23 06:06:30 -07:00
Vincent Hanquez
f2bfecfa3e
add RC4
2014-07-21 10:58:42 +01:00
Vincent Hanquez
1c964bb9f7
Merge branch 'legacy'
2014-07-18 15:40:57 +01:00
Vincent Hanquez
a0ce598e37
add PBKDF2
2014-07-18 15:26:01 +01:00
Vincent Hanquez
8779ba8927
add test vectors to test suite.
2014-07-18 06:04:22 +01:00
Vincent Hanquez
3cfac3f34e
add instances of IsString for ghc 7.4.x
2014-07-15 15:26:35 +01:00
Vincent Hanquez
5e23ef92a5
add HMAC
2014-07-09 13:15:49 +01:00