Home
last modified time | relevance | path

Searched refs:chain (Results 1 – 6 of 6) sorted by relevance

/trusty/user/app/keymint/secure_storage_manager/
Dsoftware.rs353 chain: Vec<keymint::Certificate>, field
366 chain: vec![ in new()
381 chain: vec![ in new()
404 SigningAlgorithm::Rsa => self.rsa_info.chain.clone(), in cert_chain()
405 SigningAlgorithm::Ec => self.ec_info.chain.clone(), in cert_chain()
/trusty/user/app/keymaster/host_unittest/
Dmain.cpp111 CertificateChain chain; in TestCertChainStorage() local
133 error = ss_manager->ReadCertChainFromStorage(key_slot, &chain); in TestCertChainStorage()
135 ASSERT_EQ(CHAIN_LENGTH, chain.entry_count); in TestCertChainStorage()
137 ASSERT_EQ(DATA_SIZE, chain.entries[i].data_length); in TestCertChainStorage()
138 ASSERT_EQ(0, memcmp(write_cert[i].get(), chain.entries[i].data, in TestCertChainStorage()
144 chain.Clear(); in TestCertChainStorage()
145 error = ss_manager->ReadCertChainFromStorage(key_slot, &chain); in TestCertChainStorage()
147 ASSERT_EQ(0, chain.entry_count); in TestCertChainStorage()
316 CertificateChain chain; in TestFormatChange() local
363 chain.Clear(); in TestFormatChange()
[all …]
/trusty/user/app/keymaster/
Dkeymaster_attributes.proto18 // because the compile tool chain using trusty/user/base/make/compile_proto.mk
23 // To generate the file using the tool chain in trusty tree, add the following
33 // To generate the file using your own tool chain, please follow the guide at
Dtrusty_keymaster_context.cpp1144 CertificateChain chain; in GetAttestationChain() local
1150 *error = ss_manager->ReadCertChainFromStorage(key_slot, &chain); in GetAttestationChain()
1153 if ((*error != KM_ERROR_OK) || (chain.entry_count == 0)) { in GetAttestationChain()
1155 chain = getAttestationChain(algorithm, error); in GetAttestationChain()
1158 return chain; in GetAttestationChain()
/trusty/user/app/keymaster/device_unittest/
Dmain.cpp105 CertificateChain chain; in TestCertChainStorage() local
124 error = ss_manager->ReadCertChainFromStorage(key_slot, &chain); in TestCertChainStorage()
126 ASSERT_EQ(CHAIN_LENGTH, chain.entry_count); in TestCertChainStorage()
128 ASSERT_EQ(DATA_SIZE, chain.entries[i].data_length); in TestCertChainStorage()
129 ASSERT_EQ(0, memcmp(write_cert[i].get(), chain.entries[i].data, in TestCertChainStorage()
/trusty/user/app/storage/
Dbuild-config-usertests21 # init->check->clean is a side-effectful test chain