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
d21203ea
Unverified
Commit
d21203ea
authored
Jul 05, 2018
by
Sofia Celi
⛸
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix shared secret size
parent
43ed695d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
otrv4-prekey-server.md
otrv4-prekey-server.md
+2
-2
No files found.
otrv4-prekey-server.md
View file @
d21203ea
...
...
@@ -479,7 +479,7 @@ Alice will be initiating the DAKEZ with the Prekey Server:
1.
Generates a DAKE-2 message, as defined in
[
DAKE-2 Message
](
#dake-2-message
)
section.
1.
Calculates the Shared secret (
`SK`
):
*
`SK = KDF(usageSK, ECDH(s, I),
57
)`
.
*
`SK = KDF(usageSK, ECDH(s, I),
64
)`
.
*
Securely erases
`s`
.
1.
Sends Alice the DAKE-2 message.
...
...
@@ -501,7 +501,7 @@ Alice will be initiating the DAKEZ with the Prekey Server:
the message and does not send anything further.
1.
Creates a DAKE-3 message (see
[
DAKE-3 Message
](
#dake-3-message
)
section).
1.
Calculates the Shared secret (
`SK`
):
*
`SK = KDF(usageSK, ECDH(i, S),
57
)`
.
*
`SK = KDF(usageSK, ECDH(i, S),
64
)`
.
*
Securely erases
`i`
.
1.
Calculates the Prekey MAC key:
`prekey_mac_k = KDF(usagePreMACKey, SK, 64)`
.
1.
Creates a message (
`msg`
):
...
...
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