From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A41A1C43333 for ; Sun, 22 Mar 2020 03:30:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 705E020709 for ; Sun, 22 Mar 2020 03:30:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1584847853; bh=3HjG+LC0YneyZEHxHPIPqf1PbiHJjwqiDhM+dJyev2o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=YdT9DlhmeJEUfyub5Rl5tm6lPDXhr5DWn/jSRmW8DWXBth1WnEGVbl6I8PTGGVkc8 E0Sc/PZtNxkupI5B+woNocomFsF+XVFFEF+Bt2GHgML5JZQZ57+h/XOryUsLlFiAqp LpMBasDAtbV18pCeAjYSfidtghiVKON0VaR/L/bc= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728035AbgCVDaw (ORCPT ); Sat, 21 Mar 2020 23:30:52 -0400 Received: from mail.kernel.org ([198.145.29.99]:46946 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727296AbgCVDaw (ORCPT ); Sat, 21 Mar 2020 23:30:52 -0400 Received: from sol.localdomain (c-107-3-166-239.hsd1.ca.comcast.net [107.3.166.239]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C18E420637; Sun, 22 Mar 2020 03:30:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1584847852; bh=3HjG+LC0YneyZEHxHPIPqf1PbiHJjwqiDhM+dJyev2o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=wKi+3FlFpKcm/XbFj/gDG939p2/gnEFz2hyRdrCyommDW0pcnZHUS3j37eD4jiXzO NziKuDBMgksbob4GMnetkGP68K0vQbn0X8vU6TbZD3axIyVXdRTYD15/GTTSZJhH7V T8+DsXuImYSkuqw3m1AKqdTDACPS6epelrY/Zxdk= Date: Sat, 21 Mar 2020 20:30:50 -0700 From: Eric Biggers To: linux-fscrypt@vger.kernel.org Cc: linux-fsdevel@vger.kernel.org, linux-api@vger.kernel.org, linux-ext4@vger.kernel.org, linux-mtd@lists.infradead.org, linux-f2fs-devel@lists.sourceforge.net Subject: Re: [PATCH 0/4] fscrypt: add ioctl to get file's encryption nonce Message-ID: <20200322033050.GA111151@sol.localdomain> References: <20200314205052.93294-1-ebiggers@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200314205052.93294-1-ebiggers@kernel.org> Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Sat, Mar 14, 2020 at 01:50:48PM -0700, Eric Biggers wrote: > This patchset adds an ioctl FS_IOC_GET_ENCRYPTION_NONCE which retrieves > the nonce from an encrypted file or directory. > > This is useful for automated ciphertext verification testing. > > See patch #1 for more details. > > Eric Biggers (4): > fscrypt: add FS_IOC_GET_ENCRYPTION_NONCE ioctl > ext4: wire up FS_IOC_GET_ENCRYPTION_NONCE > f2fs: wire up FS_IOC_GET_ENCRYPTION_NONCE > ubifs: wire up FS_IOC_GET_ENCRYPTION_NONCE > > Documentation/filesystems/fscrypt.rst | 11 +++++++++++ > fs/crypto/fscrypt_private.h | 20 ++++++++++++++++++++ > fs/crypto/keysetup.c | 16 ++-------------- > fs/crypto/policy.c | 21 ++++++++++++++++++++- > fs/ext4/ioctl.c | 6 ++++++ > fs/f2fs/file.c | 11 +++++++++++ > fs/ubifs/ioctl.c | 4 ++++ > include/linux/fscrypt.h | 6 ++++++ > include/uapi/linux/fscrypt.h | 1 + > 9 files changed, 81 insertions(+), 15 deletions(-) > Applied to fscrypt.git#master for 5.7. - Eric