File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3086,12 +3086,6 @@ extern void uITRON4_free(void *p) ;
30863086 #define OPENSSL_EXTRA_X509_SMALL
30873087#endif /* OPENSSL_EXTRA */
30883088
3089- /* compatibility for EVP_CipherUpdate with AES-GCM */
3090- #if defined(OPENSSL_EXTRA ) || defined(OPENSSL_ALL )
3091- #undef WOLFSSL_AESGCM_STREAM
3092- #define WOLFSSL_AESGCM_STREAM
3093- #endif
3094-
30953089/* support for converting DER to PEM */
30963090#if (defined(WOLFSSL_KEY_GEN ) && !defined(WOLFSSL_NO_DER_TO_PEM )) || \
30973091 defined(WOLFSSL_CERT_GEN ) || defined(OPENSSL_EXTRA )
Original file line number Diff line number Diff line change @@ -179,9 +179,14 @@ struct wc_Sha256 {
179179#elif defined(WOLFSSL_HAVE_PSA ) && !defined(WOLFSSL_PSA_NO_HASH )
180180 psa_hash_operation_t psa_ctx ;
181181#else
182+ #ifdef WC_64BIT_CPU
182183 /* alignment on digest and buffer speeds up ARMv8 crypto operations */
183184 ALIGN16 word32 digest [WC_SHA256_DIGEST_SIZE / sizeof (word32 )];
184185 ALIGN16 word32 buffer [WC_SHA256_BLOCK_SIZE / sizeof (word32 )];
186+ #else
187+ word32 digest [WC_SHA256_DIGEST_SIZE / sizeof (word32 )];
188+ word32 buffer [WC_SHA256_BLOCK_SIZE / sizeof (word32 )];
189+ #endif
185190 word32 buffLen ; /* in bytes */
186191 word32 loLen ; /* length in bytes */
187192 word32 hiLen ; /* length in bytes */
You can’t perform that action at this time.
0 commit comments