From 47812a92d042e8deb2ef8c6c8209aa70453f1177 Mon Sep 17 00:00:00 2001 From: Michael Savage Date: Thu, 7 Dec 2017 01:09:56 +0200 Subject: [PATCH] "can happen because of" -> "can be caused by" --- doc/man/man3/crypto_lock.3monocypher | 4 ++-- doc/man/man3/crypto_lock_init.3monocypher | 9 +++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/doc/man/man3/crypto_lock.3monocypher b/doc/man/man3/crypto_lock.3monocypher index 170b353..50afe87 100644 --- a/doc/man/man3/crypto_lock.3monocypher +++ b/doc/man/man3/crypto_lock.3monocypher @@ -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 diff --git a/doc/man/man3/crypto_lock_init.3monocypher b/doc/man/man3/crypto_lock_init.3monocypher index b692347..6f4f1bc 100644 --- a/doc/man/man3/crypto_lock_init.3monocypher +++ b/doc/man/man3/crypto_lock_init.3monocypher @@ -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 -- 2.47.3