Home
last modified time | relevance | path

Searched refs:certificate_chain (Results 1 – 9 of 9) sorted by relevance

/system/keymaster/android_keymaster/
Dandroid_keymaster_messages.cpp482 for (size_t i = 0; i < certificate_chain.entry_count; ++i) in ~AttestKeyResponse()
483 delete[] certificate_chain.entries[i].data; in ~AttestKeyResponse()
484 delete[] certificate_chain.entries; in ~AttestKeyResponse()
492 if (certificate_chain.entries) { in AllocateChain()
493 for (size_t i = 0; i < certificate_chain.entry_count; ++i) in AllocateChain()
494 delete[] certificate_chain.entries[i].data; in AllocateChain()
495 delete[] certificate_chain.entries; in AllocateChain()
498 certificate_chain.entry_count = entry_count; in AllocateChain()
499 certificate_chain.entries = new (std::nothrow) keymaster_blob_t[entry_count]; in AllocateChain()
500 if (!certificate_chain.entries) { in AllocateChain()
[all …]
Dandroid_keymaster.cpp414 response->certificate_chain = *certchain; in AttestKey()
/system/keymaster/tests/
Dandroid_keymaster_messages_test.cpp582 msg.certificate_chain.entries[0] = {dup_buffer("foo", 3), 3}; in TEST()
583 msg.certificate_chain.entries[1] = {dup_buffer("bar", 3), 3}; in TEST()
584 msg.certificate_chain.entries[2] = {dup_buffer("baz", 3), 3}; in TEST()
587 keymaster_cert_chain_t* chain = &deserialized->certificate_chain; in TEST()
/system/keymaster/include/keymaster/
Dandroid_keymaster_messages.h626 certificate_chain.entry_count = 0; in KeymasterResponse()
627 certificate_chain.entries = nullptr; in KeymasterResponse()
637 keymaster_cert_chain_t certificate_chain; member
/system/core/trusty/keymaster/3.0/
DTrustyKeymaster3Device.cpp328 resultCertChain = kmCertChain2Hidl(response.certificate_chain); in attestKey()
/system/keymaster/ng/
DAndroidKeymaster3Device.cpp370 resultCertChain = kmCertChain2Hidl(response.certificate_chain); in attestKey()
DAndroidKeymaster4Device.cpp442 resultCertChain = kmCertChain2Hidl(response.certificate_chain); in attestKey()
/system/core/trusty/keymaster/4.0/
DTrustyKeymaster4Device.cpp469 resultCertChain = kmCertChain2Hidl(response.certificate_chain); in attestKey()
/system/keymaster/contexts/
Dsoft_keymaster_device.cpp1099 keymaster_cert_chain_t& rsp_chain = response.certificate_chain; in attest_key()