Merge pull request #4842 from SparkiDev/sha3_arm_fixup

ARMASM, SHA-3: fixup when not using crypto instructions
This commit is contained in:
David Garske 2022-02-09 10:20:46 -08:00 committed by GitHub
commit cba262440a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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