https://github.com/mupq/pqm4
Revision b48968eb11f49d58ae3bf3213c697c0d1c43a6f6 authored by Marc on 22 November 2023, 16:28:46 UTC, committed by Marc on 22 November 2023, 16:28:54 UTC
This commit implements the post-quantum signature scheme HAETAE from
https://eprint.iacr.org/2023/624
https://kpqc.cryptolab.co.kr/haetae

The stack strategy can be chosen config.h by setting STACK_STRATEGY
to the appropriate value (run "make clean" when changing it).
* 0 or undefined: Optimized for speed (default).
* 1:              Disable buffers for the polynomials of the verification
                  key in crypto_sign_keypair() and crypto_sign(). This
                  reduces speed, as the key needs to be recomputed after
                  each rejection.
* 2:              In addition to 1, sample the hyperball in multiple passes,
                  such that some intermediate values are computed on demand,
                  rather than being buffered. This roughly doubles the
                  runtime of crypto_sign().

The scheme HAETAE2 contains a reference implementation, which has been
renamed from "clean" in previous commits to "ref". The reference
implementation would run out of memory for schemes HAETAE3 and HAETAE5 and
is therefore not included for these schemes.
1 parent fe44f74
History
Tip revision: b48968eb11f49d58ae3bf3213c697c0d1c43a6f6 authored by Marc on 22 November 2023, 16:28:46 UTC
Update HAETAE
Tip revision: b48968e
File Mode Size
common
crypto_kem
crypto_sign
hostside
ldscripts
libopencm3 @ 1f3abd4
mk
mupq @ 0abc3df
.gitignore -rw-r--r-- 107 bytes
.gitmodules -rw-r--r-- 168 bytes
Makefile -rw-r--r-- 357 bytes
README.md -rw-r--r-- 26.1 KB
benchmarks.csv -rw-r--r-- 20.8 KB
benchmarks.md -rw-r--r-- 31.8 KB
benchmarks.py -rwxr-xr-x 1.1 KB
build_everything.py -rwxr-xr-x 341 bytes
convert_benchmarks.py -rwxr-xr-x 417 bytes
interface.py -rw-r--r-- 3.6 KB
requirements.txt -rw-r--r-- 19 bytes
skiplist.py -rw-r--r-- 14.2 KB
st_nucleo_l4r5.cfg -rw-r--r-- 225 bytes
test.py -rwxr-xr-x 342 bytes
testvectors.py -rwxr-xr-x 342 bytes

README.md

back to top