131 Commits
Author SHA1 Message Date
Frank Denis c5bd9080bc Add conftest files to .gitignore 2026-04-08 09:41:30 +02:00
Frank Denis 4a6a7a010d Add test vectors from Rooterberg and Wycheproof test suites
Closes #1517
2026-04-08 12:00:28 +02:00
Frank Denis 6684febd90 Add a couple more tests 2026-03-15 14:17:11 +01:00
Frank Denis 51d4fb7637 Add a couple more tests 2026-03-15 12:48:47 +01:00
Frank Denis 06f2ca6068 Add some additional tests for HKDF and Salsa20/12 2026-03-15 12:47:48 +01:00
Frank Denis 5224134ce4 Add .swival to .gitignore 2026-02-26 00:02:29 +01:00
Frank Denis 1cde0d85d9 Add tests for crypto_core_ristretto255_from_string_ro
Using test vectors from RFC 9497. Suggested by @wmcelderry, thanks!

Fixes #1515
2026-02-20 12:24:47 +01:00
Frank Denis 557dc9e51d Add a high-level crypto_kem API mapping to xwing 2026-01-15 23:29:59 +01:00
Frank Denis bd6a8af323 Add X-Wing 2026-01-15 23:26:59 +01:00
Frank Denis a6038f815c Add support for SHA3 2026-01-15 23:03:59 +01:00
Frank Denis ecd927bf3e Add keccak tests to .gitignore 2026-01-07 00:01:56 +01:00
Frank Denis 1b95172b82 Add ML-KEM768 2025-12-09 01:00:51 +01:00
Frank Denis be8e2275ca Add ipcrypt support 2025-12-08 23:08:08 +01:00
Frank Denis 9b161dccfa Sort .gitignore 2025-11-18 12:34:20 +01:00
Frank Denis beec06eb46 Revert "RFC9381 ECVRF implementation (#1188)"
This reverts commit 7978205916.
2024-09-25 21:37:31 +02:00
Frank Denis 65420794cf Add .zig-cache to .gitignore 2024-06-23 13:21:53 +02:00
Iñigo Querejeta AzurmendiandFrank Denis 7978205916 RFC9381 ECVRF implementation (#1188)
* Version 12 of ECVRF

* Incorrect ordering of function inputs

* Identation and notation

* single multiscalar multiplication function

Also changed the style of tests, where the expected output is in vrf.exp rather than in test data (following the style of the hashing).

* declarations inside the if code block

* identation of test_data

* Rename to RFC9381

* Move declarations to top of block

* Check small order over deserialised PK

* Include from_string functions in ed25519_ref10

* Update quirks.h

---------

Co-authored-by: Frank Denis <124872+jedisct1@users.noreply.github.com>
2024-05-25 18:55:14 +02:00
Frank Denis 07ccd8d8ae Revert "Improve Debian package"
This reverts commit a2c75d7f29.
2024-04-02 08:22:57 +02:00
Frank Denis a2c75d7f29 Improve Debian package 2024-04-01 15:01:52 +02:00
Frank Denis 42b4a295fc crypto_sign_verify(): add and match the Zig test vectors 2022-11-26 21:25:47 +01:00
Frank Denis 75bde19055 Revert "Add the shifumi128 ZKP system"
This reverts commit 6efe9ee2b5.
2022-04-02 09:32:22 +02:00
Frank Denis 6efe9ee2b5 Add the shifumi128 ZKP system 2022-03-31 20:04:51 +02:00
Frank Denis 59b869b356 Add preliminary build.zig file 2021-11-10 15:31:32 +01:00
Frank Denis c93662b27c Add AEGIS128L test, regen the ones for AEGIS256, sort 2021-03-15 11:00:18 +01:00
Frank Denis 29f098d237 Revert "Add the BlaBla2000 stream cipher - will eventually become the default"
This reverts commit a31fe2a966.
2020-04-21 13:35:29 +02:00
Frank Denis a31fe2a966 Add the BlaBla2000 stream cipher - will eventually become the default
2000 rounds variant of the BlaBla20 cipher
for Very Post Quantum (VPQ) security.
2020-03-31 21:42:54 +02:00
Frank Denis 0cabff7a0a Move HKDF test to its own file 2020-03-31 17:42:42 +02:00
Frank Denis c8d604e1f1 Add test vectors for the string to curve operation 2020-03-31 13:40:42 +02:00
Adrien Gallouët 019db2bc84 Make room for several secretstream
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2019-09-16 15:38:38 +00:00
Adrien Gallouët 0bf3bb7a22 Fix .gitignore
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2019-09-16 15:29:14 +00:00
Frank Denis a59e1f8b54 aegis256: update MSVC solutions, .gitignore, exported emscripten symbols
and the global list of symbols
2019-09-12 22:10:07 +02:00
Frank Denis 2dd3b91628 Try to rename internal symbols that were visible in static libraries
Fixes #839
2019-06-10 23:08:21 +02:00
Frank Denis 4f5e89fa84 Don't ignore azure-pipelines.yml 2019-05-30 22:13:18 +02:00
Frank Denis 1854820cc3 Ignore azure-pipelines.yml 2019-05-30 16:01:00 +02:00
Frank Denis 075b3fd424 Ignore libsodium-wasm32-wasi and sort .gitignore 2019-04-22 19:45:16 +02:00
Frank Denis db0319fb8e Initial support for ristretto255 2019-02-18 00:56:48 +01:00
Frank Denis 69a5643477 Add chacha20-poly1305 test from Project Wycheproof 2018-09-04 15:44:42 +02:00
Frank Denis cb22446db1 Add aes256gcm tests from project wycheproof 2018-08-30 09:51:28 +02:00
Frank Denis f8377e9818 Add x25519 test vectors from project wycheproof 2018-08-29 15:08:26 +02:00
Ruslan Baratov 93d683395f Remove '*.cmake' pattern from .gitignore 2018-08-07 18:24:27 +03:00
Frank Denis 9d0ddf8f12 Remove *.s from .gitignore 2017-11-19 15:19:29 +01:00
Frank Denis a60d877327 Add a test for crypto_scalarmult_ed25519 2017-11-15 16:57:29 +01:00
Frank Denis 1df2285362 Add a preliminary test for core_ed25519 2017-11-15 01:34:43 +01:00
Frank Denis ce3254dff4 Ignore test/default/*.asm.js 2017-10-04 22:25:08 +02:00
Frank Denis 2f51ed3397 Rename the test/pwhash.c -> test/pwhash_argon2i.c 2017-10-01 11:09:55 +02:00
Frank Denis ee1d5c96d8 Move the codecs tests to their own test file 2017-09-19 22:51:05 +02:00
Frank Denis a7b75a2d7d + simple metamorphic tests for crypto_generichash()
This needs to be extended to other APIs with a streaming interface
2017-09-17 21:41:32 +02:00
Frank Denis 6e8e0a93f9 Add a couple tests for crypto_secretstream_*() 2017-08-16 14:53:54 +02:00
Frank Denis 5d56821d3d More tests, and start testing misuse cases 2017-07-17 23:09:44 +02:00
Frank Denis f586752afe + Argon2id tests 2017-06-28 15:49:49 +02:00