3 ms·
You'd have to find a way to pin the keys in the registers, lest they be put in RAM during a context switch.
by saagarjha 7y ago
You'd have to find a way to pin the keys in the registers, lest they be put in RAM during a context switch.
- tom_mellior 7y agoThat's OK if your threat model trusts the kernel and only wants to protect against speculative execution attacks within the application itself. While the application is running, they keys will only ever be accessed from registers -- context switches are transparent to the application.
- m_eiman 7y agoYes, but there are debug registers that can be used for this. https://news.ycombinator.com/item?id=11022275 https://news.ycombinator.com/item?id=11022275