Skip to content

Using liboqs algorithms not in the fork

PI edited this page Oct 10, 2024 · 5 revisions

If an algorithm is provided by liboqs but is not listed as being supported by OQS-BoringSSL, it can still be used changing the build configuration as follows:

To add a key-exchange or digital signature algorithm (the steps below assume the project root directory to be the starting point):

  1. Build and install liboqs
  2. Add the algorithm metadata to oqs_template/generate.yml (following the conventions established therein)
  3. Run python3 oqs_template/generate.py && go run ./util/pregenerate
  4. Navigate to crypto/obj and run go run objects.go to re-generate the object-related files (obj_dat.h, obj_mac.num, obj_mac.h). Note that go run objects.go requires clang-format 16 or greater to run successfully.
Clone this wiki locally