This directory contains a minimal example for how to use mlkem-native as a code package, without modifications.
An application using mlkem-native as-is needs to include the following components:
- mlkem-native source tree, including
mlkem/
andmlkem/fips202/
. - A secure pseudo random number generator, implementing
randombytes.h
. - The application source code
WARNING: The randombytes()
implementation used here is for TESTING ONLY. You MUST NOT use this implementation
outside of testing.
Build this example with make build
, run with make run
.