Searched refs:salt_ (Results 1 – 6 of 6) sorted by relevance
/system/keymaster/km_openssl/ |
D | kdf.cpp | 50 salt_.reset(dup_buffer(salt, salt_len)); in Init() 51 if (!salt_.get()) in Init() 54 salt_.reset(); in Init()
|
D | hkdf.cpp | 35 if (salt_.get() != nullptr && salt_len_ > 0) { in GenerateKey() 36 result = prk_hmac.Init(salt_.get(), salt_len_); in GenerateKey()
|
/system/extras/libfec/test/ |
D | fec_unittest.cpp | 45 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/ |
D | kdf.h | 44 UniquePtr<uint8_t[]> salt_; variable
|
/system/extras/verity/ |
D | hash_tree_builder.cpp | 112 salt_ = salt; in Initialize() 143 ret &= EVP_DigestUpdate(mdctx, salt_.data(), salt_.size()); in HashBlock()
|
/system/extras/verity/include/verity/ |
D | hash_tree_builder.h | 88 std::vector<unsigned char> salt_; variable
|