/base/security/device_auth/services/authenticators/src/account_unrelated/pake_task/standard_exchange_task/ |
D | das_standard_token_manager.c | 26 KeyAliasType keyType = userType; in RegisterLocalIdentity() local 29 int32_t res = GenerateKeyAlias(&pkgNameBuff, &serviceTypeBuff, keyType, authId, &keyAliasBuff); in RegisterLocalIdentity() 57 KeyAliasType keyType = userType; in UnregisterLocalIdentity() local 60 …int32_t res = GenerateKeyAlias(&pkgNameBuff, &serviceTypeBuff, keyType, authId, &pakeKeyAliasBuff); in UnregisterLocalIdentity() 83 KeyAliasType keyType = KEY_ALIAS_LT_KEY_PAIR; in DeletePeerAuthInfo() local 85 KeyAliasType keyType = (KeyAliasType)userTypePeer; in DeletePeerAuthInfo() local 89 …int32_t res = GenerateKeyAlias(&pkgNameBuff, &serviceTypeBuff, keyType, authIdPeer, &pakeKeyAliasB… in DeletePeerAuthInfo() 126 KeyAliasType keyType = params->userType; in ComputeAndSavePsk() local 129 …int32_t res = GenerateKeyAlias(&packageName, &serviceType, keyType, &(params->baseParams.idSelf), … in ComputeAndSavePsk() 181 KeyAliasType keyType = userType; in GetPublicKey() local [all …]
|
D | common_standard_bind_exchange.c | 363 KeyAliasType keyType = KEY_ALIAS_LT_KEY_PAIR; in SaveAuthInfo() local 365 KeyAliasType keyType = (KeyAliasType)pakeParams->userTypePeer; in SaveAuthInfo() local 369 …int32_t res = GenerateKeyAlias(&packageName, &serviceType, keyType, &(pakeParams->baseParams.idPee… in SaveAuthInfo() 397 KeyAliasType keyType = pakeParams->userType; in ClientRequestStandardBindExchange() local 400 …int32_t res = GenerateKeyAlias(&packageName, &serviceType, keyType, &(pakeParams->baseParams.idSel… in ClientRequestStandardBindExchange() 433 KeyAliasType keyType = pakeParams->userType; in ServerResponseStandardBindExchange() local 436 …int32_t res = GenerateKeyAlias(&packageName, &serviceType, keyType, &(pakeParams->baseParams.idSel… in ServerResponseStandardBindExchange() 493 KeyAliasType keyType = pakeParams->userType; in ClientConfirmStandardBindExchange() local 496 …int32_t res = GenerateKeyAlias(&packageName, &serviceType, keyType, &(pakeParams->baseParams.idSel… in ClientConfirmStandardBindExchange()
|
/base/security/huks/test/unittest/huks_standard_test/module_test/framework_test/common_test/src/ |
D | hks_check_paramset_test.cpp | 69 uint32_t keyType = HKS_KEY_TYPE_PUBLIC_KEY; variable 72 int32_t ret = CheckMutableParams(HKS_ALG_RSA, keyType, ¶ms); 84 uint32_t keyType = HKS_KEY_TYPE_PUBLIC_KEY; variable 87 int32_t ret = CheckMutableParams(HKS_ALG_ECC, keyType, ¶ms); 99 uint32_t keyType = HKS_KEY_TYPE_PUBLIC_KEY; variable 102 int32_t ret = CheckMutableParams(HKS_ALG_SM2, keyType, ¶ms); 114 uint32_t keyType = HKS_KEY_TYPE_PUBLIC_KEY; variable 117 int32_t ret = CheckMutableParams(HKS_ALG_DSA, keyType, ¶ms); 129 uint32_t keyType = HKS_KEY_TYPE_PUBLIC_KEY; variable 132 int32_t ret = CheckMutableParams(HKS_ALG_ED25519, keyType, ¶ms); [all …]
|
/base/inputmethod/imf/frameworks/native/inputmethod_controller/include/ |
D | input_method_utils.h | 64 void SetEnterKeyType(EnterKeyType keyType) in SetEnterKeyType() argument 66 enterKeyType = keyType; in SetEnterKeyType() 107 void SetEnterKeyType(EnterKeyType keyType) in SetEnterKeyType() argument 109 enterKeyType = keyType; in SetEnterKeyType()
|
D | i_input_data_channel.h | 61 virtual int32_t GetEnterKeyType(int32_t &keyType) = 0;
|
D | input_data_channel_proxy.h | 46 int32_t GetEnterKeyType(int32_t &keyType) override;
|
/base/security/device_auth/services/authenticators/src/account_unrelated/ |
D | das_task_common.c | 203 static int32_t CombineKeyAlias(const Uint8Buff *serviceId, const Uint8Buff *keyType, in CombineKeyAlias() argument 208 keyAliasBuff.length = serviceId->length + authId->length + keyType->length; in CombineKeyAlias() 224 …if (memcpy_s(keyAliasBuff.val + usedLen, totalLen - usedLen, keyType->val, keyType->length) != EOK… in CombineKeyAlias() 229 usedLen = usedLen + keyType->length; in CombineKeyAlias() 247 static int32_t CombineKeyAliasForIso(const Uint8Buff *serviceId, const Uint8Buff *keyType, in CombineKeyAliasForIso() argument 253 int32_t res = CombineKeyAlias(serviceId, keyType, authId, outKeyAlias); in CombineKeyAliasForIso() 261 static int32_t CombineKeyAliasForPake(const Uint8Buff *serviceId, const Uint8Buff *keyType, in CombineKeyAliasForPake() argument 277 res = CombineKeyAlias(serviceId, keyType, authId, &keyAliasHash); in CombineKeyAliasForPake() 301 const KeyAliasType keyType, const Uint8Buff *authId, Uint8Buff *outKeyAlias) in GenerateKeyAlias() argument 316 authId->length > AUTH_ID_MAX_LEN || keyType >= KEY_ALIAS_TYPE_END) { in GenerateKeyAlias() [all …]
|
/base/inputmethod/imf/test/unittest/cpp_test/src/ |
D | input_method_utils_test.cpp | 65 EnterKeyType keyType = info.GetEnterKeyType(); variable 66 EXPECT_EQ(keyType, EnterKeyType::UNSPECIFIED);
|
D | input_method_attach_test.cpp | 88 int32_t keyType = -1; variable 89 ret = inputMethodAbility_->GetEnterKeyType(keyType); 91 EXPECT_EQ(keyType, 0); 111 int32_t keyType = -1; variable 112 ret = inputMethodAbility_->GetEnterKeyType(keyType); 114 EXPECT_EQ(keyType, 0); 137 int32_t keyType = -1; variable 138 ret = inputMethodAbility_->GetEnterKeyType(keyType); 140 EXPECT_EQ(keyType, attribute.enterKeyType); 164 int32_t keyType = -1; variable [all …]
|
/base/security/device_auth/services/creds_manager/src/ |
D | creds_operation_utils.c | 85 static int32_t SetProtocolsForP2pType(int32_t keyType, IdentityInfo *info) in SetProtocolsForP2pType() argument 87 if (keyType == KEY_TYPE_ASYM) { in SetProtocolsForP2pType() 134 static int32_t SetProtocolsForPresharedCred(int32_t trustType, int32_t keyType, IdentityInfo *info) in SetProtocolsForPresharedCred() argument 141 return SetProtocolsForP2pType(keyType, info); in SetProtocolsForPresharedCred() 178 int32_t GetIdentityInfoByType(int32_t keyType, int32_t trustType, const char *groupId, IdentityInfo… in GetIdentityInfoByType() argument 190 if (AddIntToJson(urlJson, PRESHARED_URL_KEY_TYPE, keyType) != HC_SUCCESS) { in GetIdentityInfoByType() 220 ret = SetProtocolsForPresharedCred(trustType, keyType, info); in GetIdentityInfoByType()
|
/base/security/huks/frameworks/huks_standard/main/common/src/ |
D | hks_check_paramset.c | 463 static int32_t CheckRsaKeyLen(uint32_t alg, uint32_t keyType, const struct ParamsValues *params, in CheckRsaKeyLen() argument 466 (void)keyType; in CheckRsaKeyLen() 494 static int32_t CheckEccKeyLen(uint32_t alg, uint32_t keyType, const struct ParamsValues *params, in CheckEccKeyLen() argument 518 …if ((keyType == HKS_KEY_TYPE_KEY_PAIR) && ((keyMaterial->xSize == 0) || (keyMaterial->ySize == 0))… in CheckEccKeyLen() 532 static int32_t CheckDsaKeyLen(uint32_t alg, uint32_t keyType, const struct ParamsValues *params, in CheckDsaKeyLen() argument 559 if ((keyType == HKS_KEY_TYPE_KEY_PAIR) && (keyMaterial->ySize == 0)) { in CheckDsaKeyLen() 574 static int32_t CheckCurve25519KeyLen(uint32_t alg, uint32_t keyType, const struct ParamsValues *par… in CheckCurve25519KeyLen() argument 599 if ((keyType == HKS_KEY_TYPE_KEY_PAIR) && (keyMaterial->pubKeySize == 0)) { in CheckCurve25519KeyLen() 613 static int32_t CheckDHKeyLen(uint32_t alg, uint32_t keyType, const struct ParamsValues *params, in CheckDHKeyLen() argument 637 if ((keyType == HKS_KEY_TYPE_KEY_PAIR) && (keyMaterial->pubKeySize == 0)) { in CheckDHKeyLen() [all …]
|
/base/security/huks/services/huks_standard/huks_service/main/systemapi_wrap/hisysevent_wrapper/include/ |
D | hisysevent_wrapper.h | 28 uint32_t keyType; member
|
/base/inputmethod/imf/frameworks/native/inputmethod_controller/src/ |
D | input_data_channel_proxy.cpp | 90 int32_t InputDataChannelProxy::GetEnterKeyType(int32_t &keyType) in GetEnterKeyType() argument 95 [&keyType](MessageParcel &parcel) { return ITypesUtil::Unmarshal(parcel, keyType);}); in GetEnterKeyType()
|
D | input_data_channel_stub.cpp | 83 int32_t keyType = 0; in OnRemoteRequest() local 84 reply.WriteInt32(GetEnterKeyType(keyType)); in OnRemoteRequest() 85 reply.WriteInt32(keyType); in OnRemoteRequest() 263 int32_t InputDataChannelStub::GetEnterKeyType(int32_t &keyType) in GetEnterKeyType() argument 266 return InputMethodController::GetInstance()->GetEnterKeyType(keyType); in GetEnterKeyType()
|
/base/web/webview/ohos_adapter/interfaces/ |
D | imf_adapter.h | 77 void SetEnterKeyType(IMFAdapterEnterKeyType keyType) in SetEnterKeyType() argument 79 enterKeyType = keyType; in SetEnterKeyType()
|
/base/security/device_auth/services/creds_manager/inc/ |
D | creds_operation_utils.h | 31 int32_t GetIdentityInfoByType(int32_t keyType, int32_t trustType, const char *groupId, IdentityInfo…
|
/base/security/device_auth/services/authenticators/inc/account_unrelated/ |
D | das_task_common.h | 28 …enerateKeyAlias(const Uint8Buff *pkgName, const Uint8Buff *serviceType, const KeyAliasType keyType,
|
/base/security/device_auth/services/session_manager/src/session/v2/expand_sub_session/expand_process_lib/ |
D | auth_code_import.c | 98 static int32_t BuildKeyAliasMsg(const Uint8Buff *serviceId, const Uint8Buff *keyType, in BuildKeyAliasMsg() argument 107 …if (memcpy_s(keyAliasMsg->val + usedLen, keyAliasMsg->length - usedLen, keyType->val, keyType->len… in BuildKeyAliasMsg() 111 usedLen = usedLen + keyType->length; in BuildKeyAliasMsg() 119 static int32_t CalKeyAlias(const Uint8Buff *serviceId, const Uint8Buff *keyType, in CalKeyAlias() argument 123 keyAliasMsg.length = serviceId->length + authId->length + keyType->length; in CalKeyAlias() 129 int32_t res = BuildKeyAliasMsg(serviceId, keyType, authId, &keyAliasMsg); in CalKeyAlias()
|
D | pub_key_exchange.c | 109 static int32_t BuildKeyAliasMsg(const Uint8Buff *serviceId, const Uint8Buff *keyType, in BuildKeyAliasMsg() argument 118 …if (memcpy_s(keyAliasMsg->val + usedLen, keyAliasMsg->length - usedLen, keyType->val, keyType->len… in BuildKeyAliasMsg() 122 usedLen = usedLen + keyType->length; in BuildKeyAliasMsg() 130 static int32_t CalKeyAlias(const Uint8Buff *serviceId, const Uint8Buff *keyType, in CalKeyAlias() argument 134 keyAliasMsg.length = serviceId->length + authId->length + keyType->length; in CalKeyAlias() 140 int32_t res = BuildKeyAliasMsg(serviceId, keyType, authId, &keyAliasMsg); in CalKeyAlias()
|
/base/security/huks/services/huks_standard/huks_service/main/systemapi_wrap/hisysevent_wrapper/src/ |
D | hisysevent_wrapper.cpp | 67 …eventValues->processName, g_tagKeyType, eventValues->keyType, g_tagErrorCode, eventValues->errorCo… in WriteEvent()
|
/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/ |
D | res_desc_test.cpp | 116 void TestKeyParam(KeyType keyType, int value, std::string expectStr) in TestKeyParam() argument 119 keyParam.type_ = keyType; in TestKeyParam()
|
/base/inputmethod/imf/test/fuzztest/inputmethodability_fuzzer/ |
D | inputmethodability_fuzzer.cpp | 128 int32_t keyType; in TestGetEnterKeyType() local 129 ability->GetEnterKeyType(keyType); in TestGetEnterKeyType()
|
/base/global/resource_management/frameworks/resmgr/test/unittest/common/ |
D | res_desc_test.cpp | 116 void TestKeyParam(KeyType keyType, int value, std::string expectStr) in TestKeyParam() argument 119 keyParam.type_ = keyType; in TestKeyParam()
|
/base/inputmethod/imf/test/fuzztest/inputmethodcontroller_fuzzer/ |
D | inputmethodcontroller_fuzzer.cpp | 89 EnterKeyType keyType = EnterKeyType::DONE; in TestOnConfigurationChange() local 90 info.SetEnterKeyType(keyType); in TestOnConfigurationChange()
|
/base/update/updater/services/package/pkg_algorithm/ |
D | pkg_algo_sign.h | 38 KEYTYPE keyType; member
|