This PR adds support for OpenSSL HMAC callers to use -1 as the key length. OpenSSL allows this, and expects engine implementations to use strlen() on the provided key to get the length in this case.
Edge case detected by a customer when running the following OpenSSL command line application call:
This PR also adds HMAC unit tests for -1 cases and updates the README.md with a note about the WOLFENGINE_OPENSSL_INSTALL environment variable for commit tests.
This PR adds support for OpenSSL HMAC callers to use
-1
as the key length. OpenSSL allows this, and expects engine implementations to usestrlen()
on the provided key to get the length in this case.Edge case detected by a customer when running the following OpenSSL command line application call:
This PR also adds HMAC unit tests for
-1
cases and updates theREADME.md
with a note about theWOLFENGINE_OPENSSL_INSTALL
environment variable for commit tests.