Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
OTRv4
otrv4-prekey-server
Commits
147fd69b
Unverified
Commit
147fd69b
authored
Sep 16, 2018
by
Ola Bini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix inversions in the proofs
parent
0b3262f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
otrv4-prekey-server.md
otrv4-prekey-server.md
+3
-3
No files found.
otrv4-prekey-server.md
View file @
147fd69b
...
...
@@ -1232,7 +1232,7 @@ In order to verify the proof for `D`, this procedure should be followed:
```
- compute 'p' as KDF(usage_proof_c_lambda, c, lambda)
- compute 'A' as
(
G * v + D * p) * -1
- compute 'A' as G * v +
((
D * p) * -1
)
- compute 'c2' as KDF(usage_proof_shared_ecdh, A || D || m, 64)
- verify that 'c' is equal to 'c2'
```
...
...
@@ -1270,7 +1270,7 @@ In order to verify the proof for `N` values `Y_i`, this procedure should be foll
```
- compute 'p' as KDF(usage_proof_c_lambda, c, N * lambda)
- divide 'p' into 'N' 'lambda'-sized pieces, and denote them as 't_n', starting from 't_1'
- compute 'A' as
(
G * v + Y_1 * t_1 + Y_2 * t_2 + ... + Y_n * t_n) * -1
- compute 'A' as G * v +
((
Y_1 * t_1 + Y_2 * t_2 + ... + Y_n * t_n) * -1
)
- compute 'c2' as KDF(usage_proof_message_ecdh, A || Y_1 || Y_2 || ... || Y_N || m, 64)
- verify that 'c' is equal to 'c2'
```
...
...
@@ -1300,7 +1300,7 @@ In order to verify the proof for `N` values `B_i`, this procedure should be foll
```
- compute 'p' as KDF(usage_proof_c_lambda, c, N * lambda)
- divide 'p' into 'N' 'lambda'-sized pieces, and denote them as 't_n', starting from 't_1'
- compute 'A' as
(
g3 ^ v * (B_1^t_1 * B_2^t_2 * ... * B_n^t_n)
)
^-1
- compute 'A' as g3 ^ v *
(
(B_1^t_1 * B_2^t_2 * ... * B_n^t_n)^-1
)
- compute 'c2' as KDF(usage_proof_message_dh, A || B_1 || B_2 || ... || B_N || m, 64)
- verify that 'c' is equal to 'c2'
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment