Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
matrix-org
Olm
Commits
c4ad39a3
Commit
c4ad39a3
authored
Aug 18, 2015
by
Mark Haines
Browse files
Linkify all of the HMAC and HKDF references
parent
be9d7406
Changes
1
Hide whitespace changes
Inline
Side-by-side
docs/olm.rst
View file @
c4ad39a3
...
...
@@ -226,10 +226,10 @@ Olm Authenticated Encryption
Version 1
~~~~~~~~~
Version 1 of Olm uses AES-256_ in CBC_ mode with `PCKS#7`_ padding for
encryption
and HMAC-SHA-256 for authentication. The 256 bit AES key, 256 bit
HMAC key,
and 128 bit AES IV are derived from the message key using
HKDF-SHA-256 using
the default salt and an info of ``"OLM_KEYS"``.
Version 1 of Olm uses AES-256_ in CBC_ mode with `PCKS#7`_ padding for
encryption
and HMAC-SHA-256
_
for authentication. The 256 bit AES key, 256 bit
HMAC key,
and 128 bit AES IV are derived from the message key using
HKDF-SHA-256_ using
the default salt and an info of ``"OLM_KEYS"``.
First the plain-text is encrypted to get the cipher-text, :math:`X_{i,j}`.
Then the entire message, both the headers and cipher-text, are HMAC'd and the
...
...
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