diff options
Diffstat (limited to 'toxencryptsave/toxencryptsave.h')
-rw-r--r-- | toxencryptsave/toxencryptsave.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/toxencryptsave/toxencryptsave.h b/toxencryptsave/toxencryptsave.h index de53273e..d03383e9 100644 --- a/toxencryptsave/toxencryptsave.h +++ b/toxencryptsave/toxencryptsave.h | |||
@@ -194,7 +194,7 @@ typedef enum TOX_ERR_DECRYPTION { | |||
194 | * tox_pass_key_encrypt. | 194 | * tox_pass_key_encrypt. |
195 | * | 195 | * |
196 | * @param plaintext A byte array of length `plaintext_len`. | 196 | * @param plaintext A byte array of length `plaintext_len`. |
197 | * @param plaintext_len The length of the plain text array. May be 0. | 197 | * @param plaintext_len The length of the plain text array. Bigger than 0. |
198 | * @param passphrase The user-provided password. | 198 | * @param passphrase The user-provided password. |
199 | * @param passphrase_len The length of the password. | 199 | * @param passphrase_len The length of the password. |
200 | * @param ciphertext The cipher text array to write the encrypted data to. | 200 | * @param ciphertext The cipher text array to write the encrypted data to. |
@@ -211,7 +211,7 @@ bool tox_pass_encrypt(const uint8_t *plaintext, size_t plaintext_len, const uint | |||
211 | * bytes long. This delegates to tox_pass_key_decrypt. | 211 | * bytes long. This delegates to tox_pass_key_decrypt. |
212 | * | 212 | * |
213 | * @param ciphertext A byte array of length `ciphertext_len`. | 213 | * @param ciphertext A byte array of length `ciphertext_len`. |
214 | * @param ciphertext_len The length of the cipher text array. May be 0. | 214 | * @param ciphertext_len The length of the cipher text array. At least TOX_PASS_ENCRYPTION_EXTRA_LENGTH. |
215 | * @param passphrase The user-provided password. | 215 | * @param passphrase The user-provided password. |
216 | * @param passphrase_len The length of the password. | 216 | * @param passphrase_len The length of the password. |
217 | * @param plaintext The plain text array to write the decrypted data to. | 217 | * @param plaintext The plain text array to write the decrypted data to. |
@@ -298,7 +298,7 @@ bool tox_pass_key_derive_with_salt(struct Tox_Pass_Key *_key, const uint8_t *pas | |||
298 | * bytes long. | 298 | * bytes long. |
299 | * | 299 | * |
300 | * @param plaintext A byte array of length `plaintext_len`. | 300 | * @param plaintext A byte array of length `plaintext_len`. |
301 | * @param plaintext_len The length of the plain text array. May be 0. | 301 | * @param plaintext_len The length of the plain text array. Bigger than 0. |
302 | * @param ciphertext The cipher text array to write the encrypted data to. | 302 | * @param ciphertext The cipher text array to write the encrypted data to. |
303 | * | 303 | * |
304 | * @return true on success. | 304 | * @return true on success. |
@@ -311,7 +311,7 @@ bool tox_pass_key_encrypt(const struct Tox_Pass_Key *_key, const uint8_t *plaint | |||
311 | * tox_pass_key_derive or tox_pass_key_derive_with_salt. | 311 | * tox_pass_key_derive or tox_pass_key_derive_with_salt. |
312 | * | 312 | * |
313 | * @param ciphertext A byte array of length `ciphertext_len`. | 313 | * @param ciphertext A byte array of length `ciphertext_len`. |
314 | * @param ciphertext_len The length of the cipher text array. May be 0. | 314 | * @param ciphertext_len The length of the cipher text array. At least TOX_PASS_ENCRYPTION_EXTRA_LENGTH. |
315 | * @param plaintext The plain text array to write the decrypted data to. | 315 | * @param plaintext The plain text array to write the decrypted data to. |
316 | * | 316 | * |
317 | * @return true on success. | 317 | * @return true on success. |