Home
last modified time | relevance | path

Searched refs:HexToBytes (Results 1 – 4 of 4) sorted by relevance

/system/core/fs_mgr/libfs_avb/tests/
Dutil_test.cpp33 using android::fs_mgr::HexToBytes;
106 TEST(BasicUtilTest, HexToBytes) { in TEST() argument
110 EXPECT_TRUE(HexToBytes((uint8_t*)bytes, sizeof(bytes), hex)); in TEST()
120 EXPECT_TRUE(HexToBytes((uint8_t*)bytes, sizeof(bytes), hex)); in TEST()
143 EXPECT_FALSE(HexToBytes((uint8_t*)bytes, sizeof(bytes), hex)); in TEST()
150 EXPECT_FALSE(HexToBytes((uint8_t*)bytes, sizeof(bytes), hex)); in TEST()
/system/core/fs_mgr/libfs_avb/
Dutil.h57 bool HexToBytes(uint8_t* bytes, size_t bytes_len, const std::string& hex);
Dutil.cpp52 bool HexToBytes(uint8_t* bytes, size_t bytes_len, const std::string& hex) { in HexToBytes() function
Dfs_avb.cpp143 if (!HexToBytes(avb_verifier->digest_, sizeof(avb_verifier->digest_), digest)) { in Create()