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 committed by Daniel Pouzzner
parent 133faea89a
commit 7a2b661c0c

View File

@ -65,6 +65,10 @@ This library defines the interface APIs for X509 certificates.
#endif
#ifndef WC_RNG_TYPE_DEFINED
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
#endif
#ifndef WC_DH_TYPE_DEFINED