forked from google/boringssl
-
Notifications
You must be signed in to change notification settings - Fork 18
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):
- Build and install liboqs
- Add the algorithm metadata to
oqs_template/generate.yml
(following the conventions established therein) - Run
python3 oqs_template/generate.py && go run ./util/pregenerate
- Navigate to
crypto/obj
and rungo run objects.go
to re-generate the object-related files (obj_dat.h
,obj_mac.num
,obj_mac.h
). Note thatgo run objects.go
requiresclang-format 16
or greater to run successfully.