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
b51d7539
Commit
b51d7539
authored
6 years ago
by
David Baker
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'origin/master' into dbkr/wasm
parents
c4a39186
8f6e0557
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/olm.rst
+1
-1
1 addition, 1 deletion
docs/olm.rst
src/pk.cpp
+1
-1
1 addition, 1 deletion
src/pk.cpp
with
2 additions
and
2 deletions
docs/olm.rst
+
1
−
1
View file @
b51d7539
...
...
@@ -72,7 +72,7 @@ info.
Advancing the chain key
~~~~~~~~~~~~~~~~~~~~~~~
Advancing a chain key takes the previous chain key, :math:`C_{i,j-
i
}`. The next
Advancing a chain key takes the previous chain key, :math:`C_{i,j-
1
}`. The next
chain key, :math:`C_{i,j}`, is the HMAC-SHA-256_ of ``"\x02"`` using the
previous chain key as the key.
...
...
This diff is collapsed.
Click to expand it.
src/pk.cpp
+
1
−
1
View file @
b51d7539
...
...
@@ -189,7 +189,7 @@ size_t olm_pk_generate_key(
void
*
pubkey
,
size_t
pubkey_length
,
void
*
random
,
size_t
random_length
)
{
if
(
pubkey_length
<
CURVE25519_KEY_LENGTH
)
{
if
(
pubkey_length
<
olm_pk_key_length
()
)
{
decryption
->
last_error
=
OlmErrorCode
::
OLM_OUTPUT_BUFFER_TOO_SMALL
;
return
std
::
size_t
(
-
1
);
...
...
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