From 5a05fea772718e7c9dd8488fe7b43f548d2604fc 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 f55312c12..58350be2a 100644 --- a/wolfssl/wolfcrypt/asn_public.h +++ b/wolfssl/wolfcrypt/asn_public.h @@ -56,6 +56,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