]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
disk/luks: Unify grub_cryptodisk_dev function names
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Fri, 20 May 2022 19:32:15 +0000 (14:32 -0500)
committerDaniel Kiper <daniel.kiper@oracle.com>
Tue, 7 Jun 2022 11:04:17 +0000 (13:04 +0200)
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Reviewed-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Glenn Washburn <development@efficientek.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/disk/luks.c

index 46ae734efad638d37e50e5def3b220b0f75472b8..7f837d52c46f5ce3728721685040ea586b508e65 100644 (file)
@@ -63,7 +63,7 @@ gcry_err_code_t AF_merge (const gcry_md_spec_t * hash, grub_uint8_t * src,
                          grub_size_t blocknumbers);
 
 static grub_cryptodisk_t
-configure_ciphers (grub_disk_t disk, grub_cryptomount_args_t cargs)
+luks_scan (grub_disk_t disk, grub_cryptomount_args_t cargs)
 {
   grub_cryptodisk_t newdev;
   const char *iptr;
@@ -297,7 +297,7 @@ luks_recover_key (grub_disk_t source,
 }
 
 struct grub_cryptodisk_dev luks_crypto = {
-  .scan = configure_ciphers,
+  .scan = luks_scan,
   .recover_key = luks_recover_key
 };