From 7a2b661c0c4529ca4ef75d69934b1cf68a01ee48 Mon Sep 17 00:00:00 2001 From: John Safranek Date: Thu, 25 Mar 2021 09:54:27 -0700 Subject: [PATCH] Add types for the RNG seed callback and the OS_Seed. --- wolfssl/wolfcrypt/asn_public.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wolfssl/wolfcrypt/asn_public.h b/wolfssl/wolfcrypt/asn_public.h index a3ac0e108..a83f645d1 100644 --- a/wolfssl/wolfcrypt/asn_public.h +++ b/wolfssl/wolfcrypt/asn_public.h @@ -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