Toot

Written by comex on 2025-01-24 at 19:11

@funkylab @gudenau Yes, if you are doing conditional memory accesses based on secret data then you're doing it wrong. But there are constant-time algorithms that don't do that. You still have to worry about non-constant-time math, but CPU vendors are starting to help, e.g. https://lwn.net/Articles/921511/

Yes, C is poorly suited for constant time algorithms, and there are newer languages like Jasmin and FaCT designed specifically for this ... but afaik they're rarely used in production.

=> More informations about this toot | View the thread | More toots from comex@mas.to

Mentions

=> View funkylab@mastodon.social profile | View gudenau@fosstodon.org profile

Tags

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113884915894344233
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
227.998453 milliseconds
Gemini-to-HTML Time
0.837418 milliseconds

This content has been proxied by September (3851b).