Searched refs:compareRet (Results 1 – 7 of 7) sorted by relevance
/drivers/peripheral/pin_auth/test/uinttest/pin_auth/database/src/ |
D | pin_db_test.cpp | 71 ResultCode compareRet = RESULT_GENERAL_ERROR; variable 72 result = AuthPinById(pinData, CONST_PIN_DATA_LEN, 0, outRootSecret, &compareRet); 75 result = AuthPinById(nullptr, CONST_PIN_DATA_LEN, 0, outRootSecret, &compareRet); 78 result = AuthPinById(pinData, 0, templateId, outRootSecret, &compareRet); 81 …result = AuthPinById(pinData, CONST_PIN_DATA_LEN, INVALID_TEMPLATE_ID, outRootSecret, &compareRet); 84 result = AuthPinById(pinData, CONST_PIN_DATA_LEN, templateId, nullptr, &compareRet); 90 result = AuthPinById(pinData, CONST_PIN_DATA_LEN, templateId, outRootSecret, &compareRet); 92 EXPECT_EQ(compareRet, RESULT_SUCCESS); 95 result = AuthPinById(pinData, CONST_PIN_DATA_LEN, templateId, outRootSecret, &compareRet); 97 EXPECT_EQ(compareRet, RESULT_COMPARE_FAIL);
|
/drivers/peripheral/pin_auth/hdi_service/main/src/ |
D | pin_func.c | 73 ResultCode DoAuthPin(PinAuthParam *pinAuthParam, Buffer *retTlv, ResultCode *compareRet) in DoAuthPin() argument 75 if (!IsBufferValid(retTlv) || pinAuthParam == NULL || compareRet == NULL) { in DoAuthPin() 79 *compareRet = RESULT_COMPARE_FAIL; in DoAuthPin() 96 …nById(pinAuthParam->pinData, CONST_PIN_DATA_LEN, pinAuthParam->templateId, rootSecret, compareRet); in DoAuthPin() 103 *compareRet = RESULT_PIN_FREEZE; in DoAuthPin() 106 …ret = GenerateRetTlv(*compareRet, pinAuthParam->scheduleId, pinAuthParam->templateId, retTlv, root… in DoAuthPin()
|
D | pin_auth.cpp | 165 ResultCode compareRet = RESULT_COMPARE_FAIL; in AuthPin() local 166 ResultCode result = DoAuthPin(&pinAuthParam, retTlv, &compareRet); in AuthPin() 177 result = compareRet; in AuthPin()
|
/drivers/hdf_core/framework/tools/hdi-gen/codegen/ |
D | code_emitter.h | 35 int compareRet = lhs.fileName_.compare(rhs.fileName_); in operator() local 36 if (compareRet == 0) { in operator() 44 return compareRet < 0; in operator()
|
/drivers/peripheral/pin_auth/hdi_service/main/inc/ |
D | pin_func.h | 111 ResultCode DoAuthPin(PinAuthParam *pinAuthParam, Buffer *retTlv, ResultCode *compareRet);
|
/drivers/peripheral/pin_auth/hdi_service/database/inc/ |
D | pin_db.h | 105 Buffer *outRootSecret, ResultCode *compareRet);
|
/drivers/peripheral/pin_auth/hdi_service/database/src/ |
D | pin_db.c | 1182 Buffer *outRootSecret, ResultCode *compareRet) in AuthPinById() argument 1185 !IsBufferValid(outRootSecret) || compareRet == NULL) { in AuthPinById() 1189 *compareRet = RESULT_COMPARE_FAIL; in AuthPinById() 1211 *compareRet = ProcessAuthPin(storeData, inputData, inputDataLen, templateId, outRootSecret); in AuthPinById() 1212 if ((*compareRet) == RESULT_SUCCESS) { in AuthPinById()
|