crypto: delete built-in XTS cipher mode support
authorDaniel P. Berrangé <berrange@redhat.com>
Fri, 2 Jul 2021 16:00:32 +0000 (17:00 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Wed, 14 Jul 2021 13:15:52 +0000 (14:15 +0100)
commit6801404429d51b260e08c6ad54dbf3ac430016db
tree60727eadf0242895310f7dc98551949a7cd61aaa
parent21407ddf967f9b6f9ea22ab3a1644f6b29d53255
crypto: delete built-in XTS cipher mode support

The built-in AES+XTS implementation is used for the LUKS encryption
When building system emulators it is reasonable to expect that an
external crypto library is being used instead. The performance of the
builtin XTS implementation is terrible as it has no CPU acceleration
support. It is thus not worth keeping a home grown XTS implementation
for the built-in cipher backend.

Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
crypto/cipher-builtin.c.inc
crypto/meson.build
meson.build