Searched refs:certs (Results 1 – 6 of 6) sorted by relevance
/trusty/user/app/keymaster/ |
D | keymaster_attributes.pb.c | 104 …PB_FIELD( 2, MESSAGE , REPEATED, STATIC , OTHER, AttestationKey, certs, key, &AttestationCert_fi… 125 pb_membersize(AttestationKey, certs[0]) < 65536 &&
|
D | keymaster_attributes.pb.h | 70 AttestationCert certs[3]; member
|
D | secure_storage_manager.cpp | 228 attestation_key->certs[index].content.size = cert_size; in WriteCertToStorage() 229 memcpy(attestation_key->certs[index].content.bytes, cert, cert_size); in WriteCertToStorage() 266 uint32_t content_size = attestation_key->certs[i].content.size; in ReadCertChainFromStorage() 272 memcpy(buffer, attestation_key->certs[i].content.bytes, content_size); in ReadCertChainFromStorage() 862 cert_file, attestation_key->certs[index].content.bytes, in TranslateLegacyFormat() 871 attestation_key->certs[index].content.size = cert_size; in TranslateLegacyFormat()
|
D | keymaster_attributes.proto | 61 repeated AttestationCert certs = 2 [(nanopb).max_count=3]; field
|
/trusty/user/app/keymint/ |
D | secure_storage_manager.rs | 417 let certs = attestation_certs_pb.take_certs(); in get_cert_chain() localVariable 419 let num_certs = certs.len(); in get_cert_chain() 424 for mut cert in certs { in get_cert_chain() 543 let mut certs = protobuf::RepeatedField::<keymaster_attributes::AttestationCert>::new(); in read_certificates_test() localVariable 548 certs.push(cert); in read_certificates_test() 551 key_cert.set_certs(certs); in read_certificates_test() 559 let certs = get_cert_chain(key_type).expect("Couldn't get certificates from storage"); in read_certificates_test() localVariable 562 expect_eq!(certs.len(), 3, "Didn't recover all certificates"); in read_certificates_test() 563 for (cert, cert_data) in zip(certs.iter(), certs_data.iter()) { in read_certificates_test() 582 expect_eq!(certs, certs_comp, "Retrieved certificates didn't match"); in read_certificates_test() [all …]
|
D | keymaster_attributes.rs | 836 pub certs: ::protobuf::RepeatedField<AttestationCert>, field 893 &self.certs in get_certs() 896 self.certs.clear(); in clear_certs() 901 self.certs = v; in set_certs() 906 &mut self.certs in mut_certs() 911 ::std::mem::replace(&mut self.certs, ::protobuf::RepeatedField::new()) in take_certs() 917 for v in &self.certs { in is_initialized() 933 ::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.certs)?; in merge_from() 950 for value in &self.certs { in compute_size() 963 for v in &self.certs { in write_to_with_cached_sizes() [all …]
|