This repository was archived by the owner on Jan 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Notes
xvzcf edited this page Mar 30, 2020
·
1 revision
Functions must use function name exactly:
eg QSE_F_<name>
export PERL5LIB=$PERL5LIB:/<path to openssl source>
<path to openssl source>/util/mkerr.pl -rebuild -reindex -conf oqse.ec oqse.c oqse_ameth.c oqse_pmeth.c oqse_utils.c
The above will generate oqse_err.c and oqse_err.h. The generated prototypes have the form:
void ERR_OQSE_error(int function, int reason, char *file, int line)
If the compiler complains, it can be manually changed to:
void ERR_OQSE_error(int function, int reason, const char *file, int line)
oqse_test requires no arguments, and runs signing and verify operations on all signing algorithms within liboqs:
- Time stamps are generated to profile each operation
- PEM files exercise the ASN1 methods and write the resultant keys out to /tmp
- SIGN/VERIFY operations are executed, and negative (bit flip) operations performed on verify to ensure expected behaviour.