Skip to content

Conversation

@willieyz
Copy link
Contributor

@willieyz willieyz commented Nov 13, 2025

@willieyz willieyz force-pushed the custom-backend branch 3 times, most recently from 7070d33 to 3de7ad4 Compare November 14, 2025 06:20
- This commit add the arithmetic part but skip the arithmetic backend
  (remove `native` folder), since we decide to disable it in
  example: custom_backend.

Signed-off-by: willieyz <[email protected]>
- This commit add a pseudo random number generator, implementing
  randombytes.h(reference from tests/test_only_rng).
- WARNING: The randombytes() implementation used here is for
  TESTING ONLY. You MUST NOT use this implementation outside of testing.

Signed-off-by: willieyz <[email protected]>
@willieyz willieyz force-pushed the custom-backend branch 4 times, most recently from 3cf89c9 to 57c9f4f Compare November 14, 2025 09:01
- This commit add custom backend fips202, we use tiny_sha3 here

Signed-off-by: willieyz <[email protected]>
- This commit add `main.c` and `expected_signatures.h` to custom_backend,
  generate `custom_config.h` from `configs.yml`, also add auto.mk and
  Makefile.
- Add custom_backend to `tests` and `lint` scripts
- Add `Readme.md` to custom_backend, reference from mlkem-native

Signed-off-by: willieyz <[email protected]>
- This commit temporary add MLD_NATIVE_FUNC_SUCCESS to exception, this
  macro will introduced after PR #607,  remove after it merged.
- This commit re-run autogen

Signed-off-by: willieyz <[email protected]>
@willieyz willieyz marked this pull request as ready for review November 14, 2025 10:34
@willieyz willieyz requested a review from a team as a code owner November 14, 2025 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Example: Add custom_backend

2 participants