Searched refs:attestation_ids (Results 1 – 3 of 3) sorted by relevance
237 let mut attestation_ids = keymaster_attributes::AttestationIds::new(); in provision_attestation_id_file() localVariable240 attestation_ids.set_brand(try_to_vec(brand)?); in provision_attestation_id_file()243 attestation_ids.set_device(try_to_vec(device)?); in provision_attestation_id_file()246 attestation_ids.set_product(try_to_vec(product)?); in provision_attestation_id_file()249 attestation_ids.set_serial(try_to_vec(serial)?); in provision_attestation_id_file()252 attestation_ids.set_imei(try_to_vec(imei)?); in provision_attestation_id_file()255 attestation_ids.set_meid(try_to_vec(meid)?); in provision_attestation_id_file()258 attestation_ids.set_manufacturer(try_to_vec(manufacturer)?); in provision_attestation_id_file()261 attestation_ids.set_model(try_to_vec(model)?); in provision_attestation_id_file()265 attestation_ids.set_second_imei(try_to_vec(imei2)?); in provision_attestation_id_file()[all …]
356 const AttestationIds* attestation_ids, in WriteAttestationIds() argument358 return EncodeToFile(AttestationIds_fields, attestation_ids, in WriteAttestationIds()472 UniquePtr<AttestationIds> attestation_ids(attestation_ids_p); in ValidateAndSetBaseAttestationIds() local477 attestation_ids->has_brand = true; in ValidateAndSetBaseAttestationIds()478 attestation_ids->brand.size = request.brand.buffer_size(); in ValidateAndSetBaseAttestationIds()479 memcpy(attestation_ids->brand.bytes, request.brand.begin(), in ValidateAndSetBaseAttestationIds()487 attestation_ids->has_device = true; in ValidateAndSetBaseAttestationIds()488 attestation_ids->device.size = request.device.buffer_size(); in ValidateAndSetBaseAttestationIds()489 memcpy(attestation_ids->device.bytes, request.device.begin(), in ValidateAndSetBaseAttestationIds()498 attestation_ids->has_product = true; in ValidateAndSetBaseAttestationIds()[all …]
241 keymaster_error_t WriteAttestationIds(const AttestationIds* attestation_ids,