Home
last modified time | relevance | path

Searched refs:bin2hex (Results 1 – 10 of 10) sorted by relevance

/hardware/interfaces/security/keymint/aidl/vts/functional/
DBootloaderStateTest.cpp140 << "Attested vbmeta digest (" << bin2hex(attestedVbmetaDigest_) in TEST_P()
141 << ") does not match computed digest (sha256: " << bin2hex(digest256) in TEST_P()
142 << ", sha512: " << bin2hex(digest512) << ")."; in TEST_P()
DSecureElementProvisioningTest.cpp63 SCOPED_TRACE(testing::Message() << "RoT: " << bin2hex(rootOfTrust)); in validateMacedRootOfTrust()
103 SCOPED_TRACE(testing::Message() << "RoT payload: " << bin2hex(payload)); in validateRootOfTrust()
DDeviceUniqueAttestationTest.cpp36 std::cout << bin2hex(cert_chain_[0].encodedCertificate) << std::endl; in CheckUniqueAttestationResults()
DKeyBlobUpgradeTest.cpp147 hexfile << bin2hex(keyblob) << "\n"; in save_keyblob()
DKeyMintAidlTestBase.h423 string bin2hex(const vector<uint8_t>& data);
DKeyMintAidlTestBase.cpp1795 EXPECT_EQ(prop_string, bin2hex(verified_boot_hash)); in verify_root_of_trust()
1975 string bin2hex(const vector<uint8_t>& data) { in bin2hex() function
2012 cert_data << bin2hex(chain[i].encodedCertificate) << std::endl; in ChainSignaturesAreValid()
DKeyMintTest.cpp2176 << "failed to verify " << bin2hex(cert_chain_[0].encodedCertificate); in TEST_P()
8527 std::cout << bin2hex(cert_chain_[n].encodedCertificate) << std::endl; in GenerateKeyMintEcKey()
8676 EXPECT_EQ(bin2hex(std::vector<uint8_t>(kmPubKeyData, kmPubKeyData + 32)), in TEST_P()
8677 bin2hex(std::vector<uint8_t>(x25519_pubkey.begin(), x25519_pubkey.end()))); in TEST_P()
/hardware/interfaces/keymaster/4.1/vts/functional/
DDeviceUniqueAttestationTest.cpp60 string bin2hex(const hidl_vec<uint8_t>& data) { in bin2hex() function
117 EXPECT_EQ(vb_meta_digest, bin2hex(root_of_trust.verified_boot_hash)); in check_root_of_trust()
283 for (auto cert_ : cert_chain) dumpContent(bin2hex(cert_)); in TEST_P()
330 for (auto cert_ : cert_chain) dumpContent(bin2hex(cert_)); in TEST_P()
389 for (auto cert_ : cert_chain) dumpContent(bin2hex(cert_)); in TEST_P()
/hardware/interfaces/keymaster/4.0/vts/functional/
Dkeymaster_hidl_hal_test.cpp148 string bin2hex(const hidl_vec<uint8_t>& data) { in bin2hex() function
329 if (dump_Attestations) std::cout << bin2hex(chain[i]) << std::endl; in verify_chain()
509 EXPECT_EQ(prop_string, bin2hex(verified_boot_hash)); in verify_attestation_record()
/hardware/interfaces/keymaster/3.0/vts/functional/
Dkeymaster_hidl_hal_test.cpp234 string bin2hex(const hidl_vec<uint8_t>& data) { in bin2hex() function
330 if (dump_Attestations) std::cout << bin2hex(chain[i]) << std::endl; in verify_chain()