Home
last modified time | relevance | path

Searched refs:algoParameter (Results 1 – 25 of 43) sorted by relevance

12

/ohos5.0/drivers/peripheral/pin_auth/hdi_service/service/src/
H A Dall_in_one_impl.cpp101 …const sptr<HdiIExecutorCallback> &callbackObj, std::vector<uint8_t> &algoParameter, uint32_t &algo… in EnrollInner() argument
105 if (pinHdi_->GenerateAlgoParameter(algoParameter, algoVersion) != SUCCESS) { in EnrollInner()
116 .algoParameter = algoParameter, in EnrollInner()
140 std::vector<uint8_t> algoParameter; in Enroll() local
142 int32_t result = EnrollInner(scheduleId, extraInfo, callbackObj, algoParameter, algoVersion); in Enroll()
150 result = callbackObj->OnGetData(algoParameter, 0, algoVersion, challenge, pinComplexityReg); in Enroll()
182 .algoParameter = algoParameter, in AuthenticateInner()
214 pinAlgoParam.algoParameter.size(), pinAlgoParam.algoVersion); in Authenticate()
216 scheduleId, templateIdList[0], pinAlgoParam.algoParameter, callbackObj); in Authenticate()
223 …result = callbackObj->OnGetData(pinAlgoParam.algoParameter, pinAlgoParam.subType, pinAlgoParam.alg… in Authenticate()
[all …]
/ohos5.0/base/useriam/pin_auth/test/unittest/src/
H A Dinputer_data_impl_test.cpp63 param.algoParameter = {1, 2, 3, 4, 5};
78 param.algoParameter = {1, 2, 3, 4, 5};
92 param.algoParameter = {1, 2, 3, 4, 5};
106 param.algoParameter = {1, 2, 3, 4, 5};
124 param.algoParameter = {1, 2, 3, 4, 5};
142 param.algoParameter = {1, 2, 3, 4, 5};
160 param.algoParameter = {2, 3, 4, 5, 6, 7};
181 param.algoParameter = {3, 4, 5, 6, 7, 8};
202 param.algoParameter = {4, 5, 6, 7, 8, 9};
244 param.algoParameter = {5, 6, 7, 8, 9, 10};
[all …]
H A Dframework_scrypt_scrypt_test.cpp46 std::vector<uint8_t> algoParameter = {1, 2, 3, 4, 5}; variable
47 Scrypt scrypt(algoParameter);
56 std::vector<uint8_t> algoParameter = {1, 2, 3, 4, 5}; variable
57 Scrypt scrypt(algoParameter);
H A Dinputer_get_data_proxy_test.cpp52 .algoParameter = {1, 2, 3, 4, 5, 6},
71 EXPECT_THAT(getDataParam.algoParameter, ElementsAre(1, 2, 3, 4, 5, 6)); in __anon440f145c0102()
89 .algoParameter = {1, 2, 3, 4, 5, 6},
108 .algoParameter = {1, 2, 3, 4, 5, 6},
H A Dpin_auth_executor_callback_hdi_unit_test.cpp75 std::vector<uint8_t> algoParameter = {1, 2, 3, 4, 5}; variable
88 …EXPECT_EQ(callbackHdi.OnGetData(algoParameter, authSubType, algoVersion, challenge, pinComplexityR…
102 std::vector<uint8_t> algoParameter = {1, 2, 3, 4, 5}; variable
113 …EXPECT_EQ(callbackHdi.OnGetData(algoParameter, authSubType, algoVersion, challenge, pinComplexityR…
130 std::vector<uint8_t> algoParameter = {1, 2, 3, 4, 5}; variable
140 …EXPECT_EQ(callbackHdi.OnGetData(algoParameter, authSubType, algoVersion, challenge, pinComplexityR…
238 std::vector<uint8_t> algoParameter = {1, 2, 3, 4, 5}; variable
243 …EXPECT_EQ(callbackHdi.OnGetData(algoParameter, authSubType, algoVersion, challenge, pinComplexityR…
H A Dinputer_get_data_service_test.cpp73 .algoParameter = testSalt,
97 .algoParameter = testSalt,
118 .algoParameter = testSalt,
H A Dinputer_get_data_stub_test.cpp53 getDataParam.authSubType, getDataParam.algoParameter, *testErrorCode); in GetMockInputerGetDataService()
137 EXPECT_THAT(getDataParam.algoParameter, ElementsAre(1, 2, 3, 4, 5)); in __anon1d3c23580302()
143 getDataParam.authSubType, getDataParam.algoParameter, testErrorCode); in __anon1d3c23580302()
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/pinauth/
H A Dinterface_i_executor_callback_pinauth_v11.md20 …(#ongetdatav1_1) ([in] unsigned long scheduleId, [in] unsigned char[] algoParameter, [in] unsigned…
29 IExecutorCallback::OnGetDataV1_1 ([in] unsigned long scheduleId, [in] unsigned char[] algoParameter
42 | algoParameter | 算法相关参数。 |
H A Dinterface_i_executor_callback_v20.md22 | [OnGetData](#ongetdata) ([in] unsigned char[] algoParameter, [in] unsigned long authSubType, [in]…
32 IExecutorCallback::OnGetData ([in] unsigned char[] algoParameter, [in] unsigned long authSubType, […
45 | algoParameter | 算法相关参数。 |
/ohos5.0/docs/zh-cn/device-dev/driver/
H A Ddriver-peripherals-pinauth-des.md271 const std::vector<uint8_t> algoParameter);
273 uint64_t &templateId, std::vector<uint8_t> &algoParameter);
281 std::vector<uint8_t> algoParameter;
389 std::vector<uint8_t> algoParameter;
391 int32_t result = EnrollInner(scheduleId, extraInfo, callbackObj, algoParameter, algoVersion);
398 result = callbackObj->OnGetData(algoParameter, 0, algoVersion, challenge);
426 std::vector<uint8_t> algoParameter(0, 0);
479 std::vector<uint8_t> algoParameter;
482 int32_t result = pinHdi_->GetAlgoParameter(templateId, algoParameter, algoVersion);
488 result = AuthenticateInner(scheduleId, templateId, algoParameter, callbackObj);
[all …]
/ohos5.0/drivers/peripheral/pin_auth/hdi_service/main/src/
H A Dpin_auth.cpp149 int32_t PinAuth::GenerateAlgoParameter(std::vector<uint8_t> &algoParameter, uint32_t &algoVersion) in GenerateAlgoParameter() argument
159 algoParameter.resize(algoParameterLen); in GenerateAlgoParameter()
160 int32_t result = DoGenerateAlgoParameter(algoParameter.data(), &algoParameterLen, &algoVersion, in GenerateAlgoParameter()
189 … pinAlgoParam.algoParameter, authAlgoParam.algoParameter, sizeof(authAlgoParam.algoParameter)); in AllInOneAuth()
422 …result = SetVectorByBuffer(pinAlgoParam.algoParameter, algoParam.algoParameter, sizeof(algoParam.a… in SendMessageToCollector()
H A Dcollector_func.c245 .data = algoParam->algoParameter, in GetAlgoParam()
246 .len = sizeof(algoParam->algoParameter), in GetAlgoParam()
253 if (uint8Array.len != sizeof(algoParam->algoParameter)) { in GetAlgoParam()
/ohos5.0/base/useriam/pin_auth/frameworks/scrypt/inc/
H A Dscrypt.h36 … explicit Scrypt(std::vector<uint8_t> algoParameter) : algoParameter_(std::move(algoParameter)) {} in Scrypt() argument
/ohos5.0/drivers/peripheral/pin_auth/hdi_service/service/inc/
H A Dall_in_one_impl.h60 std::vector<uint8_t> algoParameter; member
76 …_t AuthenticateInner(uint64_t scheduleId, uint64_t templateId, std::vector<uint8_t> &algoParameter,
79 …const sptr<HdiIExecutorCallback> &callbackObj, std::vector<uint8_t> &algoParameter, uint32_t &algo…
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/pin_auth_v1_1/cpp_target/pin_auth/v1_1/
H A Dexecutor_callback_proxy.cpp.txt98 const std::vector<uint8_t>& algoParameter, uint64_t authSubType, uint32_t algoVersion)
100 …HDI::PinAuth::V1_1::ExecutorCallbackProxy::OnGetDataV1_1_(scheduleId, algoParameter, authSubType, …
120 …const std::vector<uint8_t>& algoParameter, uint64_t authSubType, uint32_t algoVersion, const sptr<…
136 if (!WritePodArray(executorCallbackData, algoParameter)) {
137 HDF_LOGE("%{public}s: failed to write algoParameter", __func__);
H A Dexecutor_callback_stub.cpp.txt114 std::vector<uint8_t> algoParameter;
115 if (!ReadPodArray(executorCallbackData, algoParameter)) {
116 HDF_LOGE("%{public}s: failed to read algoParameter", __func__);
137 …int32_t executorCallbackRet = impl->OnGetDataV1_1(scheduleId, algoParameter, authSubType, algoVers…
H A Dexecutor_callback_proxy.h.txt39 …int32_t OnGetDataV1_1(uint64_t scheduleId, const std::vector<uint8_t>& algoParameter, uint64_t aut…
48 …static int32_t OnGetDataV1_1_(uint64_t scheduleId, const std::vector<uint8_t>& algoParameter, uint…
/ohos5.0/base/useriam/pin_auth/test/fuzztest/services/modules/executors/pinauthexecutorcallbackhdi_fuzzer/
H A Dpin_auth_executor_callback_hdi_fuzzer.cpp109 std::vector<uint8_t> algoParameter; in FuzzOnGetData() local
114 FillFuzzUint8Vector(parcel, algoParameter); in FuzzOnGetData()
117 pinAuthExecutorCallbackHdi_->OnGetData(algoParameter, authSubType, algoVersion, challenge, in FuzzOnGetData()
/ohos5.0/docs/en/device-dev/driver/
H A Ddriver-peripherals-pinauth-des.md271 const std::vector<uint8_t> algoParameter);
273 uint64_t &templateId, std::vector<uint8_t> &algoParameter);
281 std::vector<uint8_t> algoParameter;
389 std::vector<uint8_t> algoParameter;
391 int32_t result = EnrollInner(scheduleId, extraInfo, callbackObj, algoParameter, algoVersion);
398 result = callbackObj->OnGetData(algoParameter, 0, algoVersion, challenge);
426 std::vector<uint8_t> algoParameter(0, 0);
479 std::vector<uint8_t> algoParameter;
482 int32_t result = pinHdi_->GetAlgoParameter(templateId, algoParameter, algoVersion);
488 result = AuthenticateInner(scheduleId, templateId, algoParameter, callbackObj);
[all …]
/ohos5.0/base/useriam/pin_auth/services/modules/executors/src/
H A Dpin_auth_executor_callback_hdi.cpp109 int32_t PinAuthExecutorCallbackHdi::OnGetData(const std::vector<uint8_t> &algoParameter, uint64_t a… in OnGetData() argument
120 .algoParameter = algoParameter, in OnGetData()
/ohos5.0/drivers/peripheral/pin_auth/hdi_service/main/inc/
H A Dpin_auth.h37 std::vector<uint8_t> algoParameter; member
60 int32_t GenerateAlgoParameter(std::vector<uint8_t> &algoParameter, uint32_t &algoVersion);
/ohos5.0/drivers/interface/pin_auth/v1_1/
H A DIExecutorCallback.idl55 * @param algoParameter is the parameter of the algorithm.
62 …OnGetDataV1_1([in] unsigned long scheduleId, [in] unsigned char[] algoParameter, [in] unsigned lon…
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/pin_auth_v1_1/foo/pin_auth/v1_1/
H A DIExecutorCallback.idl55 * @param algoParameter is the parameter of the algorithm.
62 …OnGetDataV1_1([in] unsigned long scheduleId, [in] unsigned char[] algoParameter, [in] unsigned lon…
/ohos5.0/base/useriam/pin_auth/frameworks/ipc/common_defines/
H A Dinputer_get_data.h41 std::vector<uint8_t> algoParameter; member
/ohos5.0/base/useriam/pin_auth/test/unittest/mocks/
H A Dmock_iexecute_callback.h34 MOCK_METHOD5(OnGetData, int32_t(uint64_t scheduleId, const std::vector<uint8_t> &algoParameter,

12