Home
last modified time | relevance | path

Searched refs:checkKeyExist (Results 1 – 18 of 18) sorted by relevance

/ohos5.0/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/creds_manager/
H A Ddas_standard_token_manager.c36 res = loader->checkKeyExist(&keyAliasBuff, false, params->osAccountId); in RegisterLocalIdentityStd()
341 res = params->baseParams.loader->checkKeyExist(&selfKeyAlias, params->isSelfFromUpgrade, in ComputeAndSavePskStd()
347 res = params->baseParams.loader->checkKeyExist(&peerKeyAlias, params->isPeerFromUpgrade, in ComputeAndSavePskStd()
387 res = loader->checkKeyExist(&keyAliasBuff, false, params->osAccountId); in GetPublicKeyStd()
390 res = loader->checkKeyExist(&keyAliasBuff, true, params->osAccountId); in GetPublicKeyStd()
397 res = loader->checkKeyExist(&keyAliasBuff, true, params->osAccountId); in GetPublicKeyStd()
/ohos5.0/base/security/device_auth/services/identity_manager/src/
H A Didentity_p2p.c226 ret = GetLoaderInstance()->checkKeyExist(&selfKeyAlias, false, osAccountId); in ComputeAndSaveDirectAuthPsk()
231 ret = GetLoaderInstance()->checkKeyExist(&peerKeyAlias, false, osAccountId); in ComputeAndSaveDirectAuthPsk()
275 ret = GetLoaderInstance()->checkKeyExist(pskKeyAlias, false, osAccountId); in GetDirectAuthPskAliasCreateIfNeeded()
H A Dcredential_operator.c395 res = GetLoaderInstance()->checkKeyExist(&keyAliasBuff, false, param->osAccountId); in IsKeyExistReturnAliasIfNeeded()
535 res = GetLoaderInstance()->checkKeyExist(&selfKeyAlias, false, osAccountId); in ComputeAndSavePsk()
540 res = GetLoaderInstance()->checkKeyExist(&peerKeyAlias, false, osAccountId); in ComputeAndSavePsk()
585 res = GetLoaderInstance()->checkKeyExist(&selfKeyAlias, false, osAccountId); in IsSelfKeyPairExist()
H A Didentity_group.c155 ret = GetLoaderInstance()->checkKeyExist(&keyAlias, false, osAccountId); in IsP2pAuthTokenExist()
642 int32_t ret = GetLoaderInstance()->checkKeyExist(selfKeyAlias, isSelfFromUpgrade, osAccountId); in CheckSelfKeyAlias()
657 int32_t ret = GetLoaderInstance()->checkKeyExist(peerKeyAlias, isPeerFromUpgrade, osAccountId); in CheckPeerKeyAlias()
762 …if (GetLoaderInstance()->checkKeyExist(pskKeyAlias, isPeerFromUpgrade, osAccountId) != HC_SUCCESS)… in GeneratePskAliasAndCheckExist()
/ohos5.0/base/security/device_auth/services/mk_agree/src/
H A Dkey_manager.c170 if (GetLoaderInstance()->checkKeyExist(&keyAliasBuff, false, osAccountId) == HC_SUCCESS) { in GenerateDeviceKeyPair()
239 if (GetLoaderInstance()->checkKeyExist(&mkAliasBuff, false, osAccountId) != HC_SUCCESS) { in DeleteMk()
307 if (GetLoaderInstance()->checkKeyExist(&pskAliasBuff, false, osAccountId) != HC_SUCCESS) { in DeletePseudonymPsk()
/ohos5.0/base/security/device_auth/services/session_manager/src/session/v2/expand_sub_session/expand_process_lib/
H A Dpub_key_exchange.c231 …res = GetLoaderInstance()->checkKeyExist(&keyAlias, params->isSelfFromUpgrade, params->osAccountId… in ExportSelfPubKey()
400 …res = GetLoaderInstance()->checkKeyExist(&selfKeyAlias, params->isSelfFromUpgrade, params->osAccou… in ComputeAndSavePsk()
405 res = GetLoaderInstance()->checkKeyExist(&peerKeyAlias, false, params->osAccountId); in ComputeAndSavePsk()
/ohos5.0/base/security/device_auth/deps_adapter/key_management_adapter/interfaces/
H A Dalg_defs.h162 CheckKeyExistFunc checkKeyExist; member
/ohos5.0/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/frameworks/os_account_adapter/
H A Dos_account_adapter_test.cpp138 int res = GetLoaderInstance()->checkKeyExist(keyAlias, false, DEFAULT_OS_ACCOUNT); in GenerateTempKeyPair()
/ohos5.0/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/pake_task/pake_v1_task/pake_v1_protocol_task/
H A Dpake_v1_protocol_task_common.c302 …if (params->baseParams.loader->checkKeyExist(&pskAlias, isDeStorage, params->baseParams.osAccountI… in FillPskWithDerivedKeyHex()
474 …if (params->baseParams.loader->checkKeyExist(&pskAliasBuff, true, params->baseParams.osAccountId) … in GeneratePseudonymPskIfNotExist()
/ohos5.0/base/security/device_auth/services/legacy/authenticators/src/account_related/creds_manager/
H A Dasy_token_manager.c666 ret = g_algLoader->checkKeyExist(keyAlias, false, osAccountId); in DoExportPkAndCompare()
802 ret = g_algLoader->checkKeyExist(keyAlias, false, osAccountId); in DoGenerateAndExportPk()
/ohos5.0/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/pake_task/standard_exchange_task/
H A Dcommon_standard_bind_exchange.c93 …int32_t res = pakeParams->baseParams.loader->checkKeyExist(keyAlias, pakeParams->isSelfFromUpgrade, in GenerateKeyPairIfNotExist()
/ohos5.0/base/security/device_auth/test/fuzztest/devauthfunc_fuzzer/
H A Ddevauthfunc_fuzzer.cpp235 int32_t ret = GetLoaderInstance()->checkKeyExist(keyAlias, false, DEFAULT_OS_ACCOUNT); in GenerateTempKeyPair()
/ohos5.0/base/security/device_auth/test/unittest/deviceauth/source/
H A Ddeviceauth_standard_auth_test.cpp231 int ret = GetLoaderInstance()->checkKeyExist(keyAlias, false, DEFAULT_OS_ACCOUNT); in GenerateTempKeyPair()
H A Ddeviceauth_func_test.cpp928 int ret = GetLoaderInstance()->checkKeyExist(keyAlias, false, DEFAULT_OS_ACCOUNT); in GenerateTempKeyPair()
H A Ddeviceauth_standard_test.cpp158 int ret = GetLoaderInstance()->checkKeyExist(keyAlias, false, DEFAULT_OS_ACCOUNT); in GenerateTempKeyPair()
/ohos5.0/base/security/device_auth/test/fuzztest/creds_manager/credsmanager_fuzzer/
H A Dcredsmanager_fuzzer.cpp280 int res = GetLoaderInstance()->checkKeyExist(keyAlias, false, DEFAULT_OS_ACCOUNT); in GenerateTempKeyPair()
/ohos5.0/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/creds_manager/
H A Dcreds_manager_test.cpp286 int res = GetLoaderInstance()->checkKeyExist(keyAlias, false, DEFAULT_OS_ACCOUNT); in GenerateTempKeyPair()
/ohos5.0/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/
H A Dhuks_adapter.c2255 .checkKeyExist = CheckKeyExist,