mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-26 17:03:43 +02:00
.. | ||
outputs | ||
generate_bufs.c | ||
Makefile | ||
readme.md | ||
rng.c | ||
rng.h |
Randbuf Generation
This program generates the deterministic rng output used in the intermediate stages of keypair generation and encoding from KAT seed values.
rng.c
and rng.h
are directly from the NIST submission, generate_bufs.c
is a stripped down version of PQCgenKAT_kem.c
to print out the seeded values from randombytes()
into their respective files.
These values are then used in place of regular rng output when running the KATs.
Usage
To build and use:
cd tests/rand_bufs
make
./generate
mkdir outputs
mv crypto_kem_keypair indcpa_keypair encode outputs/