Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
Olm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nheko Reborn
Olm
Commits
c4ad39a3
Commit
c4ad39a3
authored
9 years ago
by
Mark Haines
Browse files
Options
Downloads
Patches
Plain Diff
Linkify all of the HMAC and HKDF references
parent
be9d7406
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/olm.rst
+4
-4
4 additions, 4 deletions
docs/olm.rst
with
4 additions
and
4 deletions
docs/olm.rst
+
4
−
4
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment