Issue #215: Signature module uses old RNG. Use the new WC_RNG construct instead in order to prevent conflicts with board support packages.

This commit is contained in:
Andrew Burks
2015-12-10 17:04:48 -08:00
parent 4f0c2177b2
commit 03a643cc35
2 changed files with 2 additions and 2 deletions

View File

@@ -175,7 +175,7 @@ int wc_SignatureGenerate(
enum wc_HashType hash_type, enum wc_SignatureType sig_type,
const byte* data, word32 data_len,
byte* sig, word32 *sig_len,
const void* key, word32 key_len, RNG* rng)
const void* key, word32 key_len, WC_RNG* rng)
{
int ret, hash_len;
byte *hash_data = NULL;

View File

@@ -54,7 +54,7 @@ WOLFSSL_API int wc_SignatureGenerate(
const byte* data, word32 data_len,
byte* sig, word32 *sig_len,
const void* key, word32 key_len,
RNG* rng);
WC_RNG* rng);
#ifdef __cplusplus
} /* extern "C" */