Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1nmtbm-00052J-8T for mharc-grub-devel@gnu.org; Fri, 06 May 2022 04:46:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59320) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmtbk-00050P-Ms for grub-devel@gnu.org; Fri, 06 May 2022 04:46:40 -0400 Received: from mail-vs1-xe30.google.com ([2607:f8b0:4864:20::e30]:37470) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nmtbi-0003wr-VL for grub-devel@gnu.org; Fri, 06 May 2022 04:46:40 -0400 Received: by mail-vs1-xe30.google.com with SMTP id t85so6523669vst.4 for ; Fri, 06 May 2022 01:46:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=efficientek-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lUsNFh8ZwEPZ2KpVE8/WJ0Ujy3cK7ba6BBLWLpJkduc=; b=s+5kmri+KtN3KPdeun4t2YO7XvbVYARopPJP6ZakX1C/lmoJRg4f6Yc0KhlfwoJMys Mprl42/W/17xwWruAdef3tPIDf3H8LhKIAkozc3W6kpqbIhgpci9/PD6+zdtFbxsaRh8 Dyt8VLkyGHsQkhz/iHpoYXzRIWmu229uZYEFa0dzgULaCP3By4jyVqkwbdk4eY5ctfxO CdfZWzJvc3OB7F3zfHC5ud/jKgpdIJ/Ir+PWvdLjw54gMUFEXPR06e4KsPiS7BGThOlZ xqbsoZSEIEKOFFSCOfik+OhyTfpByR9hej8kZbGyiu6Utj+7SRAqsBURYFyS5ITTwmhq LxqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lUsNFh8ZwEPZ2KpVE8/WJ0Ujy3cK7ba6BBLWLpJkduc=; b=IjkqvSU0D5ww2YS4/F1LafT4ZjQS1djPOXwOv3jN7pniKDRIwBZaTfS4EWNPGXzGZv uiIm+fF9GEykmHjpvU3GWctREgueidgfD38UkAx+SnsTxFvEwe7hPm5wDyGMriNdX69A bcWwuuVrdXilj8QuLe2Ba8xkor+p1q/CQ/gMNR+z/jyZB4Fd8kaMVheuMhkmnOClo2P8 5S9UscrnH2PNUfu52/4fAKDDqGYGxDrLiSEp9KcvKCOjhBVj5QPyAgZx23X54JCRY97S WgKlGlPT2PVwiDtcFkkTdUlVs+Zn0WcKshvj5NCavHKwI+oM9PAG6Q6tUqYBq6R1wvsO paLw== X-Gm-Message-State: AOAM532lfMjdCxcEvQOrec2JN5ZagND0ofQDzxhrCs5Qq9dgFFdPkH87 gVESjShohFALrxEmx+tgkiEYBgyT15PF+GEc X-Google-Smtp-Source: ABdhPJz0zKTmeRa2FhbH8wSarADpJO6UtpFXX3yeSr85OPhCEyegUEJLAZ38BFWrDrrNkfKTiySp5g== X-Received: by 2002:a05:6102:1cc:b0:32c:de18:3115 with SMTP id s12-20020a05610201cc00b0032cde183115mr604354vsq.31.1651826797779; Fri, 06 May 2022 01:46:37 -0700 (PDT) Received: from localhost.localdomain ([37.218.244.249]) by smtp.gmail.com with ESMTPSA id t19-20020ab06993000000b00362c5d5a021sm657136uaq.32.2022.05.06.01.46.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 May 2022 01:46:37 -0700 (PDT) From: Glenn Washburn To: grub-devel@gnu.org, Daniel Kiper Cc: Denis 'GNUtoo' Carikli , Patrick Steinhardt , John Lane , Daniel Kiper Subject: [PATCH 1/4] cryptodisk: luks: Unify grub_cryptodisk_dev function names Date: Fri, 6 May 2022 03:45:57 -0500 Message-Id: <245037a9de8bbee886185736b4ddf8d325b9707c.1651825861.git.development@efficientek.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::e30; envelope-from=development@efficientek.com; helo=mail-vs1-xe30.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 May 2022 08:46:41 -0000 From: Denis 'GNUtoo' Carikli Signed-off-by: Denis 'GNUtoo' Carikli Reviewed-by: Patrick Steinhardt Reviewed-by: Daniel Kiper --- grub-core/disk/luks.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/grub-core/disk/luks.c b/grub-core/disk/luks.c index 46ae734ef..7f837d52c 100644 --- a/grub-core/disk/luks.c +++ b/grub-core/disk/luks.c @@ -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 }; -- 2.34.1