]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
Add IDs for more ciphers
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sun, 24 Apr 2011 00:37:23 +0000 (02:37 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sun, 24 Apr 2011 00:37:23 +0000 (02:37 +0200)
grub-core/disk/geli.c

index 7d0c8621ffdd6a6260d459cb28d42570842f71af..843eb7d907dbd688d5e92426564885b7e6a012fa 100644 (file)
@@ -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