From cbfa5cc5eaf87c648b8201f862f44e01da5db4a0 Mon Sep 17 00:00:00 2001 From: Pravek Sharma Date: Tue, 22 Oct 2024 20:35:57 +0200 Subject: [PATCH] fixup! Update key management functions along with auxiliary functions and data structures to support KEY_TYPE_CMP_KEM Signed-off-by: Pravek Sharma --- oqsprov/oqs_kmgmt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oqsprov/oqs_kmgmt.c b/oqsprov/oqs_kmgmt.c index 88796944..a6310e35 100644 --- a/oqsprov/oqs_kmgmt.c +++ b/oqsprov/oqs_kmgmt.c @@ -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[] = { \