]> git.codecow.com Git - Monocypher.git/commitdiff
"can happen because of" -> "can be caused by"
authorMichael Savage <mikejsavage@gmail.com>
Wed, 6 Dec 2017 23:09:56 +0000 (01:09 +0200)
committerMichael Savage <mikejsavage@gmail.com>
Wed, 6 Dec 2017 23:09:56 +0000 (01:09 +0200)
doc/man/man3/crypto_lock.3monocypher
doc/man/man3/crypto_lock_init.3monocypher

index 170b3533be706de1502e894967b8300babcf2ac7..50afe879b9c9aa36fe761ce45c96ec4d2e034db0 100644 (file)
@@ -177,8 +177,8 @@ mismatched the combination of
 .Fa ad
 and
 .Fa cipher_text ) .
-Corruption can happen because of transmission errors, programmer
-error, or an attacker's interference.
+Corruption can be caused by transmission errors, programmer error, or an
+attacker's interference.
 .Fa plain_text
 does not need to be wiped if the decryption fails.
 .Sh EXAMPLES
index b69234711c99720c8ab978d2cb36574df4b33554..6f4f1bcc20692b612addfb0e4ad25c71dac53de4 100644 (file)
@@ -64,9 +64,10 @@ and
 .Xr crypto_aead_unlock 3monocypher .
 Prefer those simpler functions if possible.
 .Pp
-This incremental interface can be used to encrypt and decrypt messages too
-large to fit in a single buffer.
-The arguments are the same as described for the direct interface described in
+This incremental interface can be used to encrypt and decrypt messages
+too large to fit in a single buffer.
+The arguments are the same as described for the direct interface
+described in
 .Xr crypto_lock 3monocypher .
 .Pp
 Encryption requires four steps:
@@ -126,7 +127,7 @@ They cannot fail.
 .Pp
 .Fn crypto_unlock_final
 returns 0 on success or -1 if the message was corrupted.
-Corruption can happen because of transmission errors, programmer error, or an
+Corruption can be caused by transmission errors, programmer error, or an
 attacker's interference.
 .Em Always check the return value .
 .Sh EXAMPLES