]> www.infradead.org Git - users/hch/xfstests-dev.git/commit
fscrypt-crypt-util: fix KDF contexts for SM8650
authorEric Biggers <ebiggers@google.com>
Sat, 18 Jan 2025 07:23:36 +0000 (23:23 -0800)
committerZorro Lang <zlang@kernel.org>
Tue, 11 Feb 2025 10:05:47 +0000 (18:05 +0800)
commita18fe0c141b0bddfe2da40cb4faf7ceebe6b9224
tree8748e2e97bb3466badad8dab1efa18270d0fd087
parent27266caa0927bc3a0f6df1380d4518d35a640bfd
fscrypt-crypt-util: fix KDF contexts for SM8650

Update the KDF contexts to match those actually used on SM8650.  This
turns out to be needed for the hardware-wrapped key tests generic/368
and generic/369 to pass on the SM8650 HDK (now that I have one to
actually test it).  Apparently the contexts changed between the
prototype version I tested a couple years ago and the final version.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
src/fscrypt-crypt-util.c