-
Notifications
You must be signed in to change notification settings - Fork 93
Debugging
Michael Baentsch edited this page Oct 27, 2022
·
1 revision
oqsprovider
has various debugging capabilities built in that are not enabled by default. This page documents how to enable them.
oqsprovider
can be made to output extensive traces of its operation when built in "Debug" configuration.
Run cmake
with "-DCMAKE_BUILD_TYPE=Debug" set. See fullbuild.sh script for an example how/where to add this option.
Debug output level can be controlled by (selectively) setting one or several of the following environment variables, e.g., via export OQSPROV=1
.
- OQSPROV: General provider (registration) output
- OQSKM: Key management operations
- OQSKEY: Operations on key material
- OQSSIG: Signature operations
- OQSKEM: KEM operations
- OQSDEC: Decode operations
- OQSENC: Encode operations