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

[3.1] Additions to modular arithmetic test cases #50

Merged
merged 1 commit into from
Aug 3, 2022

Conversation

arhag
Copy link
Member

@arhag arhag commented Aug 3, 2022

This is part of the effort to add subjective limits to the
mod_exp host function (see eosnetworkfoundation/mandel#361).

Adds a few additional test vectors to existing modexp test case.

Adds a modexp_benchmarking test case which is not actually a test
but rather a way to get measurements on the time it takes to do
modular exponentiation with varying bit sizes to figure out what the
appropriate limit should be for the mod_exp host function.

This is part of the effort to add subjective limits to the
mod_exp host function (see eosnetworkfoundation/mandel#361).

Adds a few additional test vectors to existing modexp test case.

Adds a modexp_benchmarking test case which is not actually a test
but rather a way to get measurements on the time it takes to do
modular exponentiation with varying bit sizes to figure out what the
appropriate limit should be for the mod_exp host function.
@arhag arhag changed the title Additions to modular arithmetic test cases [3.1] Additions to modular arithmetic test cases Aug 3, 2022
@arhag arhag requested a review from larryk85 August 3, 2022 01:29
@arhag arhag merged commit 1289831 into v3.1.x Aug 3, 2022
@arhag arhag deleted the arhag/GH-361-mod-exp-limits-for-3.1 branch August 3, 2022 04:37
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.

1 participant