Skip to content

Commit

Permalink
fixup! Update key management functions along with auxiliary functions…
Browse files Browse the repository at this point in the history
… and data structures to support KEY_TYPE_CMP_KEM

Signed-off-by: Pravek Sharma <[email protected]>
  • Loading branch information
praveksharma committed Oct 22, 2024
1 parent 29363be commit cbfa5cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions oqsprov/oqs_kmgmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -1398,12 +1398,12 @@ static void *CROSSrsdp128balanced_gen_init(void *provctx, int selection) {
static void *cmp_##tokalg##_new_key(void *provctx) { \
return oqsx_key_new(PROV_OQS_LIBCTX_OF(provctx), tokoqsalg, \
"" #tokalg "", KEY_TYPE_CMP_KEM, NULL, \
bit_security, -1); \
bit_security, -1, 0); \
} \
\
static void *cmp_##tokalg##_gen_init(void *provctx, int selection) { \
return oqsx_gen_init(provctx, selection, tokoqsalg, "" #tokalg "", \
KEY_TYPE_CMP_KEM, bit_security, -1); \
KEY_TYPE_CMP_KEM, bit_security, -1, 0); \
} \
\
const OSSL_DISPATCH oqs_cmp_##tokalg##_keymgmt_functions[] = { \
Expand Down

0 comments on commit cbfa5cc

Please sign in to comment.