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

Generate unit tests for modp methods #5944

Open
gilles-peskine-arm opened this issue Jun 16, 2022 · 0 comments
Open

Generate unit tests for modp methods #5944

gilles-peskine-arm opened this issue Jun 16, 2022 · 0 comments
Labels
component-crypto Crypto primitives and low-level interfaces enhancement size-m Estimated task size: medium (~1w)

Comments

@gilles-peskine-arm
Copy link
Contributor

gilles-peskine-arm commented Jun 16, 2022

Use generate_bignum_tests.py to generate unit tests for the modp methods defined in ecp_curves.c, exploring both nominal cases and edge cases (e.g. 0, P, number with fewer/more limbs, …).

These are internal functions, so they do not need to detect invalid arguments. Thus no negative tests are expected.

Prerequisite: #5943, #5921

@gilles-peskine-arm gilles-peskine-arm added enhancement component-crypto Crypto primitives and low-level interfaces size-m Estimated task size: medium (~1w) labels Jun 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component-crypto Crypto primitives and low-level interfaces enhancement size-m Estimated task size: medium (~1w)
Projects
None yet
Development

No branches or pull requests

1 participant