forked from wolfSSL/wolfssl
Merge pull request #216 from aburks/IS-215-SignatureUsesOldRNG
Issue #215: Signature module uses old RNG
This commit is contained in:
@@ -175,7 +175,7 @@ int wc_SignatureGenerate(
|
|||||||
enum wc_HashType hash_type, enum wc_SignatureType sig_type,
|
enum wc_HashType hash_type, enum wc_SignatureType sig_type,
|
||||||
const byte* data, word32 data_len,
|
const byte* data, word32 data_len,
|
||||||
byte* sig, word32 *sig_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;
|
int ret, hash_len;
|
||||||
byte *hash_data = NULL;
|
byte *hash_data = NULL;
|
||||||
|
@@ -54,7 +54,7 @@ WOLFSSL_API int wc_SignatureGenerate(
|
|||||||
const byte* data, word32 data_len,
|
const byte* data, word32 data_len,
|
||||||
byte* sig, word32 *sig_len,
|
byte* sig, word32 *sig_len,
|
||||||
const void* key, word32 key_len,
|
const void* key, word32 key_len,
|
||||||
RNG* rng);
|
WC_RNG* rng);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* extern "C" */
|
} /* extern "C" */
|
||||||
|
Reference in New Issue
Block a user