File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -151,8 +151,8 @@ struct wc_Sha {
151151 #else
152152 word32 digest [WC_SHA_DIGEST_SIZE / sizeof (word32 )];
153153 #endif
154- #endif
155154 void * heap ;
155+ #endif
156156#ifdef WOLFSSL_PIC32MZ_HASH
157157 hashUpdCache cache ; /* cache for updates */
158158#endif
Original file line number Diff line number Diff line change @@ -194,13 +194,13 @@ struct wc_Sha256 {
194194 word32 buffLen ; /* in bytes */
195195 word32 loLen ; /* length in bytes */
196196 word32 hiLen ; /* length in bytes */
197+ void * heap ;
197198
198199#ifdef WC_C_DYNAMIC_FALLBACK
199200 int sha_method ;
200201#endif
201202
202203#endif
203- void * heap ;
204204#ifdef WOLFSSL_PIC32MZ_HASH
205205 hashUpdCache cache ; /* cache for updates */
206206#endif
Original file line number Diff line number Diff line change @@ -144,7 +144,6 @@ struct wc_Sha512 {
144144 cy_stc_crypto_sha_state_t hash_state ;
145145 cy_en_crypto_sha_mode_t sha_mode ;
146146 cy_stc_crypto_v2_sha512_buffers_t sha_buffers ;
147- void * heap ;
148147#else
149148 word64 digest [WC_SHA512_DIGEST_SIZE / sizeof (word64 )];
150149 word64 buffer [WC_SHA512_BLOCK_SIZE / sizeof (word64 )];
You can’t perform that action at this time.
0 commit comments