News for hackers. Stuff that matters.
Re:AMD Zen Microarchitecture: Dual Schedulers, Micro-Op Cach... by lancemjoseph on Thursday August 18, 2016 @10:22PM (#12317592)
I thought homomorphic encryption was supposed to fill the niche of allowing one to securely run VMs in a cloud environment. I've not heard of serious progress on this front the last time I went looking. Will we always require hardware with a "secure enclave"-like device to safely store keys in a public cloud? Is it possible to implement this scheme purely in software or is some "trusted" hardware always necessary?
Re:AMD Zen Microarchitecture: Dual Schedulers, Micro-Op Cach... by MertsA on Friday August 19, 2016 @12:16AM (#12317946)
Forewarning, I am by no means an expert on anything that follows.

Homomorphic encryption would allow for "true security" where the party doing the computation doesn't ever have the encryption keys necessary to see what data they're operating on. This is something more akin to a TPM. The key that can read all of the data is in the possession of the party doing the computation, but it's stored in the CPU and the CPU will not give that key to anyone. Theoretically the key could be read off of the CPU but in practice this would require either a flaw, sidechannel, or a lot of time with an electron microscope.

For practical purposes, I believe that all implementations of secure cloud computing are going to be like this where the key is just secured physically. It's possible with homomorphic encryption to have someone securely do computations on data that they can't see all in software, but I just don't see any major breakthroughs happening that would make this fast enough to be practical.

Re:AMD Zen Microarchitecture: Dual Schedulers, Micro-Op Cach... by Dylan16807 on Friday August 19, 2016 @12:04AM (#12317913)
Homomorphic encryption is currently hilariously slow as I understand it, and even if you solve that it can't branch on data. All paths have to be evaluated and summed.