Searched refs:keyParams (Results 1 – 2 of 2) sorted by relevance
95 std::vector<KeyParameter> keyParams(keyParamsBase); in injectAuthToken() local119 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() argument128 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 …]
62 Return<void> generateKey(const hidl_vec<KeyParameter>& keyParams,