diff options
author | Eric Biggers <ebiggers@google.com> | 2020-11-14 00:19:18 +0300 |
---|---|---|
committer | Eric Biggers <ebiggers@google.com> | 2020-11-24 06:30:14 +0300 |
commit | bde493349025ca0559e2fff88592935af3b8df19 (patch) | |
tree | e1be04244bfc62c317c1e8b77c2bfbd9ac838bdb /include/dt-bindings/reset/stm32mp1-resets.h | |
parent | ed45e201649344412445d6f65f0473a6112f0bcd (diff) | |
download | linux-bde493349025ca0559e2fff88592935af3b8df19.tar.xz |
fs-verity: move structs needed for file signing to UAPI header
Although it isn't used directly by the ioctls,
"struct fsverity_descriptor" is required by userspace programs that need
to compute fs-verity file digests in a standalone way. Therefore
it's also needed to sign files in a standalone way.
Similarly, "struct fsverity_formatted_digest" (previously called
"struct fsverity_signed_digest" which was misleading) is also needed to
sign files if the built-in signature verification is being used.
Therefore, move these structs to the UAPI header.
While doing this, try to make it clear that the signature-related fields
in fsverity_descriptor aren't used in the file digest computation.
Acked-by: Luca Boccassi <luca.boccassi@microsoft.com>
Link: https://lore.kernel.org/r/20201113211918.71883-5-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>
Diffstat (limited to 'include/dt-bindings/reset/stm32mp1-resets.h')
0 files changed, 0 insertions, 0 deletions