From b6b4ea5fd1ee71062c05b89bd606d869ebc33517 Mon Sep 17 00:00:00 2001 From: Vladimir 'phcoder' Serbinenko Date: Sun, 24 Apr 2011 02:37:23 +0200 Subject: [PATCH] Add IDs for more ciphers --- grub-core/disk/geli.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/grub-core/disk/geli.c b/grub-core/disk/geli.c index 7d0c8621f..843eb7d90 100644 --- a/grub-core/disk/geli.c +++ b/grub-core/disk/geli.c @@ -81,7 +81,14 @@ struct grub_geli_phdr } __attribute__ ((packed)); const char *algorithms[] = { + [0x01] = "des", + [0x02] = "3des", + [0x03] = "blowfish", + [0x04] = "cast5", + /* 0x05 is skipjack, but we don't have it. */ [0x0b] = "aes", + /* 0x10 is null. */ + [0x15] = "camellia128", }; #define MAX_PASSPHRASE 256