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

20240719-test-hpke-PRIVATE_KEY_UNLOCK #7772

Merged
merged 2 commits into from
Jul 20, 2024

Conversation

douzzer
Copy link
Contributor

@douzzer douzzer commented Jul 19, 2024

wolfcrypt/test/test.c: add missing PRIVATE_KEY_UNLOCK() for hpke_test().

wolfssl/wolfcrypt/error-crypt.h: add NO_STDIO_FILESYSTEM definition for WC_ERR_TRACE().

tested with wolfssl-multi-test.sh ... linuxkm-fips-dev-static-hash-intelasm-LKCAPI-insmod-crypto-fuzzer

@@ -1767,10 +1767,12 @@ options: [-s max_relative_stack_bytes] [-m max_relative_heap_memory_bytes]\n\
#endif

#if defined(HAVE_HPKE) && defined(HAVE_ECC) && defined(HAVE_AESGCM)
PRIVATE_KEY_UNLOCK();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this the right place to put the unlock? Why not on the specific key use in HPKE?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's the code pattern for all the other tests that need it -- just following the pattern.

@dgarske dgarske merged commit a9ff773 into wolfSSL:master Jul 20, 2024
121 checks passed
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.

4 participants