File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3232static void dump_hex (const char * what , const uint8_t * buf , size_t len );
3333static void print_usage (void );
3434#if !defined WOLFSSL_XMSS_VERIFY_ONLY
35- static int write_key_file (const byte * priv , word32 privSz , void * context );
36- static int read_key_file (byte * priv , word32 privSz , void * context );
3735static int do_xmss_example (const char * params , size_t sigs_to_do );
36+ static enum wc_XmssRc write_key_file (const byte * priv , word32 privSz ,
37+ void * context );
38+ static enum wc_XmssRc read_key_file (byte * priv , word32 privSz , void * context );
39+
3840
3941static WC_RNG rng ;
4042static byte * read_buf = NULL ;
@@ -85,7 +87,7 @@ print_usage(void)
8587 exit (EXIT_FAILURE );
8688}
8789
88- static int
90+ enum wc_XmssRc
8991write_key_file (const byte * priv ,
9092 word32 privSz ,
9193 void * context )
@@ -152,7 +154,7 @@ write_key_file(const byte * priv,
152154 return WC_XMSS_RC_SAVED_TO_NV_MEMORY ;
153155}
154156
155- static int
157+ enum wc_XmssRc
156158read_key_file (byte * priv ,
157159 word32 privSz ,
158160 void * context )
You can’t perform that action at this time.
0 commit comments