Linkify all of the HMAC and HKDF references
This commit is contained in:
parent
be9d74063d
commit
c4ad39a3c4
1 changed files with 4 additions and 4 deletions
|
@ -226,10 +226,10 @@ Olm Authenticated Encryption
|
||||||
Version 1
|
Version 1
|
||||||
~~~~~~~~~
|
~~~~~~~~~
|
||||||
|
|
||||||
Version 1 of Olm uses AES-256_ in CBC_ mode with `PCKS#7`_ padding for encryption
|
Version 1 of Olm uses AES-256_ in CBC_ mode with `PCKS#7`_ padding for
|
||||||
and HMAC-SHA-256 for authentication. The 256 bit AES key, 256 bit HMAC key,
|
encryption and HMAC-SHA-256_ for authentication. The 256 bit AES key, 256 bit
|
||||||
and 128 bit AES IV are derived from the message key using HKDF-SHA-256 using
|
HMAC key, and 128 bit AES IV are derived from the message key using
|
||||||
the default salt and an info of ``"OLM_KEYS"``.
|
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}`.
|
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
|
Then the entire message, both the headers and cipher-text, are HMAC'd and the
|
||||||
|
|
Loading…
Reference in a new issue