From 91d8ab7f20e26ae68e94171494d7906c141de712 Mon Sep 17 00:00:00 2001 From: Milan Broz Date: Mon, 24 Apr 2023 19:29:08 +0200 Subject: [PATCH] Add Aria cipher support and block size info. Aria cipher is similar to AES and is supported in Linux kernel crypto API in recent releases. This patch just add support for internal info table. (This will cause that it is used also for keyslot encryption if specified as a cipher argument.) --- lib/crypto_backend/cipher_generic.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/crypto_backend/cipher_generic.c b/lib/crypto_backend/cipher_generic.c index b3a44079..7241ee99 100644 --- a/lib/crypto_backend/cipher_generic.c +++ b/lib/crypto_backend/cipher_generic.c @@ -51,6 +51,7 @@ static const struct cipher_alg cipher_algs[] = { { "xchacha12,aes", "adiantum", 32, false }, { "xchacha20,aes", "adiantum", 32, false }, { "sm4", NULL, 16, false }, + { "aria", NULL, 16, false }, { NULL, NULL, 0, false } };