Skip to content

Commit 7968cbe

Browse files
committed
Edited confidentiality RFC to add minor details
Signed-off-by: VRamakrishna <[email protected]>
1 parent 72b552d commit 7968cbe

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

rfcs/models/security/confidentiality-design-choices.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ M' = Decrypt(C)
6060
```
6161
DIM computes:
6262
```
63-
Verify(Sigma, P)
63+
Verify(Sigma, P) == TRUE
6464
(C', H) = Parse(P)
6565
Verify: H == SHA256Hash(M')
6666
```
@@ -82,7 +82,7 @@ C' = Decrypt(C)
8282
```
8383
DIM computes:
8484
```
85-
Verify(Sigma, C)
85+
Verify(Sigma, C) == TRUE
8686
M' || S' = Parse(C')
8787
Verify: S' == Sign(SHA256Hash(M'))
8888
```
@@ -114,7 +114,7 @@ M' = Decrypt(C1')
114114
```
115115
DIM computes:
116116
```
117-
Verify(Sigma, P)
117+
Verify(Sigma, P) == TRUE
118118
Verify: H1 == SHA256Hash(C2')
119119
Verify: H' == SHA256Hash(M')
120120
```
@@ -142,7 +142,7 @@ M1 = Decrypt(C)
142142
```
143143
DIM computes:
144144
```
145-
Verify(Sigma, P)
145+
Verify(Sigma, P) == TRUE
146146
M' || r' = Parse(M1)
147147
Verify: H == SHA256Hash(M' || r')
148148
```
@@ -168,9 +168,13 @@ M1 = Decrypt(C)
168168
```
169169
DIM computes:
170170
```
171-
Verify(Sigma, P)
171+
Verify(Sigma, P) == TRUE
172172
C' || H = Parse(P)
173173
M2 || r' = Parse(M1)
174174
Verify: H == HMAC(r', M2)
175175
```
176-
_Comments_: The hashing is secure (HMAC provides assured randomness, or entropy) and the protocol requires no peer modification or custom signing logic.
176+
_Comments_: The hashing is secure (HMAC provides assured randomness, or entropy) and the protocol requires no peer modification or custom signing logic. Using HMAC enables provable security [1] of the [authenticity property](./confidentiality.md#security-concerns-and-threat-model) we strive for in our system.
177+
178+
179+
## References
180+
1. New Proofs for NMAC and HMAC: Security without Collision-Resistance, Mihir Bellare, Crypto 2006 eprint: https://eprint.iacr.org/2006/043.pdf.

0 commit comments

Comments
 (0)