Re:FaCT: Constant Time Programming Language
by c7DJTLrn on Sunday October 23, 2022 @12:36PM
(#33308205)
Absolutely, the performance would be terrible, but under circumstances where you need to be sure there's no side channels (like in a secure element kind of chip) maybe that's acceptable.
Re:FaCT: Constant Time Programming Language
by insanitybit on Sunday October 23, 2022 @12:50PM
(#33308329)
If all you're doing is comparing two hash values it's probably a lot less important that it's fast and more important that it's side channel resistant.
https://youtu.be/kbn9UCRK2Qg?t=1228
Judging by the image of generated assembly code in movfuscator repo, I don't think the mov-only solution would be efficient.