Home
last modified time | relevance | path

Searched refs:cert_chain (Results 1 – 7 of 7) sorted by relevance

/hardware/interfaces/keymaster/4.1/vts/functional/
DDeviceUniqueAttestationTest.cpp196 hidl_vec<hidl_vec<uint8_t>> cert_chain; in TEST_P() local
203 &cert_chain))); in TEST_P()
217 &cert_chain))); in TEST_P()
230 hidl_vec<hidl_vec<uint8_t>> cert_chain; in TEST_P() local
238 &cert_chain))); in TEST_P()
240 EXPECT_EQ(2U, cert_chain.size()); in TEST_P()
241 if (dumpAttestations) dumpContent(bin2hex(cert_chain[0])); in TEST_P()
242 auto [err, attestation] = parse_attestation_record(cert_chain[0]); in TEST_P()
271 hidl_vec<hidl_vec<uint8_t>> cert_chain; in TEST_P() local
279 &cert_chain))); in TEST_P()
[all …]
/hardware/interfaces/identity/aidl/vts/
DVtsAttestationParserSupport.cpp70 optional<keymaster_cert_chain_t> cert_chain = certificateChainToKeymasterChain(origCertChain_); in parse() local
71 if (!cert_chain) { in parse()
75 if (cert_chain.value().entry_count < 3) { in parse()
79 if (!verifyChain(cert_chain.value())) { in parse()
83 if (!verifyAttestationRecord(cert_chain.value().entries[0])) { in parse()
87 keymaster_free_cert_chain(&cert_chain.value()); in parse()
/hardware/libhardware/include/hardware/
Dkeymaster2.h242 keymaster_cert_chain_t* cert_chain);
/hardware/interfaces/keymaster/3.0/vts/functional/
Dkeymaster_hidl_hal_test.cpp701 hidl_vec<hidl_vec<uint8_t>>* cert_chain) { in AttestKey() argument
708 *cert_chain = hidl_cert_chain; in AttestKey()
718 hidl_vec<hidl_vec<uint8_t>>* cert_chain) { in AttestKey() argument
720 return AttestKey(key_blob_, attest_params, cert_chain); in AttestKey()
3923 hidl_vec<hidl_vec<uint8_t>> cert_chain; in TEST_P() local
3928 &cert_chain)); in TEST_P()
3929 EXPECT_GE(cert_chain.size(), 2U); in TEST_P()
3930 EXPECT_TRUE(verify_chain(cert_chain)); in TEST_P()
3935 cert_chain[0])); in TEST_P()
3952 hidl_vec<hidl_vec<uint8_t>> cert_chain; in TEST_P() local
[all …]
/hardware/interfaces/keymaster/4.0/vts/functional/
DKeymasterHidlTest.h156 hidl_vec<hidl_vec<uint8_t>>* cert_chain);
158 hidl_vec<hidl_vec<uint8_t>>* cert_chain);
Dkeymaster_hidl_hal_test.cpp4238 hidl_vec<hidl_vec<uint8_t>> cert_chain; in TEST_P() local
4243 &cert_chain)); in TEST_P()
4244 EXPECT_GE(cert_chain.size(), 2U); in TEST_P()
4251 EXPECT_TRUE(verify_chain(cert_chain, message, signature)); in TEST_P()
4255 SecLevel(), cert_chain[0])); in TEST_P()
4271 hidl_vec<hidl_vec<uint8_t>> cert_chain; in TEST_P() local
4275 &cert_chain)); in TEST_P()
4290 hidl_vec<hidl_vec<uint8_t>> cert_chain; in TEST_P() local
4295 &cert_chain)); in TEST_P()
4296 EXPECT_GE(cert_chain.size(), 2U); in TEST_P()
[all …]
DKeymasterHidlTest.cpp377 hidl_vec<hidl_vec<uint8_t>>* cert_chain) { in AttestKey() argument
384 *cert_chain = hidl_cert_chain; in AttestKey()
394 hidl_vec<hidl_vec<uint8_t>>* cert_chain) { in AttestKey() argument
396 return AttestKey(key_blob_, attest_params, cert_chain); in AttestKey()