Skip to content

test: add wycheproof tests#1517

Open
tob-scott-a wants to merge 2 commits intojedisct1:masterfrom
tob-scott-a:wycheproof
Open

test: add wycheproof tests#1517
tob-scott-a wants to merge 2 commits intojedisct1:masterfrom
tob-scott-a:wycheproof

Conversation

@tob-scott-a
Copy link
Contributor

This includes a Python script to fetch the latest test vectors from https://github.com/C2SP/wycheproof and update the header files in test/wycheproof/vectors, as well as a dedicated GitHub Actions workflow to run these tests in CI.

@jedisct1
Copy link
Owner

jedisct1 commented Mar 7, 2026

Given what happened after Wycheproof's author got fired from Google, I'm wondering if this is not an opportunity to adopt Rooterberg instead.

As a bonus, it has test vectors for AEGIS with 256-bit tags, and it generally much cleaner and well organized than Wycheproof. This is also an opportunity to give feedback and contribute to it.

@tob-scott-a
Copy link
Contributor Author

I'm not sure what you're referring to, but Wycheproof is now a C2SP project, not a Google one.

@jedisct1
Copy link
Owner

The repository was eventually transferred, but as far as I know, Daniel, who created and maintained the project, lost access to it in the process.

Code from the original repository was deleted, and he never regained access to the tooling he had written to generate the test vectors.

He tentatively reached out to various parties involved, but received very few responses to his questions and was effectively prevented from continuing to contribute to his own project.

Setting aside the surrounding controversy, and with the hope that both projects will eventually merge, Rooterberg is technically cleaner, and IMHO a better fit for libsodium.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants