News for hackers. Stuff that matters.
Re:A proposed API for full-memory encryption by Gladdyu on Thursday January 31, 2019 @09:08AM (#19044750)
Some NICs are able to dump data directly into the (L3) cache (DDIO on Intel), so either the L3 will have to be encrypted or the IOMMU needs to contain the crypto functionality.
Re:A proposed API for full-memory encryption by zaarn on Thursday January 31, 2019 @10:24AM (#19045367)
Or maybe the kernel would have to except some memory for MMIO from being encrypted. That way the PCIe bus gets access to the memory without needing the keys but also can't read what it shouldn't.
Re:A proposed API for full-memory encryption by blattimwind on Thursday January 31, 2019 @12:42PM (#19046766)
AIUI Intel TME sits in the memory controller, same for MKTME. Therefore memory protection as usual protects access, and any read/write requests made to the IMC will have it use the correct keys for en/decryption. The IMC doesn't care/tell where those requests came from.
Re:A proposed API for full-memory encryption by monocasa on Thursday January 31, 2019 @11:09AM (#19045743)
That's the way the 360 did it, total memory encryption, but practically DMA buffers were unencrypted.