Home GnuPG

kyber: harden mask generation against branch optimization
0df884de5e3cUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

kyber: harden mask generation against branch optimization

* cipher/kyber-kdep.c (polyvec_compress, polyvec_compress): Generate
mask with const-time helper function.

Cherry-pick master commit of:
052b03fb0c6edea1a208ca0abb31ad09a86aa8e7

  • Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>

Details

Provenance
jukiviliAuthored on Sep 17 2025, 6:11 PM
gniibeCommitted on Nov 20 2025, 2:31 AM
Parents
rC689d0b1396d4: mpih-pow: harden condition calculation against branch optimization
Branches
Unknown
Tags
Unknown

Event Timeline