Searched refs:salt_ (Results 1 – 6 of 6) sorted by relevance
/system/keymaster/km_openssl/ |
D | kdf.cpp | 48 salt_.reset(dup_buffer(salt, salt_len)); in Init() 49 if (!salt_.get()) return false; in Init() 51 salt_.reset(); in Init()
|
D | hkdf.cpp | 33 if (salt_.get() != nullptr && salt_len_ > 0) { in GenerateKey() 34 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 | 117 salt_ = salt; in Initialize() 148 ret &= EVP_DigestUpdate(mdctx, salt_.data(), salt_.size()); in HashBlock()
|
/system/extras/verity/include/verity/ |
D | hash_tree_builder.h | 93 std::vector<unsigned char> salt_; variable
|