Home
last modified time | relevance | path

Searched refs:salt_ (Results 1 – 6 of 6) sorted by relevance

/system/keymaster/km_openssl/
Dkdf.cpp50 salt_.reset(dup_buffer(salt, salt_len)); in Init()
51 if (!salt_.get()) in Init()
54 salt_.reset(); in Init()
Dhkdf.cpp35 if (salt_.get() != nullptr && salt_len_ > 0) { in GenerateKey()
36 result = prk_hmac.Init(salt_.get(), salt_len_); in GenerateKey()
/system/extras/libfec/test/
Dfec_unittest.cpp45 salt_ = std::vector<uint8_t>(64, 10); in BuildHashtree()
46 ASSERT_TRUE(builder.Initialize(image_.size(), salt_)); in BuildHashtree()
76 HashTreeBuilder::BytesArrayToString(salt_), in BuildAndAppendsVerityMetadata()
107 salt_ = std::vector<uint8_t>(64, 10); in AddAvbHashtreeFooter()
110 "--salt", HashTreeBuilder::BytesArrayToString(salt_), in AddAvbHashtreeFooter()
120 std::vector<uint8_t> salt_; member in FecUnitTest
146 ASSERT_EQ(salt_, handle->hashtree().salt); in TEST_F()
235 ASSERT_EQ(salt_, handle->hashtree().salt); in TEST_F()
/system/keymaster/include/keymaster/km_openssl/
Dkdf.h44 UniquePtr<uint8_t[]> salt_; variable
/system/extras/verity/
Dhash_tree_builder.cpp112 salt_ = salt; in Initialize()
143 ret &= EVP_DigestUpdate(mdctx, salt_.data(), salt_.size()); in HashBlock()
/system/extras/verity/include/verity/
Dhash_tree_builder.h88 std::vector<unsigned char> salt_; variable