From patchwork Sun Mar 13 01:05:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Biggers X-Patchwork-Id: 12779005 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id ADE50C4321E for ; Sun, 13 Mar 2022 01:06:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233322AbiCMBHq (ORCPT ); Sat, 12 Mar 2022 20:07:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36770 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232055AbiCMBHo (ORCPT ); Sat, 12 Mar 2022 20:07:44 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50B231470DF; Sat, 12 Mar 2022 17:06:37 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id DCD8D60DD8; Sun, 13 Mar 2022 01:06:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 35773C340F5; Sun, 13 Mar 2022 01:06:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1647133596; bh=k4S5di8zkPHlytVqNzUKf65R4jUD1HKT508FSPuOsA8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DDbbwEPJT1hHytorHuv4AbNo+VIoPSYjfv0phRFw6m4LoSFQeMf9jhRnhvegRj8rH NbuRKHLfxZcwORev1Qych11LAYbPTUtoEMvAWaHpE/RiyidcP5BoPhGiix46x0VqKV iSy4ePqLgjfXmoRiSnCx8BqHMNF1aiyvVrbl+C43vqbjXIiA5Ls4luO/MCGbVkid3U waKyuesodWSUlBDpM3I8fKN3HYsXX9DgpZN8ZnNmjdK2x4tBQ/WFjuT8l4b0aaLcpc b6ok3wZqWkVxucCA6dzsqavyRPpkhJyOHz4hjGYrKPE8ISD3EJZZDjx/7lkt4fqOZ9 JRekqU5vskt0Q== From: Eric Biggers To: fstests@vger.kernel.org Cc: linux-fscrypt@vger.kernel.org Subject: [PATCH v2 4/5] common/encrypt: log full ciphertext verification params Date: Sat, 12 Mar 2022 17:05:58 -0800 Message-Id: <20220313010559.545995-5-ebiggers@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220313010559.545995-1-ebiggers@kernel.org> References: <20220313010559.545995-1-ebiggers@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org From: Eric Biggers To help with debugging, log some additional information to $seqres.full. Signed-off-by: Eric Biggers --- common/encrypt | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/common/encrypt b/common/encrypt index 2cf02ca0..cf402570 100644 --- a/common/encrypt +++ b/common/encrypt @@ -908,6 +908,17 @@ _verify_ciphertext_for_encryption_policy() echo -e "\tfilenames_encryption_mode: $filenames_encryption_mode" [ $# -ne 0 ] && echo -e "\toptions: $*" + cat >> $seqres.full <