Skip to content
This repository was archived by the owner on Mar 10, 2026. It is now read-only.

Commit ec71124

Browse files
authored
Update PROTOCOL.md
1 parent 6517a33 commit ec71124

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

PROTOCOL.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,11 @@ Server does not store any contact relationships; all verification state is local
114114

115115
### 4.2. SMP Initiation (Alice → Bob)
116116

117-
Alice generates per-contact ML-DSA-87 key pair (PK_A, SK_A). Stores SK_A locally.
117+
`Alice` generates per-contact `ML-DSA-87` key pair (`PK_A`, `SK_A`). Stores `SK_A` locally.
118118

119-
Alice composes human-language question & normalized answer.
119+
`Alice` composes human-language question & normalized answer.
120120

121-
Alice sends:
121+
`Alice` sends:
122122
```
123123
POST /smp/initiate
124124
```
@@ -133,9 +133,9 @@ POST /smp/initiate
133133

134134
### 4.3. SMP STEP 2 (Bob to Alice)
135135

136-
Bob generates per-contact `ML-DSA-8`7 key pair (`PK_B`, `SK_B`).
136+
`Bob` generates per-contact `ML-DSA-8`7 key pair (`PK_B`, `SK_B`).
137137

138-
Bob reads question, inputs answer.
138+
`Bob` reads question, inputs answer.
139139

140140
Computes shared secret:
141141
```python
@@ -165,13 +165,13 @@ POST /smp/step_2
165165

166166
`Alice` computes expected `proof_1` from Bob and verifies.
167167

168-
If valid, computes proof for Bob's key:
168+
If valid, computes proof for `Bob`'s key:
169169
```python
170170
fpB = sha3_512(PK_B)
171171
message = rB + rA + fpB
172172
proof_2 = HMAC(secret, message, sha3_512)
173173
```
174-
Alice sends:
174+
`Alice` sends:
175175
```
176176
POST /smp/step_3
177177
```

0 commit comments

Comments
 (0)