fix some comments
This commit is contained in:
parent
28e0c4baca
commit
6a2a2741e8
1 changed files with 8 additions and 8 deletions
|
@ -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(
|
||||
|
@ -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_HH_ */
|
||||
#endif /* OLM_H_ */
|
||||
|
|
Loading…
Reference in a new issue