Fix test_ecx.c build if no ED448 in WolfSSL#171
Conversation
|
Can one of the admins verify this patch? |
|
Hello Adrian, thanks for posting this. I see a different error when building with Can you let us know how you are building wolfProvider in this case? |
Hello @padelsbach, I am building wolfProvider with the following flags: I also have WolfSSL version 5.6.4 (provided by you, for FIPS build), which is built with: all this is built as a part of a bigger Yocto project. And your warning did not occur when I was building it with those settings. The error that did occur (without the fix) was: |
|
I am also now inspecting |
… if those are enabled
|
@padelsbach I have added new changes that better handle definitions of ED25519 and ED448 specific functions in |
|
I'm not able to reproduce the issue, perhaps mostly due to the fips build having several issues on aarch64. But the change seems good to me. Do you have a contributor agreement in place with WolfSSL? |
|
Okay to test. Approved contributor agreement on file. Thank you @adrianjarc |
|
@padelsbach Yes I have a contributor agreement in place with WolfSSL. I have also previously already contributed a small addition to WolfProvider: #34 |
If WolfSSL is built without
--enable-ed448flag, the build of wolfProvider fails intest/test_ecx.cfile because of undefinedED448_KEY_SIZEparameter.This fix checks if ED25519 and ED448 are enabled and sets sizes for
readback_osslandreadback_wolfaccordingly.