Home
last modified time | relevance | path

Searched refs:keyParams (Results 1 – 2 of 2) sorted by relevance

/device/google/cuttlefish/guest/hals/keymaster/remote/
Dremote_keymaster4_device.cpp95 std::vector<KeyParameter> keyParams(keyParamsBase); in injectAuthToken() local
119 keyParams.push_back(p); in injectAuthToken()
122 return hidl_vec<KeyParameter>(std::move(keyParams)); in injectAuthToken()
127 KmParamSet(const hidl_vec<KeyParameter>& keyParams) { in KmParamSet() argument
128 params = new keymaster_key_param_t[keyParams.size()]; in KmParamSet()
129 length = keyParams.size(); in KmParamSet()
130 for (size_t i = 0; i < keyParams.size(); ++i) { in KmParamSet()
131 auto tag = legacy_enum_conversion(keyParams[i].tag); in KmParamSet()
135 params[i] = keymaster_param_enum(tag, keyParams[i].f.integer); in KmParamSet()
139 params[i] = keymaster_param_int(tag, keyParams[i].f.integer); in KmParamSet()
[all …]
Dremote_keymaster4_device.h62 Return<void> generateKey(const hidl_vec<KeyParameter>& keyParams,