Home
last modified time | relevance | path

Searched refs:unique_id (Results 1 – 11 of 11) sorted by relevance

/system/keymaster/tests/
Dattestation_record_test.cpp128 keymaster_blob_t unique_id = {}; in TEST() local
133 &parsed_sw_set, &parsed_hw_set, &unique_id)); in TEST()
143 std::string(reinterpret_cast<const char*>(unique_id.data), unique_id.data_length)); in TEST()
144 delete[] unique_id.data; in TEST()
219 keymaster_blob_t unique_id = {}; in TEST() local
228 &parsed_hw_set, &unique_id, &verified_boot_key, &verified_boot_state, in TEST()
242 std::string(reinterpret_cast<const char*>(unique_id.data), unique_id.data_length)); in TEST()
243 delete[] unique_id.data; in TEST()
326 keymaster_blob_t unique_id = {}; in TEST() local
336 &parsed_hw_set, &unique_id, &verified_boot_key, &verified_boot_state, in TEST()
/system/keymaster/km_openssl/
Dattestation_record.cpp929 Buffer unique_id = context.GenerateUniqueId( in build_eat_record() local
935 cppbor::Bstr(std::pair(unique_id.begin(), unique_id.available_read()))); in build_eat_record()
964 bool reset_since_rotation, Buffer* unique_id) { in generate_unique_id() argument
965 if (unique_id == nullptr) { in generate_unique_id()
977 if (!unique_id->Reinitialize(UNIQUE_ID_SIZE)) { in generate_unique_id()
980 hmac.Sign(input.peek_read(), input.available_read(), unique_id->peek_write(), in generate_unique_id()
981 unique_id->available_write()); in generate_unique_id()
982 unique_id->advance_write(UNIQUE_ID_SIZE); in generate_unique_id()
1092 Buffer unique_id = context.GenerateUniqueId( in build_attestation_record() local
1097 key_desc->unique_id = ASN1_OCTET_STRING_new(); in build_attestation_record()
[all …]
/system/keymint/ta/src/
Drkp.rs120 unique_id: Some(rpc_info_v2.unique_id.to_string()), in get_rpc_hardware_info()
127 unique_id: Some(rpc_info_v3.unique_id.to_string()), in get_rpc_hardware_info()
Dcert.rs242 unique_id: &'a [u8], field
276 unique_id: &'a Vec<u8>, in attestation_extension()
317 unique_id, in attestation_extension()
1211 unique_id: b"xxx", in test_attest_ext_encode_decode()
Dkeys.rs143 let unique_id = self.calculate_unique_id(app_id, params)?; in generate_cert() localVariable
151 &unique_id, in generate_cert()
Dlib.rs200 pub unique_id: &'static str, field
212 pub unique_id: &'static str, field
224 pub unique_id: &'static str, field
/system/keymaster/include/keymaster/km_openssl/
Dattestation_record.h208 ASN1_INTEGER* unique_id; member
217 ASN1_SIMPLE(KM_KEY_DESCRIPTION, unique_id, ASN1_OCTET_STRING),
360 bool reset_since_rotation, Buffer* unique_id);
374 keymaster_blob_t* unique_id);
394 keymaster_blob_t* unique_id, keymaster_blob_t* verified_boot_key,
/system/keymint/wire/src/
Drpc.rs45 pub unique_id: Option<String>, field
/system/keymaster/contexts/
Dpure_soft_keymaster_context.cpp457 Buffer unique_id; in GenerateUniqueId() local
459 reset_since_rotation, &unique_id); in GenerateUniqueId()
460 return unique_id; in GenerateUniqueId()
/system/keymint/common/
Dgenerated.cddl299 unique_id: [? tstr],
/system/keymint/hal/src/
Dhal.rs206 uniqueId: val.unique_id, in fromm()