Home
last modified time | relevance | path

Searched refs:DEFAULT_PACKAGE_NAME (Results 1 - 4 of 4) sorted by relevance

/base/security/device_auth/services/identity_manager/src/
H A Dcredential_operator.c325 .pkgName = { (uint8_t *)DEFAULT_PACKAGE_NAME, HcStrlen(DEFAULT_PACKAGE_NAME) }, in PackPublicKeyToJson()
380 int32_t res = GenerateKeyAliasInner(DEFAULT_PACKAGE_NAME, param->serviceType, param->deviceId, in IsKeyExistReturnAliasIfNeeded()
450 .pkgName = { (uint8_t *)DEFAULT_PACKAGE_NAME, HcStrlen(DEFAULT_PACKAGE_NAME) }, in RegisterIdentity()
520 res = GenerateKeyAliasInner(DEFAULT_PACKAGE_NAME, DEFAULT_SERVICE_TYPE, selfAuthId, keyType, &selfKeyAlias); in ComputeAndSavePsk()
528 res = GenerateKeyAliasInner(DEFAULT_PACKAGE_NAME, peerServiceType, peerAuthId, keyType, &peerKeyAlias); in ComputeAndSavePsk()
548 res = GenerateKeyAliasInner(DEFAULT_PACKAGE_NAME, peerServiceType, peerAuthId, KEY_ALIAS_PSK, &sharedKeyAlias); in ComputeAndSavePsk()
577 res = GenerateKeyAliasInner(DEFAULT_PACKAGE_NAME, DEFAULT_SERVICE_TYPE, selfAuthId, keyType, &selfKeyAlias); in IsSelfKeyPairExist()
623 .pkgName = { (uint8_t *)DEFAULT_PACKAGE_NAME, HcStrle in UnregisterIdentity()
[all...]
H A Didentity_p2p.c200 Uint8Buff pkgNameBuff = { (uint8_t *)DEFAULT_PACKAGE_NAME, HcStrlen(DEFAULT_PACKAGE_NAME) }; in ComputeAndSaveDirectAuthPsk()
265 Uint8Buff pkgNameBuff = { (uint8_t *)DEFAULT_PACKAGE_NAME, HcStrlen(DEFAULT_PACKAGE_NAME) }; in GetDirectAuthPskAliasCreateIfNeeded()
/base/security/device_auth/services/frameworks/inc/
H A Dcommon_defs.h152 #define DEFAULT_PACKAGE_NAME "deviceauth_service" macro
/base/security/device_auth/services/
H A Ddevice_auth.c1132 if (pkgName == NULL && AddStringToJson(context, FIELD_SERVICE_PKG_NAME, DEFAULT_PACKAGE_NAME) != HC_SUCCESS) { in OpenServerAuthSessionForP2P()
1143 const char *appId = pkgName != NULL ? pkgName : DEFAULT_PACKAGE_NAME; in OpenServerAuthSessionForP2P()
1350 int32_t res = BuildClientAuthContext(osAccountId, authReqId, DEFAULT_PACKAGE_NAME, context); in StartAuthDevice()
1361 res = OpenDevSession(authReqId, DEFAULT_PACKAGE_NAME, &params); in StartAuthDevice()
1379 CancelDevSession(requestId, DEFAULT_PACKAGE_NAME); in CancelAuthRequest()

Completed in 5 milliseconds