05.08.2016 Views

Demystifying the Secure Enclave Processor

Lyj6k4

Lyj6k4

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.

Beginning Stage 3<br />

• SEP copies its page tables into<br />

encrypted memory.<br />

• Reconfigures page tables to<br />

map space for BSS, data and<br />

stack in encrypted memory.<br />

• Initializes BSS, data, and<br />

stack.<br />

• Begins a new message loop<br />

with no shared code between it<br />

and <strong>the</strong> initial low-capability<br />

bootstrap.<br />

Stage 2<br />

Stage 3<br />

Acknowledge Ping<br />

Acknowledge<br />

BootTZ0<br />

Map in TZ0<br />

Setup Memory<br />

Encryption<br />

Begin Stage 3<br />

Configure TZ0 and<br />

TZ1<br />

Send Ping<br />

Send BootTZ0<br />

Send Ping<br />

iBoot<br />

Kernel

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

Saved successfully!

Ooh no, something went wrong!