Home
last modified time | relevance | path

Searched refs:app_data (Results 1 – 19 of 19) sorted by relevance

/system/keymaster/legacy_support/
Dkeymaster_passthrough_key.cpp59 KeymasterBlob app_data; in formatted_key_material() local
61 app_data = KeymasterBlob(km_app_data); in formatted_key_material()
73 engine_->ExportKey(format, key_material(), client_id, app_data, &export_data); in formatted_key_material()
Dkeymaster1_engine.cpp344 keymaster_blob_t app_data = {nullptr, 0}; in GetKeymaster1PublicKey() local
348 if (additional_params.GetTagValue(TAG_APPLICATION_DATA, &app_data)) app_data_ptr = &app_data; in GetKeymaster1PublicKey()
Dkeymaster_passthrough_engine.cpp96 const KeymasterBlob& client_id, const KeymasterBlob& app_data, in ExportKey() argument
100 &app_data, &my_export_data); in ExportKey()
/system/core/trusty/keymaster/include/trusty_keymaster/legacy/
Dtrusty_keymaster_device.h54 const keymaster_blob_t* app_data,
63 const keymaster_blob_t* app_data, keymaster_blob_t* export_data);
106 const keymaster_blob_t* app_data,
118 const keymaster_blob_t* app_data,
/system/keymaster/include/keymaster/
Dsoft_keymaster_device.h136 const keymaster_blob_t* app_data,
148 const keymaster_blob_t* app_data,
185 const keymaster_blob_t* app_data,
197 const keymaster_blob_t* app_data,
/system/keymaster/contexts/
Dkeymaster1_passthrough_context.cpp123 keymaster_blob_t app_data = {nullptr, 0}; in parseKeymaster1HwBlob() local
127 if (additional_params.GetTagValue(TAG_APPLICATION_DATA, &app_data)) app_data_ptr = &app_data; in parseKeymaster1HwBlob()
Dsoft_keymaster_context.cpp345 keymaster_blob_t app_data = {nullptr, 0}; in ParseKeymaster1HwBlob() local
349 if (additional_params.GetTagValue(TAG_APPLICATION_DATA, &app_data)) app_data_ptr = &app_data; in ParseKeymaster1HwBlob()
Dsoft_keymaster_device.cpp326 void AddClientAndAppData(const keymaster_blob_t* client_id, const keymaster_blob_t* app_data, in AddClientAndAppData() argument
330 if (app_data) request->additional_params.push_back(TAG_APPLICATION_DATA, *app_data); in AddClientAndAppData()
797 const keymaster_blob_t* client_id, const keymaster_blob_t* app_data, in get_key_characteristics() argument
806 app_data, characteristics); in get_key_characteristics()
817 AddClientAndAppData(client_id, app_data, &request); in get_key_characteristics()
838 const keymaster_blob_t* client_id, const keymaster_blob_t* app_data, in get_key_characteristics() argument
851 AddClientAndAppData(client_id, app_data, &request); in get_key_characteristics()
937 const keymaster_blob_t* app_data, in export_key() argument
945 return km1_dev->export_key(km1_dev, export_format, key_to_export, client_id, app_data, in export_key()
955 AddClientAndAppData(client_id, app_data, &request); in export_key()
[all …]
/system/keymaster/include/keymaster/legacy_support/
Dkeymaster_passthrough_engine.h55 const KeymasterBlob& app_data,
/system/security/keystore2/tests/
Dkeystore2_client_authorizations_tests.rs679 .app_data(b"app-data".to_vec()); in keystore2_gen_key_auth_app_data_test_success()
688 .app_data(b"app-data".to_vec()), in keystore2_gen_key_auth_app_data_test_success()
710 .app_data(b"app-data".to_vec()); in keystore2_gen_key_auth_app_data_test_fail()
719 .app_data(b"invalid-app-data".to_vec()), in keystore2_gen_key_auth_app_data_test_fail()
821 .app_data(b"app-data".to_vec()); in keystore2_gen_attested_key_auth_app_id_app_data_test_success()
862 .app_data(b"app-data".to_vec()); in keystore2_gen_attestation_key_with_auth_app_id_app_data_test_fail()
/system/keymint/common/src/keyblob/
Dlegacy.rs287 if let Ok(Some(app_data)) = get_opt_tag_value!(params, ApplicationData) { in hidden()
288 results.try_push(KeyParam::ApplicationData(try_to_vec(app_data)?))?; in hidden()
/system/security/keystore2/src/
Dkm_compat.rs314 app_data: &[u8], in getKeyCharacteristics()
317 KeyBlob::Raw(keyblob) => self.real.getKeyCharacteristics(keyblob, app_id, app_data), in getKeyCharacteristics()
318 KeyBlob::Wrapped(keyblob) => self.soft.getKeyCharacteristics(keyblob, app_id, app_data), in getKeyCharacteristics()
Dsw_keyblob.rs281 if let Some(app_data) = get_tag_value(params, Tag::APPLICATION_DATA) { in hidden_params()
282 results.push(KeyParameter { tag: Tag::APPLICATION_DATA, value: app_data.clone() }); in hidden_params()
/system/keymint/ta/src/
Dlib.rs837 match self.get_key_characteristics(&req.key_blob, req.app_id, req.app_data) { in process_req()
1102 app_data: Vec<u8>, in get_key_characteristics()
1109 if !app_data.is_empty() { in get_key_characteristics()
1110 params.push(KeyParam::ApplicationData(app_data)); // capacity enough in get_key_characteristics()
/system/security/keystore2/test_utils/
Dauthorizations.rs328 pub fn app_data(mut self, b: Vec<u8>) -> Self { in app_data() method
/system/keymint/common/
Dgenerated.cddl482 app_data: bstr,
/system/keymint/hal/src/
Dkeymint.rs262 app_data: appData.to_vec(), in getKeyCharacteristics()
/system/keymint/wire/src/
Dtypes.rs204 pub app_data: Vec<u8>, field
/system/keymint/common/src/
Dtag.rs260 if let Ok(Some(app_data)) = get_opt_tag_value!(params, ApplicationData) { in hidden()
261 results.push(KeyParam::ApplicationData(try_to_vec(app_data)?)); in hidden()