summaryrefslogtreecommitdiff
path: root/toxencryptsave/toxencryptsave.api.h
diff options
context:
space:
mode:
authorZetok Zalbavar <zexavexxe@gmail.com>2016-12-16 11:32:09 +0000
committerZetok Zalbavar <zexavexxe@gmail.com>2016-12-17 19:45:43 +0000
commit4733f849faa1c982cf15f8893e2371794efbc90f (patch)
tree9d604c0933ae7cac98c38bab1673f88fac01ab40 /toxencryptsave/toxencryptsave.api.h
parentb0647b174c324740ca3b80695b9cde5afd83b891 (diff)
docs(TES): correct docs to reflect how many bytes fns actually require
Diffstat (limited to 'toxencryptsave/toxencryptsave.api.h')
-rw-r--r--toxencryptsave/toxencryptsave.api.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/toxencryptsave/toxencryptsave.api.h b/toxencryptsave/toxencryptsave.api.h
index 93456235..b0e29b50 100644
--- a/toxencryptsave/toxencryptsave.api.h
+++ b/toxencryptsave/toxencryptsave.api.h
@@ -145,7 +145,7 @@ error for decryption {
145 * ${pass_Key.encrypt}. 145 * ${pass_Key.encrypt}.
146 * 146 *
147 * @param plaintext A byte array of length `plaintext_len`. 147 * @param plaintext A byte array of length `plaintext_len`.
148 * @param plaintext_len The length of the plain text array. May be 0. 148 * @param plaintext_len The length of the plain text array. Bigger than 0.
149 * @param passphrase The user-provided password. 149 * @param passphrase The user-provided password.
150 * @param passphrase_len The length of the password. 150 * @param passphrase_len The length of the password.
151 * @param ciphertext The cipher text array to write the encrypted data to. 151 * @param ciphertext The cipher text array to write the encrypted data to.
@@ -163,7 +163,7 @@ static bool pass_encrypt(const uint8_t[plaintext_len] plaintext, const uint8_t[p
163 * bytes long. This delegates to ${pass_Key.decrypt}. 163 * bytes long. This delegates to ${pass_Key.decrypt}.
164 * 164 *
165 * @param ciphertext A byte array of length `ciphertext_len`. 165 * @param ciphertext A byte array of length `ciphertext_len`.
166 * @param ciphertext_len The length of the cipher text array. May be 0. 166 * @param ciphertext_len The length of the cipher text array. At least $PASS_ENCRYPTION_EXTRA_LENGTH.
167 * @param passphrase The user-provided password. 167 * @param passphrase The user-provided password.
168 * @param passphrase_len The length of the password. 168 * @param passphrase_len The length of the password.
169 * @param plaintext The plain text array to write the decrypted data to. 169 * @param plaintext The plain text array to write the decrypted data to.
@@ -246,7 +246,7 @@ class pass_Key {
246 * bytes long. 246 * bytes long.
247 * 247 *
248 * @param plaintext A byte array of length `plaintext_len`. 248 * @param plaintext A byte array of length `plaintext_len`.
249 * @param plaintext_len The length of the plain text array. May be 0. 249 * @param plaintext_len The length of the plain text array. Bigger than 0.
250 * @param ciphertext The cipher text array to write the encrypted data to. 250 * @param ciphertext The cipher text array to write the encrypted data to.
251 * 251 *
252 * @return true on success. 252 * @return true on success.
@@ -259,7 +259,7 @@ class pass_Key {
259 * $derive or $derive_with_salt. 259 * $derive or $derive_with_salt.
260 * 260 *
261 * @param ciphertext A byte array of length `ciphertext_len`. 261 * @param ciphertext A byte array of length `ciphertext_len`.
262 * @param ciphertext_len The length of the cipher text array. May be 0. 262 * @param ciphertext_len The length of the cipher text array. At least $PASS_ENCRYPTION_EXTRA_LENGTH.
263 * @param plaintext The plain text array to write the decrypted data to. 263 * @param plaintext The plain text array to write the decrypted data to.
264 * 264 *
265 * @return true on success. 265 * @return true on success.