crypto/gcrypt: Split QCryptoCipherGcrypt into subclasses
commit1b010d9339497b081c3b8ab4f98b2a21f2cae08d
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 28 Aug 2020 17:05:23 +0000 (28 10:05 -0700)
committerDaniel P. Berrangé <berrange@redhat.com>
Thu, 10 Sep 2020 10:02:23 +0000 (10 11:02 +0100)
treeb9d4fa22c8f2ff80578c155def5e3881778ba101
parent53ddad9b8398ef95c38f60d849aa9edf85a07282
crypto/gcrypt: Split QCryptoCipherGcrypt into subclasses

With gcrypt, most of the dispatch happens in the library,
so there aren't many classes to create.  However, we can
still create separate dispatch for CTR mode, and for
CONFIG_QEMU_PRIVATE_XTS, which avoids needing to check
for these modes at runtime.

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