public inbox for fstests@vger.kernel.org
 help / color / mirror / Atom feed
From: Eric Biggers <ebiggers@kernel.org>
To: fstests@vger.kernel.org
Cc: linux-fscrypt@vger.kernel.org,
	Bartosz Golaszewski <brgl@bgdev.pl>,
	Gaurav Kashyap <quic_gaurkash@quicinc.com>
Subject: [PATCH v2 0/3] xfstests: test the fscrypt hardware-wrapped key support
Date: Thu, 12 Dec 2024 21:28:36 -0800	[thread overview]
Message-ID: <20241213052840.314921-1-ebiggers@kernel.org> (raw)

This is a refreshed version of my hardware-wrapped inline encryption key
tests from several years ago
(https://lore.kernel.org/fstests/20220228074722.77008-1-ebiggers@kernel.org/).
It applies to the latest master branch of xfstests (8467552f09e1).
It is not ready for merging yet; I am sending this out so that people
have access to the latest patches for testing.

This corresponds to the kernel patchset
"[PATCH v10 00/15] Support for hardware-wrapped inline encryption keys"
(https://lore.kernel.org/linux-fscrypt/20241213041958.202565-1-ebiggers@kernel.org/).
In theory the new tests should run and pass on the SM8650 HDK with that
kernel patchset applied.  On all other systems they should be skipped.

Eric Biggers (3):
  fscrypt-crypt-util: add hardware KDF support
  common/encrypt: support hardware-wrapped key testing
  generic: verify ciphertext with hardware-wrapped keys

 common/config            |   1 +
 common/encrypt           |  80 ++++++++++++-
 src/fscrypt-crypt-util.c | 251 +++++++++++++++++++++++++++++++++++++--
 tests/generic/900        |  24 ++++
 tests/generic/900.out    |   6 +
 tests/generic/901        |  24 ++++
 tests/generic/901.out    |   6 +
 7 files changed, 377 insertions(+), 15 deletions(-)
 create mode 100755 tests/generic/900
 create mode 100644 tests/generic/900.out
 create mode 100755 tests/generic/901
 create mode 100644 tests/generic/901.out


base-commit: 8467552f09e1672a02712653b532a84bd46ea10e
-- 
2.47.1


             reply	other threads:[~2024-12-13  5:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-13  5:28 Eric Biggers [this message]
2024-12-13  5:28 ` [PATCH v2 1/3] fscrypt-crypt-util: add hardware KDF support Eric Biggers
2024-12-13  5:28 ` [PATCH v2 2/3] common/encrypt: support hardware-wrapped key testing Eric Biggers
2024-12-13  5:28 ` [PATCH v2 3/3] generic: verify ciphertext with hardware-wrapped keys Eric Biggers
2025-01-07 13:59 ` [PATCH v2 0/3] xfstests: test the fscrypt hardware-wrapped key support Zorro Lang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241213052840.314921-1-ebiggers@kernel.org \
    --to=ebiggers@kernel.org \
    --cc=brgl@bgdev.pl \
    --cc=fstests@vger.kernel.org \
    --cc=linux-fscrypt@vger.kernel.org \
    --cc=quic_gaurkash@quicinc.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox