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

Don't generate test cases for HMAC without HMAC #9573

Open
gilles-peskine-arm opened this issue Sep 17, 2024 · 0 comments
Open

Don't generate test cases for HMAC without HMAC #9573

gilles-peskine-arm opened this issue Sep 17, 2024 · 0 comments
Labels
component-test Test framework and CI scripts enhancement size-xs Estimated task size: extra small (a few hours at most)

Comments

@gilles-peskine-arm
Copy link
Contributor

generate_psa_tests.py generates some test cases that depend on PSA_WANT_ALG_HMAC disabled but PSA_WANT_KEY_TYPE_HMAC enabled. This is a silly configuration that we don't test.

Goals of this task:

  • Don't generate such test cases.
  • Remove the exception from analyze_outcomes.py
  • Ensure that crypto_adjust_*.h auto-enables PSA_WANT_ALG_HMAC and PSA_WANT_KEY_TYPE_HMAC when the other is enabled.
@gilles-peskine-arm gilles-peskine-arm added enhancement component-test Test framework and CI scripts size-xs Estimated task size: extra small (a few hours at most) labels Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component-test Test framework and CI scripts enhancement size-xs Estimated task size: extra small (a few hours at most)
Projects
None yet
Development

No branches or pull requests

1 participant