Groups | Search | Server Info | Login | Register
Groups > comp.compilers > #3586
| From | Ian Lance Taylor <ianlancetaylor@gmail.com> |
|---|---|
| Newsgroups | comp.compilers |
| Subject | Re: Crypto friendly optimization? |
| Date | 2024-08-24 20:14 -0700 |
| Organization | Compilers Central |
| Message-ID | <24-08-005@comp.compilers> (permalink) |
| References | <24-08-003@comp.compilers> |
For the Go programming language there has been discussion of adding a secret.Do function, that invokes a function closure and, after it returns, erases all memory that it allocated. The goal is better, though not perfect, forward secrecy, so that people can't capture a key today and a conversation today and, if they key becomes vulnerable, later use it to decrypt the conversation. There is a lot of discussion at <https://go.dev/issue/21865> with the output at <https://github.com/golang/go/issues/21865#issuecomment-925310304>. This is not yet implemented, but the current attempts require work in both the compiler and the runtime library. Related to that is a more speculative idea to enable ARM DIT/Intel DOIT mode while executing a function. Discussion at <https://go.dev/issue/66450>. But there is no special work in the Go compilers to ensure that code written to execute in constant-time is not optimized to run in non-constant-time. It would be interesting to hear about other work in that area. Ian
Back to comp.compilers | Previous | Next — Previous in thread | Next in thread | Find similar
Crypto friendly optimization? John R Levine <johnl@taugh.com> - 2024-08-24 17:14 -0400
Re: Crypto friendly optimization? Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2024-08-24 16:33 -0700
Re: Crypto friendly optimization? Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2024-08-24 20:55 -0700
Re: Crypto friendly optimization? anton@mips.complang.tuwien.ac.at - 2024-08-25 16:06 +0000
Re: Crypto friendly optimization? David Brown <david.brown@hesbynett.no> - 2024-08-25 21:12 +0200
Re: Crypto friendly optimization? Philipp Klaus Krause <pkk@spth.de> - 2025-04-05 19:50 +0200
Re: Crypto friendly optimization? Ian Lance Taylor <ianlancetaylor@gmail.com> - 2024-08-24 20:14 -0700
Re: Crypto friendly optimization? David Brown <david.brown@hesbynett.no> - 2024-08-25 12:32 +0200
csiph-web