Merge pull request #4842 from SparkiDev/sha3_arm_fixup
ARMASM, SHA-3: fixup when not using crypto instructions
This commit is contained in:
commit
cba262440a
@ -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.
|
||||
*
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user