Searched defs:out_params (Results 1 - 7 of 7) sorted by relevance

/system/keymaster/legacy_support/
H A Dkeymaster_passthrough_operation.cpp30 keymaster_key_param_set_t out_params = {}; local
40 rc = km_device_->update(km_device_, operation_handle_, &mutable_input_params, &in, &consumed, &out_params, &out);
46 accumulated_out_params.push_back(out_params);
47 keymaster_free_param_set(&out_params);
69 rc = km_device_->finish(km_device_, operation_handle_, &mutable_input_params, &sig, &out_params, &out);
75 accumulated_out_params.push_back(out_params);
76 keymaster_free_param_set(&out_params);
98 keymaster_key_param_set_t out_params = {}; local
103 rc = km_device_->finish(km_device_, operation_handle_, &input_params, &in, &sig, &out_params, &out);
106 if (output_params) output_params->Reinitialize(out_params);
[all...]
H A Dkeymaster_passthrough_operation.h48 keymaster_key_param_set_t out_params = {}; variable
50 rc = km_device_->begin(km_device_, purpose(), &key_blob_, &input_params, &out_params,
52 if (rc == KM_ERROR_OK && output_params) output_params->Reinitialize(out_params);
53 keymaster_free_param_set(&out_params); variable
59 keymaster_key_param_set_t out_params = {}; variable
64 &out_params, &out);
67 if (output_params) output_params->Reinitialize(out_params);
69 keymaster_free_param_set(&out_params); variable
/system/bt/service/
H A Dlow_energy_advertiser.cc90 AdvertiseParameters* out_params) {
91 CHECK(out_params);
93 out_params->min_interval = GetAdvertisingIntervalUnit(settings.mode());
94 out_params->max_interval =
95 out_params->min_interval + kAdvertisingIntervalDeltaUnit;
98 out_params->advertising_event_properties =
101 out_params->advertising_event_properties =
104 out_params->advertising_event_properties =
107 out_params->channel_map = kAdvertisingChannelAll;
108 out_params
89 GetAdvertiseParams(const AdvertiseSettings& settings, bool has_scan_rsp, AdvertiseParameters* out_params) argument
[all...]
/system/core/trusty/keymaster/
H A Dtrusty_keymaster_device.cpp466 keymaster_key_param_set_t* out_params,
480 if (out_params) {
481 *out_params = {};
496 if (out_params) {
497 response.output_params.CopyToParamSet(out_params);
511 keymaster_key_param_set_t* out_params,
525 if (out_params) {
526 *out_params = {};
549 if (out_params) {
550 response.output_params.CopyToParamSet(out_params);
463 begin(keymaster_purpose_t purpose, const keymaster_key_blob_t* key, const keymaster_key_param_set_t* in_params, keymaster_key_param_set_t* out_params, keymaster_operation_handle_t* operation_handle) argument
507 update(keymaster_operation_handle_t operation_handle, const keymaster_key_param_set_t* in_params, const keymaster_blob_t* input, size_t* input_consumed, keymaster_key_param_set_t* out_params, keymaster_blob_t* output) argument
569 finish(keymaster_operation_handle_t operation_handle, const keymaster_key_param_set_t* in_params, const keymaster_blob_t* input, const keymaster_blob_t* signature, keymaster_key_param_set_t* out_params, keymaster_blob_t* output) argument
722 begin(const keymaster2_device_t* dev, keymaster_purpose_t purpose, const keymaster_key_blob_t* key, const keymaster_key_param_set_t* in_params, keymaster_key_param_set_t* out_params, keymaster_operation_handle_t* operation_handle) argument
732 update( const keymaster2_device_t* dev, keymaster_operation_handle_t operation_handle, const keymaster_key_param_set_t* in_params, const keymaster_blob_t* input, size_t* input_consumed, keymaster_key_param_set_t* out_params, keymaster_blob_t* output) argument
741 finish(const keymaster2_device_t* dev, keymaster_operation_handle_t operation_handle, const keymaster_key_param_set_t* in_params, const keymaster_blob_t* input, const keymaster_blob_t* signature, keymaster_key_param_set_t* out_params, keymaster_blob_t* output) argument
[all...]
/system/security/keystore/
H A Dlegacy_keymaster_device_wrapper.cpp440 keymaster_key_param_set_t out_params{nullptr, 0};
447 &kmInParams, &out_params, &operation_handle);
449 if (rc == KM_ERROR_OK) resultParams = kmParamSet2Hidl(out_params);
453 keymaster_free_param_set(&out_params);
469 keymaster_key_param_set_t out_params = {}; local
476 &consumed, &out_params, &out_blob);
480 resultParams = kmParamSet2Hidl(out_params);
486 keymaster_free_param_set(&out_params);
502 keymaster_key_param_set_t out_params = {}; local
510 &kmSignature, &out_params,
[all...]
/system/keymaster/contexts/
H A Dsoft_keymaster_device.cpp1203 keymaster_key_param_set_t* out_params,
1240 return km1_dev->begin(km1_dev, purpose, key, in_params, out_params, operation_handle);
1245 if (out_params) {
1246 out_params->params = nullptr;
1247 out_params->length = 0;
1261 if (out_params)
1262 response.output_params.CopyToParamSet(out_params);
1276 keymaster_key_param_set_t* out_params,
1285 return begin(&sk_dev->km1_device_, purpose, key, in_params, out_params, operation_handle);
1293 keymaster_key_param_set_t* out_params,
1199 begin(const keymaster1_device_t* dev, keymaster_purpose_t purpose, const keymaster_key_blob_t* key, const keymaster_key_param_set_t* in_params, keymaster_key_param_set_t* out_params, keymaster_operation_handle_t* operation_handle) argument
1272 begin(const keymaster2_device_t* dev, keymaster_purpose_t purpose, const keymaster_key_blob_t* key, const keymaster_key_param_set_t* in_params, keymaster_key_param_set_t* out_params, keymaster_operation_handle_t* operation_handle) argument
1289 update(const keymaster1_device_t* dev, keymaster_operation_handle_t operation_handle, const keymaster_key_param_set_t* in_params, const keymaster_blob_t* input, size_t* input_consumed, keymaster_key_param_set_t* out_params, keymaster_blob_t* output) argument
1353 update(const keymaster2_device_t* dev, keymaster_operation_handle_t operation_handle, const keymaster_key_param_set_t* in_params, const keymaster_blob_t* input, size_t* input_consumed, keymaster_key_param_set_t* out_params, keymaster_blob_t* output) argument
1371 finish(const keymaster1_device_t* dev, keymaster_operation_handle_t operation_handle, const keymaster_key_param_set_t* params, const keymaster_blob_t* signature, keymaster_key_param_set_t* out_params, keymaster_blob_t* output) argument
1434 finish(const keymaster2_device_t* dev, keymaster_operation_handle_t operation_handle, const keymaster_key_param_set_t* params, const keymaster_blob_t* input, const keymaster_blob_t* signature, keymaster_key_param_set_t* out_params, keymaster_blob_t* output) argument
[all...]
/system/keymaster/tests/
H A Dandroid_keymaster_test_utils.cpp238 keymaster_key_param_set_t out_params; local
240 device()->begin(device(), purpose, &blob_, &in_params, &out_params, &op_handle_);
241 EXPECT_EQ(0U, out_params.length);
242 EXPECT_TRUE(out_params.params == nullptr);
249 keymaster_key_param_set_t out_params; local
251 device()->begin(device(), purpose, &blob_, &input_set, &out_params, &op_handle_);
254 output_set->Reinitialize(out_params);
256 EXPECT_EQ(0U, out_params.length);
257 EXPECT_TRUE(out_params.params == nullptr);
259 keymaster_free_param_set(&out_params);
269 keymaster_key_param_set_t out_params; local
285 keymaster_key_param_set_t out_params; local
315 keymaster_key_param_set_t out_params; local
879 begin(const keymaster1_device_t* dev, keymaster_purpose_t purpose, const keymaster_key_blob_t* key, const keymaster_key_param_set_t* in_params, keymaster_key_param_set_t* out_params, keymaster_operation_handle_t* operation_handle) argument
890 update(const keymaster1_device_t* dev, keymaster_operation_handle_t operation_handle, const keymaster_key_param_set_t* in_params, const keymaster_blob_t* input, size_t* input_consumed, keymaster_key_param_set_t* out_params, keymaster_blob_t* output) argument
900 finish(const struct keymaster1_device* dev, keymaster_operation_handle_t operation_handle, const keymaster_key_param_set_t* in_params, const keymaster_blob_t* signature, keymaster_key_param_set_t* out_params, keymaster_blob_t* output) argument
[all...]

Completed in 55 milliseconds