/system/keymaster/legacy_support/ |
D | keymaster_passthrough_operation.cpp | 28 keymaster_key_param_set_t out_params = {}; in Finish() local 39 &consumed, &out_params, &out); in Finish() 45 accumulated_out_params.push_back(out_params); in Finish() 46 keymaster_free_param_set(&out_params); in Finish() 68 rc = km_device_->finish(km_device_, operation_handle_, &mutable_input_params, &sig, &out_params, in Finish() 75 accumulated_out_params.push_back(out_params); in Finish() 76 keymaster_free_param_set(&out_params); in Finish() 97 keymaster_key_param_set_t out_params = {}; in Finish() local 102 rc = km_device_->finish(km_device_, operation_handle_, &input_params, &in, &sig, &out_params, in Finish() 106 if (output_params) output_params->Reinitialize(out_params); in Finish() [all …]
|
D | keymaster_passthrough_operation.h | 48 keymaster_key_param_set_t out_params = {}; in Begin() local 50 rc = km_device_->begin(km_device_, purpose(), &key_blob_, &input_params, &out_params, in Begin() 52 if (rc == KM_ERROR_OK && output_params) output_params->Reinitialize(out_params); in Begin() 53 keymaster_free_param_set(&out_params); in Begin() 59 keymaster_key_param_set_t out_params = {}; in Update() local 64 &out_params, &out); in Update() 67 if (output_params) output_params->Reinitialize(out_params); in Update() 69 keymaster_free_param_set(&out_params); in Update()
|
/system/bt/service/ |
D | low_energy_advertiser.cc | 92 AdvertiseParameters* out_params) { in GetAdvertiseParams() argument 93 CHECK(out_params); in GetAdvertiseParams() 95 out_params->min_interval = GetAdvertisingIntervalUnit(settings.mode()); in GetAdvertiseParams() 96 out_params->max_interval = in GetAdvertiseParams() 97 out_params->min_interval + kAdvertisingIntervalDeltaUnit; in GetAdvertiseParams() 100 out_params->advertising_event_properties = in GetAdvertiseParams() 103 out_params->advertising_event_properties = in GetAdvertiseParams() 106 out_params->advertising_event_properties = in GetAdvertiseParams() 109 out_params->channel_map = kAdvertisingChannelAll; in GetAdvertiseParams() 110 out_params->tx_power = GetAdvertisingTxPower(settings.tx_power_level()); in GetAdvertiseParams() [all …]
|
/system/core/trusty/keymaster/include/trusty_keymaster/legacy/ |
D | trusty_keymaster_device.h | 72 keymaster_key_param_set_t* out_params, 77 keymaster_key_param_set_t* out_params, keymaster_blob_t* output); 81 keymaster_key_param_set_t* out_params, keymaster_blob_t* output); 134 keymaster_key_param_set_t* out_params, 140 keymaster_key_param_set_t* out_params, 147 keymaster_key_param_set_t* out_params,
|
/system/keymaster/tests/ |
D | android_keymaster_test_utils.cpp | 239 keymaster_key_param_set_t out_params; in BeginOperation() local 241 device()->begin(device(), purpose, &blob_, &in_params, &out_params, &op_handle_); in BeginOperation() 242 EXPECT_EQ(0U, out_params.length); in BeginOperation() 243 EXPECT_TRUE(out_params.params == nullptr); in BeginOperation() 250 keymaster_key_param_set_t out_params; in BeginOperation() local 252 device()->begin(device(), purpose, &blob_, &input_set, &out_params, &op_handle_); in BeginOperation() 255 output_set->Reinitialize(out_params); in BeginOperation() 257 EXPECT_EQ(0U, out_params.length); in BeginOperation() 258 EXPECT_TRUE(out_params.params == nullptr); in BeginOperation() 260 keymaster_free_param_set(&out_params); in BeginOperation() [all …]
|
/system/keymaster/include/keymaster/ |
D | soft_keymaster_device.h | 156 keymaster_key_param_set_t* out_params, 162 keymaster_key_param_set_t* out_params, 168 keymaster_key_param_set_t* out_params, 213 keymaster_key_param_set_t* out_params, 219 keymaster_key_param_set_t* out_params, 226 keymaster_key_param_set_t* out_params,
|
/system/keymaster/contexts/ |
D | soft_keymaster_device.cpp | 1107 keymaster_key_param_set_t* out_params, in begin() argument 1142 return km1_dev->begin(km1_dev, purpose, key, in_params, out_params, operation_handle); in begin() 1147 if (out_params) { in begin() 1148 out_params->params = nullptr; in begin() 1149 out_params->length = 0; in begin() 1163 if (out_params) in begin() 1164 response.output_params.CopyToParamSet(out_params); in begin() 1178 keymaster_key_param_set_t* out_params, in begin() argument 1185 return begin(&sk_dev->km1_device_, purpose, key, in_params, out_params, operation_handle); in begin() 1193 keymaster_key_param_set_t* out_params, in update() argument [all …]
|
D | pure_soft_keymaster_context.cpp | 439 AuthorizationSet out_params; in UnwrapKey() local 444 error = operation->Begin(wrapping_key_params, &out_params); in UnwrapKey() 453 error = operation->Finish(wrapping_key_params, input, Buffer() /* signature */, &out_params, in UnwrapKey() 503 error = aes_operation->Begin(gcm_params, &out_params); in UnwrapKey()
|