https://github.com/mupq/pqm4
Revision a031ee42f10df7da64b3c25c3895cf4fbe8c1d31 authored by Marc on 22 November 2023, 14:56:35 UTC, committed by Marc on 22 November 2023, 14:56:44 UTC
This implementation offers different stack strategies:
* 0: Optimized for speed.
* 1: Does not buffer the polynomials of the verification
     key in crypto_sign_keypair() and crypto_sign_signature(),
     thus reducing stack usage at the cost of some speed.
* 2: In addition to 1, the hyperballs are sampled in multiple
     passes in crypto_sign_signature(), which reduces the stack
     usage for temporary variables. This roughly doubles the
     execution time of crypto_sign_signature().
1 parent 7eee34e
History
Tip revision: a031ee42f10df7da64b3c25c3895cf4fbe8c1d31 authored by Marc on 22 November 2023, 14:56:35 UTC
add STACK_STRATEGY switch to config.h
Tip revision: a031ee4
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