Skip to content

Commit

Permalink
Fix for building sources (wildcard *.c). Add macro guard on new files.
Browse files Browse the repository at this point in the history
  • Loading branch information
dgarske committed Nov 1, 2024
1 parent 6b78726 commit f95c4d7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions wolfcrypt/src/port/riscv/riscv-64-sha3.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@
#include <wolfssl/wolfcrypt/settings.h>
#include <wolfssl/wolfcrypt/port/riscv/riscv-64-asm.h>

#ifdef WOLFSSL_RISCV_ASM
#if defined(WOLFSSL_SHA3) && !defined(WOLFSSL_XILINX_CRYPT) && \
!defined(WOLFSSL_AFALG_XILINX_SHA3)
!defined(WOLFSSL_AFALG_XILINX_SHA3)

#if FIPS_VERSION3_GE(2,0,0)
/* set NO_WRAPPERS before headers, use direct internal f()s not wrappers */
Expand Down Expand Up @@ -857,7 +858,6 @@ void BlockSha3(word64* s)
);
}

#endif

#endif

#endif /* WOLFSSL_RISCV_VECTOR */
#endif /* WOLFSSL_SHA3 && !XILINX */
#endif /* WOLFSSL_RISCV_ASM */

0 comments on commit f95c4d7

Please sign in to comment.