forked from wolfSSL/wolfssl
Add types for the RNG seed callback and the OS_Seed.
This commit is contained in:
@ -56,6 +56,10 @@ This library defines the interface APIs for X509 certificates.
|
|||||||
#endif
|
#endif
|
||||||
#ifndef WC_RNG_TYPE_DEFINED
|
#ifndef WC_RNG_TYPE_DEFINED
|
||||||
typedef struct WC_RNG WC_RNG;
|
typedef struct WC_RNG WC_RNG;
|
||||||
|
#ifdef WC_RNG_SEED_CB
|
||||||
|
typedef struct OS_Seed OS_Seed;
|
||||||
|
typedef int (*wc_RngSeed_Cb)(OS_Seed* os, byte* seed, word32 sz);
|
||||||
|
#endif
|
||||||
#define WC_RNG_TYPE_DEFINED
|
#define WC_RNG_TYPE_DEFINED
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user