Increment the input and output position for EVP AES CFB1.
authorjsing <jsing@openbsd.org>
Sat, 10 Sep 2022 17:45:10 +0000 (17:45 +0000)
committerjsing <jsing@openbsd.org>
Sat, 10 Sep 2022 17:45:10 +0000 (17:45 +0000)
commit22d8895c4f65cd0dbbcfcfdf4da33f5b0b4a7e5b
treef3131a1fbd3bc1958e8e36018c1a4e13495e0302
parent7a606269dcb36c62043465a6e9c3e91542bf07b9
Increment the input and output position for EVP AES CFB1.

The length is decremented, however the input is repeatedly read from and
output written to the same position. Correct this by actually incrementing
the input and output pointers.

Found via OpenSSL 604e591ed7,

ok tb@
lib/libcrypto/evp/e_aes.c