Constant-time reviewsign-34 · Report

Constant-time review — 34 YuanYang.DSA

Scope: reference implementation, representative instance only: Implementations/Reference_Implementation/yuanyang-512/sign.c. Other instances and optimized implementations have not been proven source-equivalent. This is a source-level triage, not a constant-time certification.

Secret: signing-key polynomials/basis, per-signature masks and sampler state. Public: verification key, algorithm parameters, message and serialized signature.

Assessment: No new vulnerability report is promoted from this representative source triage. A compiler/architecture-specific timing and cache test is still needed before claiming constant-time behavior or exploitable leakage.

Recheck the cited source line and its caller before reusing this result. A timing claim requires controlled same-public-input tests with changed secret state and a public-value control.

Key-generation division follow-up: keygen/keygen.c:42 inverts secret f_q via poly_inv_xn1_q, reaching extended-Euclid mod_inv at poly_inv_ntt.c:111-139. GCC -O2 emits two idiv instructions in mod_inv (other divides in the object may have public operands). This is a single key-generation trace; without a measured channel and an extraction argument it does not establish a forgery or justify a new Critical report.