Searched refs:HexToBytes (Results 1 – 4 of 4) sorted by relevance
/system/core/fs_mgr/libfs_avb/tests/ |
D | util_test.cpp | 33 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/ |
D | util.h | 57 bool HexToBytes(uint8_t* bytes, size_t bytes_len, const std::string& hex);
|
D | util.cpp | 52 bool HexToBytes(uint8_t* bytes, size_t bytes_len, const std::string& hex) { in HexToBytes() function
|
D | fs_avb.cpp | 143 if (!HexToBytes(avb_verifier->digest_, sizeof(avb_verifier->digest_), digest)) { in Create()
|