]> git.ipfire.org Git - thirdparty/openssl.git/commit
BIO_f_cipher(): Increase internal buffer size used by CipherUpdate()
authorslontis <shane.lontis@oracle.com>
Wed, 4 Feb 2026 22:28:34 +0000 (09:28 +1100)
committerPauli <paul.dale@oracle.com>
Fri, 6 Feb 2026 07:42:03 +0000 (18:42 +1100)
commit59147c96d2f010e5dd9d34fafef089b55ad4b5bb
tree92ef74868ea9f15df21c19e192b36d08db45cb05
parentcb095dd513778ca206759fa34335b1bade8342f5
BIO_f_cipher(): Increase internal buffer size used by CipherUpdate()

Previously running the commandline "openssl enc -id-aes256-wrap-pad ...'
with a large PQ private key failed since AES-WRAP is not streamable,
and multiple calls to CipherUpdate() are not allowed. Increasing the
size causes CipherUpdate() to only be called once.
The size of the buffer has been changed from 4K to 8K.

Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/29940)
crypto/evp/bio_enc.c
doc/man3/BIO_f_cipher.pod