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
Lowram: Share buffers with non-overlapping lifetimes in keygen
Reuse t0 as the accumulator in mld_compute_t0_t1_tr_from_sk_components,
and have the caller provide s1 already in NTT form, removing two
allocations (s1hat and t) from the helper.
In mld_sign_keypair_internal, share the s1 and t1 buffers via a union
since s1hat is consumed before t1 is produced. Pack s1 into the secret
key before the in-place NTT so the original coefficients are preserved.
Split mld_pack_sk into mld_pack_sk_s1 and mld_pack_sk_rho_key_tr_s2_t0
to support packing s1 independently before the NTT.
Signed-off-by: Matthias J. Kannwischer <matthias@zerorisc.com>
0 commit comments