Fix for trying to use a custom wolfTPM CSR sigType. The csr->req.sigType was being initialized to CTC_SHA256wRSA, and not allowing override.
Add wrapper support for setting key usage (not just extended key usage).
Fix support for ECC 384-bit only support. Tested with: ./configure --enable-wolftpm CFLAGS="-DECC_USER_CURVES -DNO_ECC256 -DHAVE_ECC384" --disable-examples --disable-crypttests && make
sigType
. Thecsr->req.sigType
was being initialized to CTC_SHA256wRSA, and not allowing override../configure --enable-wolftpm CFLAGS="-DECC_USER_CURVES -DNO_ECC256 -DHAVE_ECC384" --disable-examples --disable-crypttests && make