/drivers/peripheral/pin_auth/hdi_service/service/src/ |
H A D | all_in_one_impl.cpp | 101 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 D | collector_impl.cpp | 143 if (callback_->OnGetData(pinAlgoParam.algoParameter, pinAlgoParam.subType, pinAlgoParam.algoVersion,
in SendMessage()
|
/drivers/peripheral/pin_auth/hdi_service/service/inc/ |
H A D | all_in_one_impl.h | 58 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 D | pin_auth.cpp | 149 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 D | collector_func.c | 245 .data = algoParam->algoParameter, in GetAlgoParam() 246 .len = sizeof(algoParam->algoParameter), in GetAlgoParam() 253 if (uint8Array.len != sizeof(algoParam->algoParameter)) { in GetAlgoParam()
|
H A D | all_in_one_func.c | 93 result = DoGetAlgoParameter(templateId, algoParam->algoParameter, &algoParameterSize, &(algoParam->algoVersion)); in DoAllInOneAuth()
|
/drivers/peripheral/pin_auth/hdi_service/main/inc/ |
H A D | pin_auth.h | 37 std::vector<uint8_t> algoParameter; member 62 int32_t GenerateAlgoParameter(std::vector<uint8_t> &algoParameter, uint32_t &algoVersion);
|
H A D | executor_func_common.h | 70 uint8_t algoParameter[CONST_SALT_LEN];
member
|
/drivers/peripheral/pin_auth/hdi_service/database/inc/ |
H A D | pin_db.h | 45 ResultCode DoGenerateAlgoParameter(uint8_t *algoParameter, uint32_t *algoParameterLength, uint32_t *algoVersion,
|
/drivers/peripheral/pin_auth/hdi_service/database/src/ |
H A D | pin_db.c | 1074 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 D | pin_auth_hdi_fuzzer.cpp | 54 int32_t OnGetData(const std::vector<uint8_t>& algoParameter, uint64_t authSubType, uint32_t algoVersion,
|