Skip to content

Commit

Permalink
switched comparison from dilithium to ML-DSA
Browse files Browse the repository at this point in the history
Signed-off-by: Felipe Ventura <[email protected]>
  • Loading branch information
feventura committed Mar 17, 2024
1 parent 04cb8f7 commit 646fd07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions oqsprov/oqs_sig.c
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,8 @@ static int oqs_sig_sign(void *vpoqs_sigctx, unsigned char *sig, size_t *siglen,
upcase_name = get_oqsname_fromtls(name);

if ((upcase_name != 0)
&& ((!strcmp(upcase_name, OQS_SIG_alg_dilithium_3))
|| (!strcmp(upcase_name, OQS_SIG_alg_dilithium_5)))
&& ((!strcmp(upcase_name, OQS_SIG_alg_ml_dsa_65))
|| (!strcmp(upcase_name, OQS_SIG_alg_ml_dsa_87)))
|| (name[0] == 'e')) {
aux = 1;
OPENSSL_free(name);
Expand Down

0 comments on commit 646fd07

Please sign in to comment.