Skip to content

Commit 21171e6

Browse files
committed
fix called func
1 parent 051ff53 commit 21171e6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

wolfcrypt/src/dilithium.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8058,7 +8058,7 @@ static int dilithium_pub_from_priv(dilithium_key* key)
80588058
dilithium_vec_decode_eta_bits(s1p, params->eta, s1, params->l);
80598059
dilithium_vec_decode_eta_bits(s2p, params->eta, s2, params->k);
80608060

8061-
dilithium_vec_ntt_small(s1, params->l);
8061+
dilithium_vec_ntt_small_full(s1, params->l);
80628062
}
80638063
}
80648064
#else
@@ -8069,7 +8069,7 @@ static int dilithium_pub_from_priv(dilithium_key* key)
80698069
else {
80708070
s1 = key->s1;
80718071
s2 = key->s2;
8072-
dilithium_vec_invntt_full(s2, params->k);
8072+
dilithium_vec_invntt_full(s2, params->k);
80738073
}
80748074
}
80758075
#endif

0 commit comments

Comments
 (0)