Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions examples/monolithic_build_multilevel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ The configuration file [mldsa_native_config.h](mldsa_native/mldsa_native_config.
- `MLD_CONFIG_MULTILEVEL_BUILD`: Enables multi-level mode
- `MLD_CONFIG_NAMESPACE_PREFIX=mldsa`: Base prefix
- `MLD_CONFIG_INTERNAL_API_QUALIFIER=static`: Makes internal functions static
- `MLD_CONFIG_NO_SUPERCOP`: Disables the SUPERCOP API (crypto_sign*)

The wrapper [mldsa_native_all.c](mldsa_native_all.c) includes `mldsa_native.c` three times:
```c
Expand Down Expand Up @@ -59,8 +60,6 @@ The wrapper [mldsa_native_all.c](mldsa_native_all.c) includes `mldsa_native.c` t

The header [mldsa_native_all.h](mldsa_native_all.h) exposes all APIs:
```c
#define MLD_CONFIG_NO_SUPERCOP

#define MLD_CONFIG_PARAMETER_SET 44
#include <mldsa_native.h>
#undef MLD_CONFIG_PARAMETER_SET
Expand Down
2 changes: 0 additions & 2 deletions examples/monolithic_build_multilevel/mldsa_native_all.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
#ifndef MLD_ALL_H
#define MLD_ALL_H

#define MLD_CONFIG_NO_SUPERCOP

/* API for MLDSA-44 */
#define MLD_CONFIG_PARAMETER_SET 44
#include <mldsa_native.h>
Expand Down
1 change: 1 addition & 0 deletions examples/monolithic_build_multilevel_native/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ The configuration file [mldsa_native_config.h](mldsa_native/mldsa_native_config.
- `MLD_CONFIG_NAMESPACE_PREFIX=mldsa`: Base prefix
- `MLD_CONFIG_USE_NATIVE_BACKEND_ARITH`: Enables native arithmetic backend
- `MLD_CONFIG_USE_NATIVE_BACKEND_FIPS202`: Enables native FIPS-202 backend
- `MLD_CONFIG_NO_SUPERCOP`: Disables the SUPERCOP API (crypto_sign*)

The wrapper [mldsa_native_all.c](mldsa_native_all.c) includes `mldsa_native.c` three times:
```c
Expand Down
1 change: 1 addition & 0 deletions examples/multilevel_build/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ The library is built 3 times into separate directories (`build/mldsa44`, `build/
The configuration file [mldsa_native_config.h](mldsa_native/mldsa_native_config.h) sets:
- `MLD_CONFIG_MULTILEVEL_BUILD`: Enables multi-level build mode
- `MLD_CONFIG_NAMESPACE_PREFIX=mldsa`: Base prefix; level suffix added automatically
- `MLD_CONFIG_NO_SUPERCOP`: Disables the SUPERCOP API (crypto_sign*)

Build-time flags passed via CFLAGS:
- `MLD_CONFIG_PARAMETER_SET=44/65/87`: Selects the security level
Expand Down
1 change: 1 addition & 0 deletions examples/multilevel_build_native/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ The configuration file [mldsa_native_config.h](mldsa_native/mldsa_native_config.
- `MLD_CONFIG_NAMESPACE_PREFIX=mldsa`: Base prefix; level suffix added automatically
- `MLD_CONFIG_USE_NATIVE_BACKEND_ARITH`: Enables native arithmetic backend
- `MLD_CONFIG_USE_NATIVE_BACKEND_FIPS202`: Enables native FIPS-202 backend
- `MLD_CONFIG_NO_SUPERCOP`: Disables the SUPERCOP API (crypto_sign*)

Build-time flags passed via CFLAGS:
- `MLD_CONFIG_PARAMETER_SET=44/65/87`: Selects the security level
Expand Down