Searched refs:salt_size (Results 1 – 10 of 10) sorted by relevance
/third_party/fsverity-utils/lib/ |
D | compute_digest.c | 29 u32 block_size, const u8 *salt, u32 salt_size) in hash_one_block() argument 37 libfsverity_hash_update(hash, salt, salt_size); in hash_one_block() 105 u32 block_size, const u8 *salt, u32 salt_size, in compute_root_hash() argument 110 const u32 padded_salt_size = roundup(salt_size, hash->alg->block_size); in compute_root_hash() 127 if (salt_size != 0) { in compute_root_hash() 131 memcpy(padded_salt, salt, salt_size); in compute_root_hash() 265 if (params->salt_size > sizeof(desc.salt)) { in libfsverity_compute_digest() 267 params->salt_size); in libfsverity_compute_digest() 270 if (params->salt_size && !params->salt) { in libfsverity_compute_digest() 303 if (params->salt_size != 0) { in libfsverity_compute_digest() [all …]
|
D | enable.c | 45 arg.salt_size = params->salt_size; in libfsverity_enable_with_sig()
|
/third_party/fsverity-utils/common/ |
D | fsverity_uapi.h | 25 __u32 salt_size; member 53 __u8 salt_size; /* size of salt in bytes; 0 if none */ member
|
/third_party/ltp/include/lapi/ |
D | fsverity.h | 26 uint32_t salt_size; member
|
/third_party/fsverity-utils/include/ |
D | libfsverity.h | 56 uint32_t salt_size; member
|
/third_party/fsverity-utils/programs/ |
D | test_compute_digest.c | 235 params.salt_size = 1000; in test_invalid_params() 413 params.salt_size = strlen(test_cases[i].salt); in main()
|
D | fsverity.c | 285 ¶ms->salt_size); in parse_tree_param()
|
/third_party/ltp/testcases/kernel/syscalls/statx/ |
D | statx09.c | 101 enable.salt_size = 0; in flag_setup()
|
/third_party/python/Lib/test/ |
D | test_hashlib.py | 600 def check_blake2(self, constructor, salt_size, person_size, key_size, argument 602 self.assertEqual(constructor.SALT_SIZE, salt_size) 603 for i in range(salt_size + 1): 605 salt = b'a' * (salt_size + 1)
|
/third_party/libbpf/.github/actions/build-selftests/ |
D | vmlinux.h | 77968 u16 salt_size; member
|