Searched refs:certificate_chain (Results 1 – 9 of 9) sorted by relevance
482 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 …]
414 response->certificate_chain = *certchain; in AttestKey()
582 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()
626 certificate_chain.entry_count = 0; in KeymasterResponse()627 certificate_chain.entries = nullptr; in KeymasterResponse()637 keymaster_cert_chain_t certificate_chain; member
328 resultCertChain = kmCertChain2Hidl(response.certificate_chain); in attestKey()
370 resultCertChain = kmCertChain2Hidl(response.certificate_chain); in attestKey()
442 resultCertChain = kmCertChain2Hidl(response.certificate_chain); in attestKey()
469 resultCertChain = kmCertChain2Hidl(response.certificate_chain); in attestKey()
1099 keymaster_cert_chain_t& rsp_chain = response.certificate_chain; in attest_key()