summaryrefslogtreecommitdiff
path: root/fs/verity/signature.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2023-07-06 00:17:19 +0300
committerEric Biggers <ebiggers@google.com>2023-07-12 08:49:18 +0300
commit5d37a1198068b099de47073411efc087d1b555ca (patch)
tree39624be68b704374ef11cfb3f53bc392a4143497 /fs/verity/signature.c
parent06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5 (diff)
downloadlinux-5d37a1198068b099de47073411efc087d1b555ca.tar.xz
fsverity: explicitly check that there is no algorithm 0
Since libfsverity and some other code would break if 0 is ever allocated as an FS_VERITY_HASH_ALG_* value, make fsverity_check_hash_algs() explicitly check that there is no algorithm 0. Link: https://lore.kernel.org/r/20230705211719.37713-1-ebiggers@kernel.org Signed-off-by: Eric Biggers <ebiggers@google.com>
Diffstat (limited to 'fs/verity/signature.c')
0 files changed, 0 insertions, 0 deletions