mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-29 14:22:13 +01:00
Merge pull request #4333 from dgarske/evp_devid
EVP key support for heap hint and crypto callbacks
This commit is contained in:
@@ -5280,7 +5280,7 @@ int wc_ecc_sign_hash(const byte* in, word32 inlen, byte* out, word32 *outlen,
|
||||
#endif
|
||||
|
||||
if (rng == NULL) {
|
||||
WOLFSSL_MSG("rng was NULL");
|
||||
WOLFSSL_MSG("ECC sign RNG missing");
|
||||
return ECC_BAD_ARG_E;
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user