From 1ae06de2d15a7f391367c247dad22e519a170d5f Mon Sep 17 00:00:00 2001 From: Felipe Ventura Date: Thu, 5 Oct 2023 15:24:04 -0500 Subject: [PATCH] comments for pre-hash on verification --- oqsprov/oqs_sig.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/oqsprov/oqs_sig.c b/oqsprov/oqs_sig.c index 2a28b548..12c709f0 100644 --- a/oqsprov/oqs_sig.c +++ b/oqsprov/oqs_sig.c @@ -601,6 +601,9 @@ static int oqs_sig_verify(void *vpoqs_sigctx, const unsigned char *sig, buf = compsig->sig2->data; buf_len = compsig->sig2->length; } + + //pre-hash and concat of oids + char *name = get_cmpname(OBJ_sn2nid(oqsxkey->tls_name), i); if (get_oqsname_fromtls(name)){