Home
last modified time | relevance | path

Searched refs:algoParameter (Results 1 - 11 of 11) sorted by relevance

/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 &algoVersion) in EnrollInner()
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()
161 int32_t AllInOneImpl::AuthenticateInner(uint64_t scheduleId, uint64_t templateId, std::vector<uint8_t> &algoParameter, in AuthenticateInner() argument
182 .algoParameter = algoParameter, in AuthenticateInner()
100 EnrollInner(uint64_t scheduleId, const std::vector<uint8_t> &extraInfo, const sptr<HdiIExecutorCallback> &callbackObj, std::vector<uint8_t> &algoParameter, uint32_t &algoVersion) EnrollInner() argument
[all...]
H A Dcollector_impl.cpp143 if (callback_->OnGetData(pinAlgoParam.algoParameter, pinAlgoParam.subType, pinAlgoParam.algoVersion, in SendMessage()
/drivers/peripheral/pin_auth/hdi_service/service/inc/
H A Dall_in_one_impl.h58 std::vector<uint8_t> algoParameter; member
74 int32_t AuthenticateInner(uint64_t scheduleId, uint64_t templateId, std::vector<uint8_t> &algoParameter,
77 const sptr<HdiIExecutorCallback> &callbackObj, std::vector<uint8_t> &algoParameter, uint32_t &algoVersion);
/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()
191 LOG_ERROR("set algoParameter fail!"); in AllInOneAuth()
422 result = SetVectorByBuffer(pinAlgoParam.algoParameter, algoParam.algoParameter, sizeof(algoParam.algoParameter)); in SendMessageToCollector()
[all...]
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()
H A Dall_in_one_func.c93 result = DoGetAlgoParameter(templateId, algoParam->algoParameter, &algoParameterSize, &(algoParam->algoVersion)); in DoAllInOneAuth()
/drivers/peripheral/pin_auth/hdi_service/main/inc/
H A Dpin_auth.h37 std::vector<uint8_t> algoParameter; member
62 int32_t GenerateAlgoParameter(std::vector<uint8_t> &algoParameter, uint32_t &algoVersion);
H A Dexecutor_func_common.h70 uint8_t algoParameter[CONST_SALT_LEN]; member
/drivers/peripheral/pin_auth/hdi_service/database/inc/
H A Dpin_db.h45 ResultCode DoGenerateAlgoParameter(uint8_t *algoParameter, uint32_t *algoParameterLength, uint32_t *algoVersion,
/drivers/peripheral/pin_auth/hdi_service/database/src/
H A Dpin_db.c1074 static ResultCode GenerateSalt(uint8_t *algoParameter, uint32_t *algoParameterLength, in GenerateSalt() argument
1096 if (memcpy_s(algoParameter, *algoParameterLength, resultSha256->buf, resultSha256->contentSize) != EOK) { in GenerateSalt()
1097 LOG_ERROR("memcpy_s result to algoParameter failed"); in GenerateSalt()
1108 ResultCode DoGenerateAlgoParameter(uint8_t *algoParameter, uint32_t *algoParameterLength, uint32_t *algoVersion, in DoGenerateAlgoParameter() argument
1112 if (algoParameter == NULL || algoParameterLength == NULL || localDeviceId == NULL || algoVersion == NULL || in DoGenerateAlgoParameter()
1122 if (GenerateSalt(algoParameter, algoParameterLength, localDeviceId, deviceUuidLength) != RESULT_SUCCESS) { in DoGenerateAlgoParameter()
/drivers/peripheral/pin_auth/test/fuzztest/pin_auth/pinauthhdi_fuzzer/
H A Dpin_auth_hdi_fuzzer.cpp54 int32_t OnGetData(const std::vector<uint8_t>& algoParameter, uint64_t authSubType, uint32_t algoVersion,

Completed in 7 milliseconds