fs-verity: add Kconfig and the helper functions for hashing
Add the beginnings of the fs/verity/ support layer, including the Kconfig option and various helper functions for hashing. To start, only SHA-256 is supported, but other hash algorithms can easily be added. Reviewed-by:Theodore Ts'o <tytso@mit.edu> Reviewed-by:
Jaegeuk Kim <jaegeuk@kernel.org> Signed-off-by:
Eric Biggers <ebiggers@google.com>
Showing
- fs/Kconfig 2 additions, 0 deletionsfs/Kconfig
- fs/Makefile 1 addition, 0 deletionsfs/Makefile
- fs/verity/Kconfig 38 additions, 0 deletionsfs/verity/Kconfig
- fs/verity/Makefile 4 additions, 0 deletionsfs/verity/Makefile
- fs/verity/fsverity_private.h 88 additions, 0 deletionsfs/verity/fsverity_private.h
- fs/verity/hash_algs.c 275 additions, 0 deletionsfs/verity/hash_algs.c
- fs/verity/init.c 41 additions, 0 deletionsfs/verity/init.c
Loading
Please register or sign in to comment