06.08.2016 Views

Demystifying the Secure Enclave Processor

LytVKz

LytVKz

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Memory Encryption Setup<br />

• Use “True Random Number Generator” to generate<br />

192 bits of randomness and store it in <strong>the</strong> TZ0 area<br />

(not encrypted yet).<br />

• Use a standard key generation format (used for<br />

generating ART for example) to generate final<br />

encryption key:<br />

▫ [4 byte magic = 0xFF XK1][4 bytes of 0s][192-bits of<br />

randomness]<br />

• Copy key from AES result registers through SEP<br />

registers directly into encryption controller registers<br />

(without touching memory).

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!