/drivers/peripheral/pin_auth/test/unittest/pin_auth/main/src/ |
D | all_in_one_func_test.cpp | 65 uint32_t result = DoEnrollPin(nullptr, retTlv); variable 93 uint32_t result = DoAuthPin(nullptr, retTlv, nullptr); variable 119 uint32_t result = DoQueryPinInfo(INVALID_TEMPLATE_ID, pinCredentialInfo); variable 138 uint32_t result = DoDeleteTemplate(INVALID_TEMPLATE_ID); variable 150 uint32_t result = DoGetAllInOneExecutorInfo(nullptr); variable 166 ResultCode result = DoSetAllInOneFwkParam(nullptr, templateIdListLen, nullptr, 0); variable
|
D | pin_auth_test.cpp | 71 int32_t result = pinAuth->EnrollPin(0, 10010, salt, pinData, resultTlv); variable 93 int32_t result = pinAuth->AllInOneAuth(0, INVALID_TEMPLATE_ID, extraInfo, pinAlgoParam); variable 116 int32_t result = pinAuth->AuthPin(0, 1, std::vector<uint8_t>{}, resultTlv); variable 135 int32_t result = pinAuth->QueryPinInfo(0, pinCredentialInfo); variable 153 int32_t result = pinAuth->DeleteTemplate(0); variable 174 …int32_t result = pinAuth->GetExecutorInfo(HDI::PinAuth::HdiExecutorRole::SCHEDULER, pubKey, esl, a… variable 192 int32_t result = pinAuth->SetAllInOneFwkParam(templateIdList, fwkPubKey); variable 212 ResultCode result = GetAttributeUint8Array(attrbute, ATTR_ROOT, &uint8array); in GetTemplateIdFromTlv() local 258 int32_t result = pinAuth->SetAllInOneFwkParam(templateIdList, frameworkPublicKey); variable 319 int32_t result = pinAuth->EnrollPin(0, 10010, salt, pinData, resultTlv); variable [all …]
|
/drivers/peripheral/camera/test/mpi/src/ |
D | dfx_test.cpp | 61 int result = 0; variable 88 int result = 0; variable 113 int result = 0; variable 142 int result = 0; variable 173 int result = 0; variable 204 int result = 0; variable 247 int result = 0; variable 269 int result = 0; variable 333 int result = 0; variable 383 int result = 0; variable [all …]
|
/drivers/peripheral/pin_auth/test/unittest/pin_auth/common/src/ |
D | buffer_test.cpp | 58 bool result = IsBufferValid(buffer1); variable 83 bool result = IsBufferValid(buffer1); variable 125 bool result = CheckBufferWithSize(buffer1, 5); variable 152 uint32_t result = InitBuffer(buffer1, nullptr, 0); variable 185 Buffer *result = CopyBuffer(buffer0); variable 204 bool result = CompareBuffer(nullptr, nullptr); variable 254 uint32_t result = GetBufferData(nullptr, nullptr, nullptr); variable
|
/drivers/peripheral/pin_auth/hdi_service/main/src/ |
D | pin_auth.cpp | 130 ResultCode result = DoEnrollPin(&pinEnrollParam, retTlv); in EnrollPin() local 160 int32_t result = DoGenerateAlgoParameter(algoParameter.data(), &algoParameterLen, &algoVersion, in GenerateAlgoParameter() local 181 …ResultCode result = DoAllInOneAuth(scheduleId, templateId, extraInfo.data(), extraInfo.size(), &au… in AllInOneAuth() local 227 ResultCode result = DoAuthPin(&pinAuthParam, retTlv, &compareRet); in AuthPin() local 251 int32_t result = DoQueryPinInfo(templateId, &pinCredentialInfosRet); in QueryPinInfo() local 269 ResultCode result = DoDeleteTemplate(templateId); in DeleteTemplate() local 285 int32_t result = RESULT_GENERAL_ERROR; in GetExecutorInfo() local 331 ResultCode result = DoSetAllInOneFwkParam( in SetAllInOneFwkParam() local 353 int32_t result = DoSetCollectorFwkParam(frameworkPublicKey.data(), frameworkPublicKey.size()); in SetCollectorFwkParam() local 384 int32_t result = DoCollect(scheduleId, extraInfo.data(), extraInfo.size(), out, &outSize); in Collect() local [all …]
|
D | verifier_func.c | 133 …int32_t result = VerifyAndGetDataAttribute(scheduleId, &attribute, g_fwkPubKey, extraInfo, extraIn… in GetAuthInfoFromSchedule() local 171 int32_t result = SecureRandom(g_verifierSchedule->salt->buf, g_verifierSchedule->salt->maxSize); in SetVerifyAckDataSalt() local 203 int32_t result = DoGetAlgoParameter( in SetVerifyAckDataPinParam() local 250 int32_t result = RESULT_GENERAL_ERROR; in GetResultTlv() local 297 … int32_t result = GetAuthInfoFromSchedule(scheduleId, verifierMsg->msgIn, verifierMsg->msgInSize); in DoVerifierAuth() local 357 int32_t result = VerifyAndGetDataAttribute(g_verifierSchedule->scheduleId, in DoHandleCollectorSync() local 429 int32_t result = RESULT_GENERAL_ERROR; in GetPinData() local 470 … ResultCode result = AuthPinById(pinDataBuf, g_verifierSchedule->templateId, NULL, &compareRet); in AuthPin() local 490 int32_t result = VerifyAndGetDataAttribute(g_verifierSchedule->scheduleId, in DoHandleCollectorAck() local
|
D | executor_func_common.c | 48 int32_t result = GetAttributeLength(attribute, key, &len); in GetBufferFromAttributeBase() local 81 int32_t result = SetAttributeUint64(attribute, ATTR_SCHEDULE_ID, scheduleId); in GetAttributeDataBase() local 113 int32_t result = GetAttributeSerializedMsg(data, &dataMsg); in GetRootMsg() local 167 int32_t result = GetRootMsg(data, keyPair, &uint8Array); in FormatTlvMsg() local 226 int32_t result = GetAttributeUint64(data, ATTR_SCHEDULE_ID, &dataScheduleId); in CheckScheduleIdOfAttribute() local 263 int32_t result = Ed25519Verify(pubKey, dataBuf, signBuf); in VerifyAndGetDataAttribute() local 305 int32_t result = GetAttributeUint32(data, PIN_ATTR_MSG_ID, &dataMsgId); in CheckAttributeDataBase() local
|
D | collector_func.c | 120 …int32_t result = VerifyAndGetDataAttribute(scheduleId, &attribute, g_fwkPubKey, extraInfo, extraIn… in GetCollectInfoFromSchedule() local 180 int32_t result = GetCollectInfoFromSchedule(scheduleId, extraInfo, extraInfoSize); in DoCollect() local 234 int32_t result = GetAttributeUint64(data, ATTR_PIN_SUB_TYPE, &(algoParam->subType)); in GetAlgoParam() local 274 …int32_t result = VerifyAndGetDataAttribute(scheduleId, &data, g_collectorSchedule->peerPubKey, msg… in DoSendMessageToCollector() local 357 int32_t result = AesGcm256Encrypt(&plainText, &aesGcmParam, &cipherText, &tag); in SetEncryptParam() local 389 int32_t result = RESULT_BAD_PARAM; in DoSetDataToCollector() local
|
/drivers/peripheral/user_auth/test/unittest/base_test/src/ |
D | buffer_test.cpp | 61 bool result = IsBufferValid(buffer1); variable 97 bool result = IsBufferValid(buffer1); variable 140 bool result = CheckBufferWithSize(buffer1, BUFFER_LEN_5); variable 167 Buffer *result = CopyBuffer(buffer0); variable 186 bool result = CompareBuffer(nullptr, nullptr); variable 236 uint32_t result = GetBufferData(nullptr, nullptr, nullptr); variable
|
D | adaptor_file_test.cpp | 50 bool result = IsFileOperatorValid(nullptr); variable 64 bool result = IsFileOperatorValid(fileOp); variable
|
/drivers/peripheral/user_auth/hdi_service/coauth/src/ |
D | executor_message.c | 43 ResultCode result = RESULT_SUCCESS; in SignData() local 74 ResultCode result = RESULT_GENERAL_ERROR; in GetAttributeDataAndSignTlv() local 125 ResultCode result = RESULT_GENERAL_ERROR; in GetAttributeExecutorMsg() local 156 ResultCode result = RESULT_GENERAL_ERROR; in Ed25519VerifyData() local 191 ResultCode result = RESULT_GENERAL_ERROR; in VerifyDataTlvSignature() local 277 ResultCode result = GetAttributeUint8Array(msgAttribute, ATTR_ROOT, &dataAndSignTlv); in CreateAttributeFromExecutorMsg() local 299 ResultCode result = GetAttributeUint8Array(attribute, ATTR_ROOT_SECRET, &(array)); in GetRootSecretFromAttribute() local 322 ResultCode result = RESULT_GENERAL_ERROR; in GetExecutorResultInfoFromAttribute() local 379 ExecutorResultInfo *result = Malloc(sizeof(ExecutorResultInfo)); in CreateExecutorResultInfo() local 398 void DestroyExecutorResultInfo(ExecutorResultInfo *result) in DestroyExecutorResultInfo() [all …]
|
/drivers/peripheral/pin_auth/test/unittest/pin_auth/adaptor/src/ |
D | adaptor_algorithm_test.cpp | 61 bool result = IsEd25519KeyPairValid(&keyPair2); variable 97 int32_t result = Ed25519Sign(nullptr, data, &signContent); variable 129 int32_t result = Ed25519Sign(keyPair, data, &signContent); variable 160 int32_t result = AesGcm256Encrypt(nullptr, nullptr, nullptr, nullptr); variable 174 int32_t result = AesGcm256Encrypt(plaintext, nullptr, nullptr, nullptr); variable 207 int32_t result = AesGcm256Encrypt(plaintext1, ¶m, &cipherText, &tag); variable
|
D | adaptor_file_test.cpp | 52 bool result = IsFileOperatorValid(nullptr); variable 66 bool result = IsFileOperatorValid(fileOp); variable
|
/drivers/peripheral/pin_auth/test/unittest/pin_auth/database/src/ |
D | pin_db_test.cpp | 63 uint32_t result = AddPin(pinEnrollParam, &templateId, outRootSecret); variable 128 uint32_t result = AddPin(pinEnrollParam, &templateId, outRootSecret); variable 177 uint32_t result = AddPin(pinEnrollParam, &templateId, outRootSecret); variable 220 uint32_t result = AddPin(pinEnrollParam, &templateId, outRootSecret); variable 260 uint32_t result = AddPin(pinEnrollParam, &templateId, outRootSecret); variable 300 uint32_t result = AddPin(pinEnrollParam, &templateId, outRootSecret); variable 336 uint32_t result = VerifyTemplateDataPin(&templateIdList[0], templateIdListLen); variable
|
D | pin_db_ops_base_test.cpp | 58 ResultCode result = GetDataFromBuf(NULL, srcLenTest, destTest, destLen); variable 90 ResultCode result = GetBufFromData(NULL, srcLenTest, &destTest, destLenTest); variable 117 ResultCode result = GenerateFileName(templateId, nullptr, suffix, fileName, fileNameLen); variable 142 ResultCode result = ReadPinFile(nullptr, dataLen, 1, suffix); variable
|
D | pin_db_ops_test.cpp | 52 PinDbV1 *result = ReadPinDb(); variable 75 ResultCode result = WritePinDb(NULL); variable
|
D | pin_db_ops_v1_test.cpp | 56 void *result = GetPinDbV1(NULL, dataLen); variable 120 ResultCode result = WritePinDbV1(NULL); variable
|
/drivers/peripheral/pin_auth/hdi_service/service/src/ |
D | verifier_impl.cpp | 53 …int32_t result = pinHdi_->GetExecutorInfo(HdiExecutorRole::VERIFIER, executorInfo.publicKey, eslRe… in GetExecutorInfo() local 73 int32_t result = pinHdi_->SetVerifierFwkParam(frameworkPublicKey); in OnRegisterFinish() local 153 int32_t result = callback_->OnMessage(HdiExecutorRole::COLLECTOR, msgOut); in HandleVerifierMsg() local 160 int32_t result = callback_->OnResult(compareResult, msgOut); in HandleVerifierMsg() local 208 int32_t result = pinHdi_->VerifierAuth(id, templateId[0], extra, msg); in Authenticate() local
|
D | all_in_one_impl.cpp | 64 int32_t result = pinHdi_->GetExecutorInfo(HdiExecutorRole::ALL_IN_ONE, info.publicKey, eslRet, in GetExecutorInfo() local 83 int32_t result = pinHdi_->SetAllInOneFwkParam(templateIdList, frameworkPublicKey); in OnRegisterFinish() local 152 int32_t result = EnrollInner(scheduleId, extraInfo, callbackObj, algoParameter, algoVersion); in Enroll() local 175 int32_t result = pinHdi_->QueryPinInfo(templateId, infoRet); in AuthenticateInner() local 222 int32_t result = pinHdi_->AllInOneAuth(scheduleId, templateIdList[0], extraInfo, pinAlgoParam); in Authenticate() local 257 int32_t result = pinHdi_->AuthPin(scheduleId, templateId, data, resultTlv); in AuthPin() local 291 int32_t result = GENERAL_ERROR; in SetData() local 322 int32_t result = pinHdi_->DeleteTemplate(templateId); in Delete() local 359 int32_t result = pinHdi_->QueryPinInfo(templateId, infoRet); in GetProperty() local
|
/drivers/peripheral/bluetooth/hci/hdi_service/ |
D | hci_interface_impl.cpp | 74 bool result = VendorInterface::GetInstance()->Initialize( in Init() local 91 …size_t result = VendorInterface::GetInstance()->SendPacket(static_cast<HciPacketType>(type), data); in SendHciPacket() local 119 bool result = remote->AddDeathRecipient(remoteDeathRecipient_); in AddHciDeathRecipient() local 131 bool result = remote->RemoveDeathRecipient(remoteDeathRecipient_); in RemoveHciDeathRecipient() local
|
/drivers/peripheral/user_auth/hdi_service/user_auth/src/ |
D | user_auth_funcs.c | 49 ResultCode result = GenerateAuthContext(param, &authContext); in GenerateSolutionFunc() local 81 …etAuthResult(int32_t userId, uint32_t authType, const ExecutorResultInfo *info, AuthResult *result) in SetAuthResult() 90 IAM_STATIC ResultCode GetExpiredInfoForResult(const UserAuthContext *context, AuthResult *result) in GetExpiredInfoForResult() 122 AuthResult *result, UserAuthTokenHal *authToken) in HandleAuthSuccessResult() 154 IAM_STATIC ResultCode SetAuthResultMsgToAttribute(Attribute *attribute, AuthResult *result, in SetAuthResultMsgToAttribute() 189 IAM_STATIC ResultCode GenerateRemoteAuthResultMsg(AuthResult *result, uint64_t scheduleId, Uint8Arr… in GenerateRemoteAuthResultMsg() 228 AuthResult *result) in RequestAuthResultFunc() 465 ResultCode result = CreateScheduleInfo(tlv, remoteUdid, scheduleInfo); in GenerateScheduleFunc() local 478 ResultCode result = CreateAuthResultInfo(tlv, authResultInfo); in GenerateAuthResultFunc() local 543 ResultCode result = GetExecutorInfoMsg(executorInfo, &executorInfoArray[index]); in GetSignExecutorInfoFuncInner() local [all …]
|
/drivers/peripheral/camera/vdi_base/common/pipeline_core/utils/ |
D | object_factory.h | 37 std::string result; in DoRegister() local 47 std::shared_ptr<B> result = nullptr; in CreateShared() local
|
/drivers/peripheral/user_auth/test/unittest/co_auth/ |
D | executor_message_test.cpp | 77 ResultCode result = SignData(&dataTlv, &signData, signParam); variable 91 ResultCode result = GetAttributeDataAndSignTlv(nullptr, &retData, signParam); variable 127 ResultCode result = GetAttributeExecutorMsg(nullptr, &retData, signParam); variable 168 ResultCode result = Ed25519VerifyData(scheduleId, dataTlv, signData); variable 179 ResultCode result = SetAttributeUint8Array(attribute, ATTR_SIGNATURE, dataTlv); variable 208 ResultCode result = SetAttributeInt32(attribute, ATTR_RESULT_CODE, resultCode); variable 244 ResultCode result = SetAttributeInt32(attribute, ATTR_RESULT_CODE, resultCode); variable 271 ResultCode result = SetAttributeUint8Array(attribute, ATTR_ROOT_SECRET, rootSecret); variable 282 ResultCode result = GetExecutorResultInfoFromAttribute(attribute, &resultInfo); variable 337 ResultCode result = SetAttributeInt32(attribute, ATTR_RESULT_CODE, resultCode); variable
|
/drivers/hdf_core/framework/tools/hdi-gen/util/ |
D | string_helper.cpp | 19 std::vector<std::string> result; in Split() local 81 std::string result = value; in Replace() local 93 std::string result = value; in Replace() local 135 std::string result = value; in StrToLower() local 146 std::string result = value; in StrToUpper() local
|
/drivers/peripheral/user_auth/hdi_service/database/src/ |
D | idm_file_manager.c | 86 ResultCode result = CapacityExpansion(parcel, size); in StreamWrite() local 160 ResultCode result; in StreamWriteUserInfo() local 261 ResultCode result = StreamWrite(parcel, &(globalConfigInfo.type), sizeof(int32_t)); in StreamWriteGlobalConfig() local 350 ResultCode result = StreamRead(parcel, index, &credentialNum, sizeof(uint32_t)); in StreamReadCredentialList() local 388 ResultCode result = StreamRead(parcel, index, &enrolledNum, sizeof(uint32_t)); in StreamReadEnrolledList() local 421 ResultCode result = StreamRead(parcel, index, &userInfo->userId, sizeof(int32_t)); in StreamReadUserInfo() local 483 ResultCode result = StreamRead(parcel, &index, &version, sizeof(uint32_t)); in StreamReadFileInfo() local 578 ResultCode result = StreamRead(parcel, index, &(globalConfigInfo->type), sizeof(int32_t)); in StreamReadGlobalConfig() local 603 ResultCode result = StreamRead(parcel, &index, &version, sizeof(uint32_t)); in ReadGlobalConfigInfo() local
|