aesdec: Fix padding removal for per-buffer-padding=FALSE
authorJan Schmidt <jan@centricular.com>
Mon, 14 Nov 2022 13:11:15 +0000 (00:11 +1100)
committerJan Schmidt <jan@centricular.com>
Mon, 14 Nov 2022 13:13:15 +0000 (00:13 +1100)
commit452890093dee82d1d1ad1c4155beabcecb50c660
tree43b4ef4cd1cb8db23d9225c6b574d4b534f556b0
parent9e74c728cb3b57772a3542536beb279ffa7cf228
aesdec: Fix padding removal for per-buffer-padding=FALSE

When per-buffer-padding is FALSE, the OpenSSL context needs
to be told to remove any padding at the end of the ciphertext

Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1243

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3406>
subprojects/gst-plugins-bad/ext/aes/gstaesdec.c