Lines Matching refs:salt
82 const void *salt, uint32_t block_length,
107 bool CalculateDigest(const void *buffer, size_t size, const void *salt, in CalculateDigest() argument
113 if (update_func_(&ctx, salt, salt_length) != 1) { in CalculateDigest()
146 const void *salt, int32_t block_length, in CalculateZeroDigest() argument
149 return hasher.CalculateDigest(buffer.data(), size, salt, block_length, in CalculateZeroDigest()
214 const std::vector<uint8_t> &salt, in VerifyHashtree() argument
265 if (!CalculateZeroDigest(hasher, data_block_size, salt.data(), salt.size(), in VerifyHashtree()
289 salt.data(), salt.size(), current_digest)) { in VerifyHashtree()
460 const std::string &salt_str = descriptor->salt; in TEST()
472 std::vector<uint8_t> salt, expected_digest; in TEST() local
473 bool ok = HexToBytes(salt_str, &salt); in TEST()
486 fd, descriptor->image_size, salt, descriptor->data_block_size, in TEST()
569 descriptor->salt, in TEST()