OSDN Git Service

fs-verity: rename fsverity_signed_digest to fsverity_formatted_digest
authorEric Biggers <ebiggers@google.com>
Fri, 13 Nov 2020 21:19:16 +0000 (13:19 -0800)
committerEric Biggers <ebiggers@google.com>
Mon, 16 Nov 2020 19:40:11 +0000 (11:40 -0800)
commit9e90f30e78572ecfc1c74c735a034c955d822ba6
tree8c0ae5ac827947af989bd3fc195011430c38d259
parent7bf765dd8442d2b482803f50613b9c2543491f4a
fs-verity: rename fsverity_signed_digest to fsverity_formatted_digest

The name "struct fsverity_signed_digest" is causing confusion because it
isn't actually a signed digest, but rather it's the way that the digest
is formatted in order to be signed.  Rename it to
"struct fsverity_formatted_digest" to prevent this confusion.

Also update the struct's comment to clarify that it's specific to the
built-in signature verification support and isn't a requirement for all
fs-verity users.

I'll be renaming this struct in fsverity-utils too.

Acked-by: Luca Boccassi <luca.boccassi@microsoft.com>
Link: https://lore.kernel.org/r/20201113211918.71883-3-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>
Documentation/filesystems/fsverity.rst
fs/verity/fsverity_private.h
fs/verity/signature.c