ARMASM, SHA-3: fixup when not using crypto instructions

This commit is contained in:
Sean Parkinson
2022-02-09 09:36:00 +10:00
parent 49defbd2cc
commit b436262cdf
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@
#endif
#ifndef WOLFSSL_ARMASM
#if !defined(WOLFSSL_ARMASM) || !defined(WOLFSSL_ARMASM_CRYPTO_SHA3)
#ifdef WOLFSSL_SHA3_SMALL
/* Rotate a 64-bit value left.
*

View File

@ -128,7 +128,7 @@ struct wc_Sha3 {
typedef wc_Sha3 wc_Shake;
#endif
#ifdef WOLFSSL_ARMASM
#if defined(WOLFSSL_ARMASM) && defined(WOLFSSL_ARMASM_CRYPTO_SHA3)
WOLFSSL_LOCAL void BlockSha3(word64 *s);
#endif