Home
last modified time | relevance | path

Searched refs:templateIdListLen (Results 1 - 7 of 7) sorted by relevance

/drivers/peripheral/pin_auth/test/unittest/pin_auth/main/src/
H A Dall_in_one_func_test.cpp163 uint32_t templateIdListLen = 2; in HWTEST_F() local
166 ResultCode result = DoSetAllInOneFwkParam(nullptr, templateIdListLen, nullptr, 0); in HWTEST_F()
169 result = DoSetAllInOneFwkParam(templateIdList.data(), templateIdListLen, nullptr, 0); in HWTEST_F()
172 result = DoSetAllInOneFwkParam(templateIdList.data(), templateIdListLen, fwkPubKey.data(), 0); in HWTEST_F()
175 result = DoSetAllInOneFwkParam(templateIdList.data(), templateIdListLen, fwkPubKey.data(), fwkPubKeyLen); in HWTEST_F()
/drivers/peripheral/pin_auth/hdi_service/main/src/
H A Dall_in_one_func.c194 const uint64_t *templateIdList, uint32_t templateIdListLen, const uint8_t *fwkPubKey, uint32_t fwkPubKeySize) in DoSetAllInOneFwkParam()
196 if (((templateIdListLen != 0) && (templateIdList == NULL)) || in DoSetAllInOneFwkParam()
198 LOG_ERROR("templateIdList should be not null, when templateIdListLen is not zero"); in DoSetAllInOneFwkParam()
207 ResultCode ret = VerifyTemplateDataPin(templateIdList, templateIdListLen); in DoSetAllInOneFwkParam()
193 DoSetAllInOneFwkParam( const uint64_t *templateIdList, uint32_t templateIdListLen, const uint8_t *fwkPubKey, uint32_t fwkPubKeySize) DoSetAllInOneFwkParam() argument
H A Dpin_auth.cpp326 uint32_t templateIdListLen = templateIdList.size(); in SetAllInOneFwkParam() local
327 if (templateIdListLen > MAX_TEMPLATEID_LEN) { in SetAllInOneFwkParam()
328 LOG_ERROR("check templateIdListLen fail!"); in SetAllInOneFwkParam()
332 &templateIdList[0], templateIdListLen, frameworkPublicKey.data(), frameworkPublicKey.size()); in SetAllInOneFwkParam()
/drivers/peripheral/pin_auth/hdi_service/main/inc/
H A Dall_in_one_func.h48 const uint64_t *templateIdList, uint32_t templateIdListLen, const uint8_t *fwkPubKey, uint32_t fwkPubKeySize);
/drivers/peripheral/pin_auth/hdi_service/database/inc/
H A Dpin_db.h54 ResultCode VerifyTemplateDataPin(const uint64_t *templateIdList, uint32_t templateIdListLen);
/drivers/peripheral/pin_auth/hdi_service/database/src/
H A Dpin_db.c1038 static bool FindTemplateIdFromList(uint64_t storeTemplateId, const uint64_t *templateIdList, uint32_t templateIdListLen) in FindTemplateIdFromList() argument
1040 for (uint32_t i = 0; i < templateIdListLen; ++i) { in FindTemplateIdFromList()
1049 ResultCode VerifyTemplateDataPin(const uint64_t *templateIdList, uint32_t templateIdListLen) in VerifyTemplateDataPin() argument
1051 if (templateIdListLen != 0 && templateIdList == NULL) { in VerifyTemplateDataPin()
1052 LOG_ERROR("templateIdList should be not null, when templateIdListLen is not zero"); in VerifyTemplateDataPin()
1061 if (FindTemplateIdFromList(g_pinDbOp->pinIndex[i].pinInfo.templateId, templateIdList, templateIdListLen)) { in VerifyTemplateDataPin()
/drivers/peripheral/pin_auth/test/unittest/pin_auth/database/src/
H A Dpin_db_test.cpp335 uint32_t templateIdListLen = 2; in HWTEST_F() local
336 uint32_t result = VerifyTemplateDataPin(&templateIdList[0], templateIdListLen); in HWTEST_F()

Completed in 5 milliseconds