3 ms·
I'm not sure composition would work so you'd have to code every constant-time function entirely in assembler. And now I wonder why there isn't already such a p
by masklinn 11y ago
I'm not sure composition would work so you'd have to code every constant-time function entirely in assembler.
And now I wonder why there isn't already such a project, surely the number of necessarily constant-time functions is relatively low? Constant-time equality (of byte sequences), constant time conditional (`a if b else c`), constant-time comparison (<=) and maybe constant-time bytes copy?