Skip to content

Commit 8283e45

Browse files
committed
Armv8.1-M: Disable backend by default
The Armv8.1-M + MVE backend is still in active development and has not undergone the same level of audit as the rest of the code. This commit extends the documentation to make this clear. The commit also disables the Armv8.1-M + MVE backend by default, and instead explicitly enables it in the an547 baremetal Makefile. - Port of pq-code-package/mlkem-native@9d2f1c2 Signed-off-by: Matthias J. Kannwischer <matthias@kannwischer.eu>
1 parent 82fca10 commit 8283e45

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ mldsa-native currently offers the following backends:
9494
* Default portable C backend
9595
* 64-bit Arm backend (using Neon)
9696
* 64-bit Intel/AMD backend (using AVX2)
97+
* 32-bit Armv8.1-M backend (using Helium/MVE). This is still experimental and disabled by default.
9798

9899
If you'd like contribute new backends, please reach out!
99100

mldsa/src/fips202/native/auto.h

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@
2020
#include "x86_64/xkcp.h"
2121
#endif
2222

23-
#if defined(MLD_SYS_ARMV81M_MVE)
24-
#include "armv81m/mve.h"
25-
#endif
23+
/* We do not yet include the FIPS202 backend for Armv8.1-M+MVE by default
24+
* as it is still experimental and undergoing review. */
25+
/* #if defined(MLD_SYS_ARMV81M_MVE) */
26+
/* #include "armv81m/mve.h" */
27+
/* #endif */
2628

2729
#endif /* !MLD_FIPS202_NATIVE_AUTO_H */

0 commit comments

Comments
 (0)