Added new EVP API for creating a private key for use with crypto callbacks. Improvements to heap hint and devId with EVP layer.

This commit is contained in:
David Garske
2021-08-23 17:09:13 -07:00
parent 196e092023
commit b8263f44f7
6 changed files with 158 additions and 57 deletions

View File

@@ -2904,7 +2904,7 @@ int wolfSSL_EVP_DigestSignFinal(WOLFSSL_EVP_MD_CTX *ctx, unsigned char *sig,
if (ctx == NULL || siglen == NULL)
return WOLFSSL_FAILURE;
/* Return the maximum size of the signaure when sig is NULL. */
/* Return the maximum size of the signature when sig is NULL. */
if (ctx->isHMAC) {
hashLen = wolfssl_mac_len(ctx->hash.hmac.macType);