mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 02:37:28 +02:00
Fix issue with error: conflicting types for 'BlockSha3'.
``` [CC-AARCH64] lib/wolfssl/wolfcrypt/src/port/arm/armv8-sha3-asm_c.o lib/wolfssl/wolfcrypt/src/port/arm/armv8-sha3-asm_c.c:212:6: error: conflicting types for 'BlockSha3'; have 'void(long unsigned int *)' 212 | void BlockSha3(unsigned long* state) | ^~~~~~~~~ In file included from lib/wolfssl/wolfcrypt/src/port/arm/armv8-sha3-asm_c.c:35: lib/wolfssl/wolfssl/wolfcrypt/sha3.h:224:20: note: previous declaration of 'BlockSha3' with type 'void(word64 *)' {aka 'void(long long unsigned int *)'} 224 | WOLFSSL_LOCAL void BlockSha3(word64 *s); | ^~~~~~~~~ ```
This commit is contained in:
@ -63,7 +63,7 @@ static const uint64_t L_SHA3_transform_crypto_r[] = {
|
||||
0x8000000080008008UL,
|
||||
};
|
||||
|
||||
void BlockSha3(unsigned long* state)
|
||||
void BlockSha3(word64* state)
|
||||
{
|
||||
__asm__ __volatile__ (
|
||||
#ifdef __APPLE__
|
||||
@ -209,7 +209,7 @@ static const uint64_t L_SHA3_transform_base_r[] = {
|
||||
0x8000000080008008UL,
|
||||
};
|
||||
|
||||
void BlockSha3(unsigned long* state)
|
||||
void BlockSha3(word64* state)
|
||||
{
|
||||
__asm__ __volatile__ (
|
||||
"stp x29, x30, [sp, #-64]!\n\t"
|
||||
|
Reference in New Issue
Block a user