/base/security/deviceauth/services/protocol/src/pake_protocol/pake_v1_protocol/ |
D | pake_v1_protocol_common.c | 151 int32_t res = AllocDefaultParams(params); in InitPakeV1BaseParams() local 172 int32_t res; in GeneratePakeParams() local 219 int32_t res; in DeriveKeyFromSharedSecret() local 254 int32_t res = InitSingleParam(¶ms->sharedSecret, params->innerKeyLen); in GenerateSessionKey() local 286 int res; in GenerateProof() local 316 int res; in VerifyProof() local 354 int32_t res = GeneratePakeParams(params); in ClientConfirmPakeV1Protocol() local 383 int32_t res = VerifyProof(params); in ClientVerifyConfirmPakeV1Protocol() local 397 int32_t res = GeneratePakeParams(params); in ServerResponsePakeV1Protocol() local 411 int32_t res = GenerateSessionKey(params); in ServerConfirmPakeV1Protocol() local
|
/base/security/deviceauth/services/authenticators/src/account_unrelated/pake_task/ |
D | pake_message_util.c | 73 int32_t res = GetAndCheckKeyLenOnServer(in, &(params->returnKey.length)); in ParsePakeRequestMessage() local 85 …int32_t res = AddByteToJson(payload, FIELD_SALT, params->baseParams.salt.val, params->baseParams.s… in PackagePakeResponseData() local 117 …int res = InitSingleParam(&(params->baseParams.epkPeer), strlen(epkPeerHex) / BYTE_TO_HEX_OPER_LEN… in GetDasEpkPeerFromJson() local 132 …int32_t res = GetByteFromJson(in, FIELD_SALT, params->baseParams.salt.val, params->baseParams.salt… in ParsePakeResponseMessage() local 155 …int32_t res = AddByteToJson(payload, FIELD_EPK, params->baseParams.epkSelf.val, params->baseParams… in PackagePakeClientConfirmData() local 171 int32_t res = GetByteFromJson(in, FIELD_KCF_DATA, params->baseParams.kcfDataPeer.val, in ParsePakeClientConfirmMessage() local 187 int32_t res = AddByteToJson(payload, FIELD_KCF_DATA, in PackagePakeServerConfirmData() local 198 int32_t res = GetByteFromJson(in, FIELD_KCF_DATA, params->baseParams.kcfDataPeer.val, in ParsePakeServerConfirmMessage() local
|
D | pake_task_common.c | 24 int32_t res; in ConstructOutJson() local 68 …int32_t res = params->baseParams.loader->computeHkdf(&(params->baseParams.sessionKey), &(params->b… in GenerateOutputKey() local 80 int res; in SendResultToSelf() local 120 int res = InitSingleParam(&(params->baseParams.psk), strlen(pinString)); in FillPskWithPin() local 266 int res = FillNonce(params); in FillDasPakeParams() local
|
/base/security/deviceauth/services/authenticators/src/account_unrelated/pake_task/standard_exchange_task/ |
D | common_standard_unbind_exchange.c | 29 int32_t res; in InitStandardUnbindExchangeParams() local 76 int32_t res = HC_SUCCESS; in PackageRmvInfo() local 108 …int32_t res = InitSingleParam(&(exchangeParams->exRmvCipher), exchangeParams->rmvInfo.length + AE_… in EncryptRmvInfo() local 139 …int32_t res = InitSingleParam(&exchangeParams->rmvInfo, exchangeParams->exRmvCipher.length - AE_TA… in DecryptRmvInfo() local 164 int32_t res; in ParseRmvInfo() local 188 …int32_t res = GenerateKeyAlias(&packageName, &serviceType, keyType, &(pakeParams->baseParams.idPee… in DeleteAuthInfo() local 220 int32_t res = InitSingleParam(&(exchangeParams->resultCipher), result.length + AE_TAG_LEN); in BuildRmvResult() local 263 int32_t res = pakeParams->baseParams.loader->aesGcmDecrypt(&(pakeParams->baseParams.sessionKey), in ConfirmRmvResult() local 282 int32_t res = PackageRmvInfo(pakeParams, exchangeParams); in ClientRequestStandardUnbindExchange() local 299 int32_t res = DecryptRmvInfo(pakeParams, exchangeParams); in ServerResponseStandardUnbindExchange() local [all …]
|
D | standard_exchange_message_util.c | 27 int32_t res = HC_SUCCESS; in PackageNonceAndCipherToJson() local 54 int32_t res = HC_SUCCESS; in ParseNonceAndCipherFromJson() local 98 int res = InitSingleParam(&(params->baseParams.challengeSelf), PAKE_CHALLENGE_LEN); in GenerateSelfChallenge() local 113 int res = InitSingleParam(&(params->baseParams.challengePeer), PAKE_CHALLENGE_LEN); in GetPeerChallenge() local
|
D | common_standard_bind_exchange.c | 27 int32_t res; in InitStandardBindExchangeParams() local 94 int32_t res = pakeParams->baseParams.loader->checkKeyExist(keyAlias); in PackageAuthInfo() local 149 int32_t res = HC_SUCCESS; in GenerateSignInfo() local 196 int32_t res = HC_SUCCESS; in EncryptAuthAndSignInfo() local 264 int32_t res = pakeParams->baseParams.loader->aesGcmDecrypt(&(pakeParams->baseParams.sessionKey), in DecryptAuthAndSignInfo() local 297 int32_t res; in ParseAuthInfo() local 320 int32_t res = HC_SUCCESS; in VerifySignInfo() local 365 …int32_t res = GenerateKeyAlias(&packageName, &serviceType, keyType, &(pakeParams->baseParams.idPee… in SaveAuthInfo() local 395 …int32_t res = GenerateKeyAlias(&packageName, &serviceType, keyType, &(pakeParams->baseParams.idSel… in ClientRequestStandardBindExchange() local 431 …int32_t res = GenerateKeyAlias(&packageName, &serviceType, keyType, &(pakeParams->baseParams.idSel… in ServerResponseStandardBindExchange() local [all …]
|
/base/hiviewdfx/hiappevent/test/unittest/common/native/ |
D | hiappevent_native_test.cpp | 111 int res = OH_HiAppEvent_Write(TEST_DOMAIN_NAME, TEST_EVENT_NAME, BEHAVIOR, list); variable 141 int res = OH_HiAppEvent_Write(TEST_DOMAIN_NAME, TEST_EVENT_NAME, BEHAVIOR, list); variable 161 int res = OH_HiAppEvent_Write(TEST_DOMAIN_NAME, TEST_EVENT_NAME, FAULT, nullptr); variable 227 int res = OH_HiAppEvent_Write(TEST_DOMAIN_NAME, TEST_EVENT_NAME, SECURITY, list); variable 259 int res = OH_HiAppEvent_Write(TEST_DOMAIN_NAME, TEST_EVENT_NAME, SECURITY, list); variable 290 int res = OH_HiAppEvent_Write(TEST_DOMAIN_NAME, TEST_EVENT_NAME, SECURITY, list); variable 312 int res = OH_HiAppEvent_Write(TEST_DOMAIN_NAME, "verify_**", SECURITY, list); variable 347 int res = OH_HiAppEvent_Write(TEST_DOMAIN_NAME, nullptr, SECURITY, list); variable 371 int res = OH_HiAppEvent_Write(TEST_DOMAIN_NAME, TEST_EVENT_NAME, SECURITY, list); variable 395 bool res = OH_HiAppEvent_Configure(nullptr, nullptr); variable [all …]
|
/base/accessibility/frameworks/asacfwk/test/unittest/ |
D | accessibility_element_operator_stub_test.cpp | 68 int res = mockStub_->OnRemoteRequest( variable 83 int res = mockStub_->OnRemoteRequest(static_cast<uint32_t>( variable 102 int res = mockStub_->OnRemoteRequest( variable 121 int res = mockStub_->OnRemoteRequest( variable 140 int res = mockStub_->OnRemoteRequest( variable 159 int res = mockStub_->OnRemoteRequest( variable 178 int res = mockStub_->OnRemoteRequest( variable
|
D | accessible_ability_channel_stub_test.cpp | 98 int res = stub_->OnRemoteRequest( variable 139 int res = stub_->OnRemoteRequest( variable 180 int res = stub_->OnRemoteRequest( variable 221 int res = stub_->OnRemoteRequest( variable 272 int res = stub_->OnRemoteRequest( variable 300 int res = stub_->OnRemoteRequest( variable 327 int res = stub_->OnRemoteRequest( variable 356 int res = stub_->OnRemoteRequest( variable 382 int res = stub_->OnRemoteRequest( variable 408 int res = stub_->OnRemoteRequest( variable [all …]
|
D | accessible_ability_manager_service_stub_test.cpp | 71 int res = mockStub_->OnRemoteRequest( variable 92 int res = mockStub_->OnRemoteRequest( variable 119 int res = mockStub_->OnRemoteRequest( variable 146 int res = mockStub_->OnRemoteRequest( variable 173 int res = mockStub_->OnRemoteRequest( variable
|
/base/security/deviceauth/services/protocol/src/iso_protocol/ |
D | iso_protocol_common.c | 30 int32_t res; in InitIsoBaseParams() local 90 int res; in IsoCalSelfToken() local 143 int res; in IsoCalPeerToken() local 215 int res = IsoCombineHkdfSalt(params, &hkdfSaltBuf, isClient); in IsoGenSessionKey() local 238 int32_t res = params->loader->generateRandom(¶ms->randSelf); in IsoClientGenRandom() local 260 int res = IsoCalSelfToken(params, &outHmac); in IsoClientCheckAndGenToken() local 295 int res = params->loader->computeHmac(&pskBuf, &hmacMessage, &outHmacBuf, false); in IsoClientGenSessionKey() local 327 int res = params->loader->generateRandom(¶ms->randSelf); in IsoServerGenRandomAndToken() local 355 int res = IsoCalSelfToken(params, &outHmac); in IsoServerGenSessionKeyAndCalToken() local
|
/base/customization/config_policy/frameworks/config_policy/src/ |
D | config_policy_utils.c | 21 void FreeCfgFiles(CfgFiles *res) in FreeCfgFiles() 35 void FreeCfgDirList(CfgDir *res) in FreeCfgDirList() 47 static void GetCfgDirRealPolicyValue(CfgDir *res) in GetCfgDirRealPolicyValue() 116 CfgDir *res = (CfgDir *)(malloc(sizeof(CfgDir))); in GetCfgDirList() local
|
/base/customization/enterprise_device_management/services/edm/test/unittest/src/ |
D | admin_manager_test.cpp | 81 ErrCode res; variable 130 ErrCode res; variable 165 ErrCode res; variable 206 ErrCode res; variable 248 ErrCode res; variable 304 ErrCode res; variable 337 ErrCode res; variable
|
D | policy_manager_test.cpp | 62 ErrCode res; variable 96 ErrCode res; variable 130 ErrCode res; variable 155 ErrCode res; variable 185 ErrCode res; variable
|
/base/security/deviceauth/services/authenticators/src/account_unrelated/pake_task/pake_v1_task/ |
D | pake_v1_client_task.c | 58 int res = realTask->curTask->process(realTask->curTask, &(realTask->params), in, out, status); in CreateAndProcessNextBindTask() local 73 int res = realTask->curTask->process(realTask->curTask, &(realTask->params), in, out, status); in CreateAndProcessNextUnbindTask() local 82 int res = HC_SUCCESS; in CreateNextTask() local 131 int res = realTask->curTask->process(realTask->curTask, &(realTask->params), in, out, status); in Process() local 154 int res = InitDasPakeV1Params(&(task->params), in); in CreatePakeV1ClientTask() local
|
D | pake_v1_server_task.c | 58 int res = realTask->curTask->process(realTask->curTask, &(realTask->params), in, out, status); in CreateAndProcessNextBindTask() local 73 int res = realTask->curTask->process(realTask->curTask, &(realTask->params), in, out, status); in CreateAndProcessNextUnbindTask() local 82 int res = HC_SUCCESS; in CreateNextTask() local 131 int res = realTask->curTask->process(realTask->curTask, &(realTask->params), in, out, status); in Process() local 154 int res = InitDasPakeV1Params(&(task->params), in); in CreatePakeV1ServerTask() local
|
/base/update/updater/services/script/yacc/ |
D | location.hh | 84 inline position& operator+= (position& res, position::counter_type width) in operator +=() 90 inline position operator+ (position res, position::counter_type width) in operator +() 95 inline position& operator-= (position& res, position::counter_type width) in operator -=() 101 inline position operator- (position res, position::counter_type width) in operator -() 166 inline location& operator+= (location& res, const location& end) in operator +=() 173 inline location operator+ (location res, const location& end) in operator +() 179 inline location& operator+= (location& res, location::counter_type width) in operator +=() 186 inline location operator+ (location res, location::counter_type width) in operator +() 192 inline location& operator-= (location& res, location::counter_type width) in operator -=() 198 inline location operator- (location res, location::counter_type width) in operator -()
|
/base/security/deviceauth/services/protocol/src/pake_protocol/pake_protocol_dl_common/ |
D | pake_protocol_dl_common.c | 54 int res = params->loader->generateRandom(&(params->eskSelf)); in GenerateEsk() local 97 int res; in InitDlPakeParams() local 127 int32_t res = InitDlPakeParams(params); in GenerateDlPakeParams() local 174 int res; in AgreeDlSharedSecret() local
|
/base/security/deviceauth/services/protocol/src/pake_protocol/pake_protocol_ec_common/ |
D | pake_protocol_ec_common.c | 34 int32_t res; in GenerateEsk() local 57 int32_t res = InitSingleParam(&(params->eskSelf), params->eskSelf.length); in InitEcPakeParams() local 77 int32_t res = InitEcPakeParams(params); in GenerateEcPakeParams() local 115 int32_t res; in AgreeEcSharedSecret() local
|
/base/security/deviceauth/services/authenticators/src/account_unrelated/pake_task/pake_v1_task/pake_v1_protocol_task/ |
D | pake_v1_protocol_task_common.c | 58 int32_t res = GetIntFromJson(in, FIELD_KEY_LENGTH, (int *)&(params->returnKey.length)); in AllocReturnKey() local 76 int32_t res = InitPakeV1BaseParams(&(params->baseParams)); in InitDasPakeV1Params() local 111 … int res = InitSingleParam(&(params->baseParams.psk), PAKE_PSK_LEN * BYTE_TO_HEX_OPER_LENGTH + 1); in ConvertPsk() local 129 int32_t res; in FillPskWithDerivedKeyHex() local
|
D | pake_v1_client_protocol_task.c | 50 int res = ConstructOutJson(params, out); in PakeRequest() local 89 int res = ParsePakeResponseMessage(params, in); in ParseMsgForClientConfirm() local 113 int res = ConstructOutJson(params, out); in PackageMsgForClientConfirm() local 140 int res; in PakeClientConfirm() local 195 int res = ParsePakeServerConfirmMessage(params, in); in PakeClientVerifyConfirm() local 215 int res = HC_SUCCESS; in Process() local
|
/base/accessibility/frameworks/aafwk/test/unittest/ |
D | accessible_ability_client_stub_test.cpp | 91 int res = stub_->OnRemoteRequest( variable 119 int res = stub_->OnRemoteRequest( variable 166 int res = stub_->OnRemoteRequest( variable 193 int res = stub_->OnRemoteRequest( variable 217 int res = stub_->OnRemoteRequest(errorCode, data, reply, option); variable 241 int res = stub_->OnRemoteRequest( variable
|
/base/security/deviceauth/deps_adapter/os_adapter/impl/src/ |
D | hc_time.c | 28 int res = clock_gettime(CLOCK_MONOTONIC, &start); in HcGetCurTime() local 43 int res = clock_gettime(CLOCK_MONOTONIC, &end); in HcGetIntervalTime() local
|
/base/hiviewdfx/hilog/interfaces/js/kits/napi/src/common/napi/ |
D | n_val.cpp | 49 bool res = false; in IsArray() local 94 void *res = nullptr; in ToPointer() local 101 bool res = false; in IsTypeArray() local 115 double res = 0.0; in ToDouble() local 122 int32_t res = 0; in ToInt32() local 129 int64_t res = 0; in ToInt64() local 178 bool res = false; in HasProp() local 226 napi_value res = nullptr; in CreateUndefined() local 233 napi_value res = nullptr; in CreateNull() local 240 napi_value res = nullptr; in CreateInt64() local [all …]
|
/base/security/deviceauth/services/authenticators/src/account_unrelated/ |
D | das_task_common.c | 63 int res; in DasSendErrorToOut() local 124 int res; in ClientProtocolMessageOut() local 144 int res; in ServerProtocolMessageOut() local 171 int32_t res = HC_SUCCESS; in CombineServiceId() local 206 int32_t res = HC_SUCCESS; in CombineKeyAlias() local 253 int32_t res = CombineKeyAlias(serviceId, keyType, authId, outKeyAlias); in CombineKeyAliasForIso() local 264 int32_t res; in CombineKeyAliasForPake() local 321 int32_t res; in GenerateKeyAlias() local 360 int32_t res = InitSingleParam(authIdPeer, authIdLen); in GetIdPeer() local 426 int res = GetIdPeer(payload, FIELD_PEER_AUTH_ID, authIdSelf, authIdPeer); in GetAuthIdPeerFromPayload() local
|