Home
last modified time | relevance | path

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

/system/keymaster/km_openssl/
Dkdf.cpp48 salt_.reset(dup_buffer(salt, salt_len)); in Init()
49 if (!salt_.get()) return false; in Init()
51 salt_.reset(); in Init()
Dhkdf.cpp33 if (salt_.get() != nullptr && salt_len_ > 0) { in GenerateKey()
34 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.cpp117 salt_ = salt; in Initialize()
148 ret &= EVP_DigestUpdate(mdctx, salt_.data(), salt_.size()); in HashBlock()
/system/extras/verity/include/verity/
Dhash_tree_builder.h93 std::vector<unsigned char> salt_; variable