Searched refs:cert_chain_length (Results 1 – 5 of 5) sorted by relevance
/trusty/user/app/keymaster/device_unittest/ |
D | main.cpp | 104 uint32_t cert_chain_length; in TestCertChainStorage() local 115 error = ss_manager->ReadCertChainLength(key_slot, &cert_chain_length); in TestCertChainStorage() 118 ASSERT_EQ(3, cert_chain_length); in TestCertChainStorage() 120 ASSERT_EQ(i + 1, cert_chain_length); in TestCertChainStorage() 140 uint32_t cert_chain_length; in TestCertStorageInvalid() local 144 error = ss_manager->ReadCertChainLength(key_slot, &cert_chain_length); in TestCertStorageInvalid() 146 ASSERT_EQ(0, cert_chain_length); in TestCertStorageInvalid() 156 error = ss_manager->ReadCertChainLength(key_slot, &cert_chain_length); in TestCertStorageInvalid() 158 ASSERT_EQ(0, cert_chain_length); in TestCertStorageInvalid() 165 uint32_t cert_chain_length; in DeleteAttestationData() local [all …]
|
/trusty/user/app/keymaster/host_unittest/ |
D | main.cpp | 110 uint32_t cert_chain_length; in TestCertChainStorage() local 124 error = ss_manager->ReadCertChainLength(key_slot, &cert_chain_length); in TestCertChainStorage() 127 ASSERT_EQ(3, cert_chain_length); in TestCertChainStorage() 129 ASSERT_EQ(i + 1, cert_chain_length); in TestCertChainStorage() 155 uint32_t cert_chain_length; in TestCertStorageInvalid() local 163 error = ss_manager->ReadCertChainLength(key_slot, &cert_chain_length); in TestCertStorageInvalid() 165 ASSERT_EQ(0, cert_chain_length); in TestCertStorageInvalid() 175 error = ss_manager->ReadCertChainLength(key_slot, &cert_chain_length); in TestCertStorageInvalid() 177 ASSERT_EQ(0, cert_chain_length); in TestCertStorageInvalid() 184 uint32_t cert_chain_length; in DeleteAttestationData() local [all …]
|
/trusty/user/app/keymaster/ |
D | trusty_keymaster.cpp | 231 uint32_t cert_chain_length = 0; in ClearAttestationCertChain() local 232 err = ss_manager->ReadCertChainLength(key_slot, &cert_chain_length); in ClearAttestationCertChain() 238 if (cert_chain_length != 0) { in ClearAttestationCertChain() 278 uint32_t cert_chain_length = 0; in AppendAttestationCertChain() local 279 if (ss_manager->ReadCertChainLength(key_slot, &cert_chain_length) != in AppendAttestationCertChain() 282 cert_chain_length = 0; in AppendAttestationCertChain() 285 cert_chain_length); in AppendAttestationCertChain()
|
D | secure_storage_manager.h | 131 uint32_t cert_chain_length); 138 uint32_t* cert_chain_length);
|
D | secure_storage_manager.cpp | 251 uint32_t cert_chain_length = attestation_key->certs_count; in ReadCertChainFromStorage() local 252 cert_chain->entry_count = cert_chain_length; in ReadCertChainFromStorage() 253 if (cert_chain_length == 0) { in ReadCertChainFromStorage() 258 new (std::nothrow) keymaster_blob_t[cert_chain_length]; in ReadCertChainFromStorage() 263 sizeof(keymaster_blob_t) * cert_chain_length); in ReadCertChainFromStorage() 265 for (size_t i = 0; i < cert_chain_length; i++) { in ReadCertChainFromStorage() 299 uint32_t* cert_chain_length) { in ReadCertChainLength() argument 307 *cert_chain_length = attestation_key->certs_count; in ReadCertChainLength()
|