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
The Kyber reference implementation has a vulnerability resulting from clang introducing a secret-dependent branch. The affected function there is poly_frommsg. The analogous function in our ML-KEM implementation is Encode::<U1>::decode. We should make sure that Rust compilation does not introduce secret-dependent branches.
The text was updated successfully, but these errors were encountered:
I mocked this up in Godbolt and on a quick skim, I don't see any branching instructions. So maybe we're OK here. Would appreciate review by someone else, though.
The Kyber reference implementation has a vulnerability resulting from
clang
introducing a secret-dependent branch. The affected function there ispoly_frommsg
. The analogous function in our ML-KEM implementation isEncode::<U1>::decode
. We should make sure that Rust compilation does not introduce secret-dependent branches.The text was updated successfully, but these errors were encountered: