Lines Matching +full:sha +full:- +full:256
1 /* SPDX-License-Identifier: GPL-2.0 */
3 * fs-verity: read-only file-based authenticity protection
15 #define pr_fmt(fmt) "fs-verity: " fmt
25 * it's enough for over U64_MAX bytes of data using SHA-256 and 4K blocks.
30 * Largest digest size among all hash algorithms supported by fs-verity.
35 /* A hash algorithm supported by fs-verity */
39 unsigned int digest_size; /* digest size in bytes, e.g. 32 for SHA-256 */
40 unsigned int block_size; /* block size in bytes, e.g. 64 for SHA-256 */
48 unsigned int digest_size; /* same as hash_alg->digest_size */
59 * to root level ('num_levels - 1')
65 * fsverity_info - cached verity metadata for an inode
68 * and stored in ->i_verity_info; it remains until the inode is evicted. It
83 #define FS_VERITY_MAX_SIGNATURE_SIZE (FS_VERITY_MAX_DESCRIPTOR_SIZE - \