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.

Sending Anti-Replay Token<br />

• Stage 3 message loop will<br />

receive earlier ping in mailbox<br />

and respond.<br />

• Anti-Replay Token is sent<br />

(opcode 7), encoding physical<br />

address in top 4 bytes of<br />

message.<br />

• SEP validates that <strong>the</strong> address is<br />

not in TZ0 or TZ1 and is within<br />

physical memory.<br />

▫ Spin if it doesn’t validate.<br />

• SEP copies 4096 bytes from<br />

specified address into buffer<br />

within TZ0.<br />

• SEP acknowledges ART<br />

Acknowledge Ping<br />

Copy in ART<br />

Acknowledge ART<br />

Copy in SEPOS<br />

Validate SEPOS and ART<br />

Acknowledge SEPOS<br />

Boot SEPOS<br />

Send ART<br />

Send SEPOS<br />

Send Shared Memory Addr

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

Saved successfully!

Ooh no, something went wrong!