diff --git a/doc/man3/EVP_EncryptInit.pod b/doc/man3/EVP_EncryptInit.pod index 53ce50b19f..f1e4db92fd 100644 --- a/doc/man3/EVP_EncryptInit.pod +++ b/doc/man3/EVP_EncryptInit.pod @@ -1304,15 +1304,18 @@ return 1 for success and 0 for failure. EVP_DecryptInit_ex2() and EVP_DecryptUpdate() return 1 for success and 0 for failure. EVP_DecryptFinal_ex() returns 0 if the decrypt failed or 1 for success. -EVP_CipherInit_ex2() and EVP_CipherUpdate() return 1 for success and 0 for failure. -EVP_CipherFinal_ex() returns 0 for a decryption failure or 1 for success. +EVP_CipherInit_ex2() and EVP_CipherUpdate() return 1 for success and 0 for +failure. +EVP_CipherFinal_ex() returns 0 for an encryption/decryption failure or 1 for +success. EVP_Cipher() returns 1 on success and <= 0 on failure, if the flag B is not set for the cipher, or if the cipher has not been initialized via a call to B. -EVP_Cipher() returns the number of bytes written to I for encryption / decryption, or -the number of bytes authenticated in a call specifying AAD for an AEAD cipher, if the flag -B is set for the cipher. +EVP_Cipher() returns the number of bytes written to I for +encryption/decryption, or the number of bytes authenticated in a call specifying +AAD for an AEAD cipher, if the flag B is set for +the cipher. EVP_CIPHER_CTX_reset() returns 1 for success and 0 for failure.