Contact Details
[email protected]
Version
5.8.2
Description
I'm using wolfSSL in combination with wolfSM and computing an SM3 HMAC fails because wolfSSL_HmacCopy doesn't consider SM3. See relevant code here.
Note that wolfSSL_EVP_DigestInit does consider SM3. So I think this is a bug.
Reproduction steps
I'm attaching a simple program, built statically, where you can reproduce the exact behavior.
hmac_sm3_wolfssl.zip
Relevant log output
No relevant output. `EVP_DigestSignFinal` Simply fails.