Skip to content

Commit d32f6c3

Browse files
willieyzhanno-becker
authored andcommitted
README: Add footnote regarding need for stdint.h and uint64_t
This commit adds a footnote to README.md documenting that we require the stdint.h header. This commit made following change: - `scripts/autogen` is modified to not try to interpret footnotes - `[^FOO]` as bibliography entries if they have an explicit `[^FOO]: ...` entry outside of the bibliography section. - Also, this commit remove the: `yield "#include <stdint.h>"` in autogen, and re-generate all zetas.c and *_table.c Signed-off-by: willieyz <willie.zhao@chelpis.com>
1 parent 79f05d8 commit d32f6c3

15 files changed

Lines changed: 16 additions & 23 deletions

File tree

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
[![License: ISC](https://img.shields.io/badge/License-ISC-blue.svg)](https://opensource.org/licenses/ISC)
1212
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
1313

14-
mldsa-native is a secure, fast, and portable C90 implementation of the ML-DSA[^FIPS204] post-quantum signature standard. It is a fork of the ML-DSA reference implementation[^REF].
14+
mldsa-native is a secure, fast, and portable C90[^C90] implementation of the ML-DSA[^FIPS204] post-quantum signature standard. It is a fork of the ML-DSA reference implementation[^REF].
1515

1616
mldsa-native is supported by the [Post-Quantum Cryptography Alliance](https://pqca.org/) as part of the [Linux Foundation](https://linuxfoundation.org/).
1717

@@ -208,6 +208,9 @@ If you have any other question / non-security related issue / feature request, p
208208
If you want to help us build mldsa-native, please reach out. You can contact the mldsa-native team
209209
through the [PQCA Discord](https://discord.com/invite/xyVnwzfg5R). See also [CONTRIBUTING.md](CONTRIBUTING.md).
210210

211+
[^C90]: Strictly speaking, we rely on C90 + `stdint.h` + 64-bit `unsigned long long`.
212+
213+
211214
<!--- bibliography --->
212215
[^ACVP]: National Institute of Standards and Technology: Automated Cryptographic Validation Protocol (ACVP) Server, [https://github.com/usnistgov/ACVP-Server](https://github.com/usnistgov/ACVP-Server)
213216
[^FIPS202]: National Institute of Standards and Technology: FIPS202 SHA-3 Standard: Permutation-Based Hash and Extendable-Output Functions, [https://csrc.nist.gov/pubs/fips/202/final](https://csrc.nist.gov/pubs/fips/202/final)

dev/aarch64_clean/src/aarch64_zetas.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
#if defined(MLD_ARITH_BACKEND_AARCH64) && \
1515
!defined(MLD_CONFIG_MULTILEVEL_NO_SHARED)
1616

17-
#include <stdint.h>
1817
#include "arith_native_aarch64.h"
1918

2019
/*

dev/aarch64_clean/src/rej_uniform_eta_table.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
#if defined(MLD_ARITH_BACKEND_AARCH64) && \
1515
!defined(MLD_CONFIG_MULTILEVEL_NO_SHARED)
1616

17-
#include <stdint.h>
1817
#include "arith_native_aarch64.h"
1918

2019
/*

dev/aarch64_clean/src/rej_uniform_table.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
#if defined(MLD_ARITH_BACKEND_AARCH64) && \
1515
!defined(MLD_CONFIG_MULTILEVEL_NO_SHARED)
1616

17-
#include <stdint.h>
1817
#include "arith_native_aarch64.h"
1918

2019
/*

dev/aarch64_opt/src/aarch64_zetas.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
#if defined(MLD_ARITH_BACKEND_AARCH64) && \
1515
!defined(MLD_CONFIG_MULTILEVEL_NO_SHARED)
1616

17-
#include <stdint.h>
1817
#include "arith_native_aarch64.h"
1918

2019
/*

dev/aarch64_opt/src/rej_uniform_eta_table.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
#if defined(MLD_ARITH_BACKEND_AARCH64) && \
1515
!defined(MLD_CONFIG_MULTILEVEL_NO_SHARED)
1616

17-
#include <stdint.h>
1817
#include "arith_native_aarch64.h"
1918

2019
/*

dev/aarch64_opt/src/rej_uniform_table.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
#if defined(MLD_ARITH_BACKEND_AARCH64) && \
1515
!defined(MLD_CONFIG_MULTILEVEL_NO_SHARED)
1616

17-
#include <stdint.h>
1817
#include "arith_native_aarch64.h"
1918

2019
/*

dev/x86_64/src/rej_uniform_table.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
#if defined(MLD_ARITH_BACKEND_X86_64_DEFAULT) && \
1515
!defined(MLD_CONFIG_MULTILEVEL_NO_SHARED)
1616

17-
#include <stdint.h>
1817
#include "arith_native_x86_64.h"
1918

2019
/*

examples/bring_your_own_fips202_static/custom_fips202/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ using the parallel x4 API.
3737
- `tiny_sha3/` - Symlink to the tiny_sha3 implementation
3838
- `README.md` - This file
3939
40-
[^tiny_sha3]: https://github.com/mjosaarinen/tiny_sha3
4140
4241
<!--- bibliography --->
4342
[^tiny_sha3]: Markku-Juhani O. Saarinen: tiny_sha3, [https://github.com/mjosaarinen/tiny_sha3](https://github.com/mjosaarinen/tiny_sha3)

mldsa/src/native/aarch64/src/aarch64_zetas.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
#if defined(MLD_ARITH_BACKEND_AARCH64) && \
1515
!defined(MLD_CONFIG_MULTILEVEL_NO_SHARED)
1616

17-
#include <stdint.h>
1817
#include "arith_native_aarch64.h"
1918

2019
/*

0 commit comments

Comments
 (0)