crypto/builtin: Remove odd-sized AES block handling
commit838e4631cb26618df8b2e3ed3d3b6801c4cd1424
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 28 Aug 2020 17:05:17 +0000 (28 10:05 -0700)
committerDaniel P. Berrangé <berrange@redhat.com>
Thu, 10 Sep 2020 10:02:23 +0000 (10 11:02 +0100)
tree717e62f9636b26c800ac0d62f9bd97c613fedb61
parente46064a4c610daf185e1de6e5210dd7556591faf
crypto/builtin: Remove odd-sized AES block handling

We verified that the data block is properly sized modulo
AES_BLOCK_SIZE within qcrypto_builtin_cipher_{en,de}crypt.
Therefore we will never have to handle odd sized blocks.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
crypto/cipher-builtin.c.inc