Add types for the RNG seed callback and the OS_Seed.

This commit is contained in:
John Safranek
2021-03-25 09:54:27 -07:00
parent dad73837f4
commit 5a05fea772

View File

@ -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