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
6a2a2741
Commit
6a2a2741
authored
6 years ago
by
Hubert Chathi
Browse files
Options
Downloads
Patches
Plain Diff
fix some comments
parent
28e0c4ba
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
include/olm/olm.h
+8
-8
8 additions, 8 deletions
include/olm/olm.h
with
8 additions
and
8 deletions
include/olm/olm.h
+
8
−
8
View file @
6a2a2741
...
...
@@ -162,7 +162,7 @@ size_t olm_create_account_random_length(
OlmAccount
*
account
);
/** Creates a new account. Returns olm_error() on failure. If weren't
/** Creates a new account. Returns olm_error() on failure. If
there
weren't
* enough random bytes then olm_account_last_error() will be
* "NOT_ENOUGH_RANDOM" */
size_t
olm_create_account
(
...
...
@@ -409,10 +409,10 @@ size_t olm_decrypt_max_plaintext_length(
* will be "OUTPUT_BUFFER_TOO_SMALL". If the base64 couldn't be decoded then
* olm_session_last_error() will be "INVALID_BASE64". If the message is for
* an unsupported version of the protocol then olm_session_last_error() will
*
be "BAD_MESSAGE_VERSION". If the message couldn't be decoded then
*
olm_session_last_error() will be BAD_MESSAGE_FORMAT".
*
If the MAC on the message was invalid then olm_session_last_error() will
*
be "BAD_MESSAGE_MAC". */
* be "BAD_MESSAGE_VERSION". If the message couldn't be decoded then
* olm_session_last_error() will be BAD_MESSAGE_FORMAT".
* If the MAC on the message was invalid then olm_session_last_error() will
* be "BAD_MESSAGE_MAC". */
size_t
olm_decrypt
(
OlmSession
*
session
,
size_t
message_type
,
...
...
@@ -427,7 +427,7 @@ size_t olm_sha256_length(
/** Calculates the SHA-256 hash of the input and encodes it as base64. If the
* output buffer is smaller than olm_sha256_length() then
* olm_
session
_last_error() will be "OUTPUT_BUFFER_TOO_SMALL". */
* olm_
utility
_last_error() will be "OUTPUT_BUFFER_TOO_SMALL". */
size_t
olm_sha256
(
OlmUtility
*
utility
,
void
const
*
input
,
size_t
input_length
,
...
...
@@ -436,7 +436,7 @@ size_t olm_sha256(
/** Verify an ed25519 signature. If the key was too small then
* olm_session_last_error will be "INVALID_BASE64". If the signature was invalid
* then olm_
session
_last_error() will be "BAD_MESSAGE_MAC". */
* then olm_
utility
_last_error() will be "BAD_MESSAGE_MAC". */
size_t
olm_ed25519_verify
(
OlmUtility
*
utility
,
void
const
*
key
,
size_t
key_length
,
...
...
@@ -448,4 +448,4 @@ size_t olm_ed25519_verify(
}
#endif
#endif
/* OLM_H
H
_ */
#endif
/* OLM_H_ */
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