Skip to content

Commit

Permalink
comments for pre-hash on verification
Browse files Browse the repository at this point in the history
  • Loading branch information
feventura committed Oct 5, 2023
1 parent 4cffb7c commit 1ae06de
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions oqsprov/oqs_sig.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)){
Expand Down

0 comments on commit 1ae06de

Please sign in to comment.