Home
last modified time | relevance | path

Searched refs:salt_size (Results 1 – 10 of 10) sorted by relevance

/third_party/fsverity-utils/lib/
Dcompute_digest.c29 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 …]
Denable.c45 arg.salt_size = params->salt_size; in libfsverity_enable_with_sig()
/third_party/fsverity-utils/common/
Dfsverity_uapi.h25 __u32 salt_size; member
53 __u8 salt_size; /* size of salt in bytes; 0 if none */ member
/third_party/ltp/include/lapi/
Dfsverity.h26 uint32_t salt_size; member
/third_party/fsverity-utils/include/
Dlibfsverity.h56 uint32_t salt_size; member
/third_party/fsverity-utils/programs/
Dtest_compute_digest.c235 params.salt_size = 1000; in test_invalid_params()
413 params.salt_size = strlen(test_cases[i].salt); in main()
Dfsverity.c285 &params->salt_size); in parse_tree_param()
/third_party/ltp/testcases/kernel/syscalls/statx/
Dstatx09.c101 enable.salt_size = 0; in flag_setup()
/third_party/python/Lib/test/
Dtest_hashlib.py600 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/
Dvmlinux.h77968 u16 salt_size; member