Skip to content

Conversation

bremoran
Copy link

@bremoran bremoran commented Oct 9, 2025

Based on #1220 and on pq-code-package/mldsa-native#462

This PR adds initial support for x4 keccak on armv8.1-m targets.

willieyz and others added 8 commits October 8, 2025 14:34
- When EXTRA_MAKEFILE is passed, it will be included at the start of
  the main Makefile.
  This can be used to configure builds requiring a large number of
  flags (e.g., baremetal builds).

- `EXTRA_SOURCES` can be passed to compile and link additional sources,
   e.g., platform files for baremetal builds.

Signed-off-by: willieyz <[email protected]>
- This commit remove `additional_packages` to get down to max 10 Github
  limits the number of inputs for a workflow_dispatch event to 10.

- We currently have 11 for bench_ec2_any.yml. This removes the
  additional_packages inputs that is never used in our CI.

Signed-off-by: willieyz <[email protected]>
`run_acvp` currently does not respect the `EXEC_WRAPPER`
preventing running ACVP tests, e.g., on baremetal targets.

Signed-off-by: willieyz <[email protected]>
- This commits adds a new shell: arm-embedded for baremetal targets.

- It includes arm-none-eabi-gcc, qemu, and platform support files from
pqmx (currently limited to the MPS3 AN547 Cortex-M55).

Signed-off-by: willieyz <[email protected]>
- This adds support for testing on the MPS3 AN547 platform in qemu.
- Tests can be excuted using
`EXTRA_MAKEFILE=test/baremetal/platform/m55-an547/platform.mk --no-auto tests all`

- Platform sources (hal, ld script, semihosting) are taken from pqmx.

- `baremetal/platform/m55-an547/platform.mk` sets the required flags
  and other build configuration.

- `test/baremetal/platform/m55-an547/exec_wrapper.py` handles passing
  inputs to the tests (e.g., required for the ACVP tests).

Signed-off-by: willieyz <[email protected]>
- Adds CI to exercise the MPS3 AN547 (Cortex-M55) baremetal builds.
- It includes functional tests, KAT tests, and ACVP tests.

Signed-off-by: willieyz <[email protected]>
…ported from mldsa-native

Signed-off-by: Brendan Moran <[email protected]>
@bremoran bremoran requested a review from a team as a code owner October 9, 2025 14:26
@hanno-becker hanno-becker changed the title Armv8.1 m native Add FIPS202 backend for Armv8.1-M+MVE Oct 10, 2025
@hanno-becker hanno-becker added enhancement New feature or request MVE Relating to Armv8.1-M+MVE architecture labels Oct 10, 2025
Signed-off-by: Brendan Moran <[email protected]>
Signed-off-by: Brendan Moran <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request MVE Relating to Armv8.1-M+MVE architecture

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants