06.11.2014 Views

A User Centric Security Model for Tamper-Resistant Devices

A User Centric Security Model for Tamper-Resistant Devices

A User Centric Security Model for Tamper-Resistant Devices

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.

B.8 Application Binding Protocol Distributed<br />

Aliveness(SP, TPM)<br />

Aliveness(TPM, SP)<br />

Agreement(SP, TPM, [sessionKey])<br />

Agreement(TPM, SP, [sessionKey])<br />

#Equivalences<br />

<strong>for</strong>all x, y : Num . Exp(Exp(Gen, x), y) = Exp(Exp (Gen, y), x)<br />

B.8 Application Binding Protocol Distributed<br />

The Casper script in this section corresponds to the Application Binding Protocol <br />

Distributed (ABPD) described in section 7.6.<br />

#Free variables<br />

datatype Field = Gen | Exp(Field, Num) unwinding 2<br />

halfkeySP, halfkeyTPM, sessionKey : Field<br />

SP, TPM : Agent<br />

ns, nt, nm, scos, app : Nonce<br />

s, t : Num<br />

VKey: Agent -> PublicKey<br />

SKey: Agent -> SecretKey<br />

EKey: Agent -> PublicKey<br />

DKey: Agent -> SecretKey<br />

InverseKeys = (sessionKey, sessionKey), (VKey, SKey),(EKey, DKey), (Exp, Exp), (Gen,<br />

Gen)<br />

#Protocol description<br />

0. -> SP : TPM<br />

1. SP -> TPM : SP, VKey(SP)<br />

2. TPM -> SP : {TPM, SP, nt}{VKey(SP)}<br />

2a. TPM -> SP : {Exp(Gen, t) % halfkeyTPM}{VKey(SP)}<br />

<br />

3. SP -> TPM : {SP, TPM, ns}{EKey(TPM)}<br />

3a. SP -> TPM : {Exp(Gen, s) % halfkeySP}{EKey(TPM)}<br />

<br />

4. TPM -> SP : {TPM, SP, {scos (+) ns}{SKey(TPM)}}{sessionKey}<br />

5. SP -> TPM : {SP, TPM, nt}{sessionKey}<br />

6. TPM -> SP : {TPM, SP, {app (+) ns}{SKey(TPM)}}{sessionKey}<br />

#Actual variables<br />

SerPro, TruPlaMan, MAppl : Agent<br />

Nsp, Ntpm, Nm : Nonce<br />

SCOS, APP : Nonce<br />

S, T, M : Num<br />

SCOperatingSys, SApplication : Nonce<br />

#Processes<br />

INITIATOR(SP, TPM, ns, s, app, scos) knows SKey(SP), DKey(SP), VKey, EKey<br />

RESPONDER(TPM, SP, nt, t, scos, app) knows SKey(TPM), DKey(TPM), VKey, EKey<br />

#System<br />

INITIATOR(SerPro, TruPlaMan, Nsp, S, APP, SCOS)<br />

RESPONDER(TruPlaMan, SerPro, Ntpm, T, SCOS, APP)<br />

250

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

Saved successfully!

Ooh no, something went wrong!