You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace mld_poly_make_hint + the per-polynomial mld_pack_sig_h_poly
with a single mld_pack_sig_h that takes (w0, w1) polyvecks directly,
computes hint bits via mld_make_hint, and writes hint indices into
sig in one pass over all K rows. The function returns MLD_ERR_FAIL
if the total number of hints exceeds MLDSA_OMEGA, in which case the
caller must reject the signature.
This removes the duplicated hint counting (previously make_hint
returned the count and pack iterated the hint poly again without
re-validating), drops the temporary scratch hint polynomial from
sign.c, and lets sign.c emit a single call instead of a K-loop with
per-row tally bookkeeping.
Signed-off-by: Matthias J. Kannwischer <matthias@zerorisc.com>
0 commit comments