Skip to content

Commit

Permalink
Guard usage of FIPS202 assembly by MLKEM_USE_AARCH64_ASM
Browse files Browse the repository at this point in the history
Signed-off-by: Hanno Becker <beckphan@amazon.co.uk>
  • Loading branch information
hanno-becker committed Oct 2, 2024
1 parent 1fc28a3 commit 958350f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fips202/asm/asm.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ void keccak_f1600_x2_v8a_v84a_asm_hybrid(uint64_t *state);
void keccak_f1600_x4_scalar_v8a_asm_hybrid_opt(uint64_t *state);
void keccak_f1600_x4_scalar_v84a_asm_hybrid_opt(uint64_t *state);
void keccak_f1600_x4_scalar_v8a_v84a_asm_hybrid_opt(uint64_t *state);
#endif /* MLKEM_USE_AARCH64_ASM */

/*
* The FIPS202 ASM profile decides which implementation(s) of FIPS202 to use.
Expand Down Expand Up @@ -52,4 +51,6 @@ void keccak_f1600_x4_scalar_v8a_v84a_asm_hybrid_opt(uint64_t *state);

#endif /* !FIPS202_ASM_PROFILE && !FIPS202_ASM_MANUAL */

#endif /* MLKEM_USE_AARCH64_ASM */

#endif /* FIPS202_ASM_H */

0 comments on commit 958350f

Please sign in to comment.