-
Notifications
You must be signed in to change notification settings - Fork 101
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
Add compile options to libspdm_gen_x509_csr #2825
Comments
@rw8896 is this to save on code size? |
Not really. It caused compiler errors as RSA was not enabled in my mbedtls configuration. After looking into this function further, I think it doesn't allow the caller to specify the pathLen in basic constraints. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
libspdm/os_stub/cryptlib_mbedtls/pk/x509.c
Line 1993 in b327ead
libspdm/os_stub/cryptlib_openssl/pk/x509.c
Line 2495 in b327ead
The implementation could use LIBSPDM_ENABLE_CAPABILITY_CSR_CAP to wrap the whole function.
And it should add crypto options (e.g. LIBSPDM_RSA_SSA_2048_SUPPORT) to wrap around the crypto operation code.
The text was updated successfully, but these errors were encountered: