-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME_DEMO
32 lines (28 loc) · 1.09 KB
/
README_DEMO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
DEPENDENCIES:
pip install cbor2
openssl
All messages are formatted via CBOR and sent over UDP.
.--------. .--------.
| CLIENT | | SERVER |
'--------' '--------'
| |
| |
| devid, bsize --------------> |
| |
| <------------- nonce, pcrsel |
| |
| hw, endorser, EventLog, |
| PCRs, signature, AKcert ---> |
| |
| <----------------- reply msg |
| |
devid = device identifier derived from MARS (not X509)
bsize = PCR bank size = # of PCRs
nonce = number used once as a freshness challenge
pcrsel = PCR selection, bitmask of PCRs to quote
hw = crypto "hardware" used by MARS
endorser = for symmetric attestation, location of endorser / signature verifier
EventLog = subset of Event Log matching pcrsel
signature = MARS_Quote
AKcert = X509 certificate for AK, if asymmetric supported
reply msg = textual response