Lines Matching refs:salt
91 const void *salt, uint32_t block_length,
116 bool CalculateDigest(const void *buffer, size_t size, const void *salt, in CalculateDigest() argument
122 if (update_func_(&ctx, salt, salt_length) != 1) { in CalculateDigest()
155 const void *salt, int32_t block_length, in CalculateZeroDigest() argument
158 return hasher.CalculateDigest(buffer.data(), size, salt, block_length, in CalculateZeroDigest()
223 const std::vector<uint8_t> &salt, in VerifyHashtree() argument
274 if (!CalculateZeroDigest(hasher, data_block_size, salt.data(), salt.size(), in VerifyHashtree()
298 salt.data(), salt.size(), current_digest)) { in VerifyHashtree()
645 const std::string &salt_str = descriptor->salt; in TEST()
657 std::vector<uint8_t> salt, expected_digest, out_digest; in TEST() local
658 bool ok = HexToBytes(salt_str, &salt); in TEST()
673 salt.data(), descriptor->salt_len, out_digest.data())) in TEST()
772 const std::string &salt_str = descriptor->salt; in VerifyGkiComplianceV2Signature()
781 std::vector<uint8_t> salt, expected_digest, out_digest; in VerifyGkiComplianceV2Signature() local
783 bool ok = HexToBytes(salt_str, &salt); in VerifyGkiComplianceV2Signature()
792 boot_partition_vector.size(), salt.data(), in VerifyGkiComplianceV2Signature()
832 const std::string &salt_str = descriptor->salt; in TEST()
844 std::vector<uint8_t> salt, expected_digest; in TEST() local
845 bool ok = HexToBytes(salt_str, &salt); in TEST()
858 fd, descriptor->image_size, salt, descriptor->data_block_size, in TEST()
938 descriptor->salt, in TEST()