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 ecp_modp #5945

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

Generate unit tests for ecp_modp #5945

gilles-peskine-arm opened this issue Jun 16, 2022 · 0 comments
Labels
component-crypto Crypto primitives and low-level interfaces enhancement size-s Estimated task size: small (~2d)

Comments

@gilles-peskine-arm
Copy link
Contributor

Use generate_bignum_tests.py to generate unit tests for the ecp_modp function, exploring both nominal cases and edge cases (e.g. 0, P, number with fewer/more limbs, …).

This is an internal function, so it does 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-s Estimated task size: small (~2d) 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-s Estimated task size: small (~2d)
Projects
None yet
Development

No branches or pull requests

1 participant