Re:Rust Cryptography Should Be Written in Rust
by astrange on Saturday August 26, 2023 @05:46PM
(#37277212)
Some CPUs do have non-constant-time multiplies.
[ Parent
| on HN ]
Re:Rust Cryptography Should Be Written in Rust
by adastra22 on Sunday August 27, 2023 @01:24AM
(#37279643)
And one protection against that is to map the key into another space using a random (or close enough) key for that transformation, perform the calculation homomorphically, then transform back.
This is often too expensive, but it does come up as a possibility in some zero knowledge protocols.