]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
doc: Correctly reflect parameter constraints in EVP_DecryptUpdate()
authorPatrick J. LoPresti <lopresti@gmail.com>
Tue, 17 Dec 2024 23:46:04 +0000 (15:46 -0800)
committerTomas Mraz <tomas@openssl.org>
Thu, 19 Dec 2024 09:57:00 +0000 (10:57 +0100)
Fixes #26169

CLA: trivial

Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26202)

doc/man3/EVP_EncryptInit.pod

index f388a0a9c3db4c8704ff5af8d58fb4951d9960aa..1a1e4cf1e4348c23d9ded3f8beb26b90a737daa9 100644 (file)
@@ -439,10 +439,7 @@ and EVP_DecryptFinal_ex()
 These functions are the corresponding decryption operations.
 EVP_DecryptFinal() will return an error code if padding is enabled and the
 final block is not correctly formatted. The parameters and restrictions are
-identical to the encryption operations except that if padding is enabled the
-decrypted data buffer I<out> passed to EVP_DecryptUpdate() should have
-sufficient room for (I<inl> + cipher_block_size) bytes unless the cipher block
-size is 1 in which case I<inl> bytes is sufficient. I<ctx> B<MUST NOT> be NULL.
+identical to the encryption operations. I<ctx> B<MUST NOT> be NULL.
 
 =item EVP_CipherInit_ex2(), EVP_CipherInit_ex(), EVP_CipherUpdate() and
 EVP_CipherFinal_ex()