Searched refs:salt (Results 1 – 2 of 2) sorted by relevance
/bootable/recovery/tests/unit/ |
D | updater_test.cpp | 424 std::string salt = "aee087a5be3b982978c923f566a94613496b417f2af592639bc80d141e34dfe7"; in TEST_F() local 428 std::vector<std::string> tokens{ "compute_hash_tree", "2,128,129", "2,0,128", "sha256", salt, in TEST_F() 452 ASSERT_TRUE(HashTreeBuilder::ParseBytesArrayFromString(salt, &salt_bytes)); in TEST_F() 473 std::string salt = "aee087a5be3b982978c923f566a94613496b417f2af592639bc80d141e34dfe7"; in TEST_F() local 477 std::vector<std::string> tokens{ "compute_hash_tree", "2,128,129", "2,0,128", "sha256", salt, in TEST_F()
|
/bootable/recovery/updater/ |
D | blockimg.cpp | 1518 std::vector<unsigned char> salt; in PerformCommandComputeHashTree() local 1520 if (salt_hex.empty() || !HashTreeBuilder::ParseBytesArrayFromString(salt_hex, &salt)) { in PerformCommandComputeHashTree() 1533 if (!builder.Initialize(static_cast<int64_t>(source_ranges.blocks()) * BLOCKSIZE, salt)) { in PerformCommandComputeHashTree()
|