valga

Results 2 issues of valga

When reading from AES encrypting stream with chunk length < block size `eof()` returns `true` too early leaving a part of padding in the buffer.

Maintainer: @thess @antonlacon CC: @krant @neheb Compile tested: ramips/mt7621 Run tested: Beeline SmartBox PRO Description: Follow-up of #24746, after that build fails on some MIPS targets with `CONFIG_BUILD_PATENTED=y`: ``` mipsel-openwrt-linux-musl-gcc...

not following guidelines
needs work
stale