Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add 100+ modexp test vectors from boringssl #1604

Merged
merged 1 commit into from
Sep 7, 2023

Conversation

spoonincode
Copy link
Member

Adds ~120 tests for our fc::modexp() impl (used by mod_exp host function) from BoringSSL. Some tests from BoringSSL could not be brought over since they included negative numbers which is not supported in our mod_exp call.

The purpose of these tests is to give a little more confidence we haven't introduced a change in behavior when changing the underlying modexp() impl. Work on #1277

@spoonincode spoonincode merged commit 061e79d into main Sep 7, 2023
@spoonincode spoonincode deleted the modexp_boringssl_test_vectors branch September 7, 2023 14:21
@spoonincode spoonincode linked an issue Sep 7, 2023 that may be closed by this pull request
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.

Migrate mod_exp to BoringSSL, removing GMP requirement
3 participants