Home
last modified time | relevance | path

Searched refs:bundleNameLen (Results 1 - 3 of 3) sorted by relevance

/base/security/appverify/interfaces/innerkits/appverify_lite/src/
H A Dapp_verify.c718 int32_t bundleNameLen = strlen(profile->bundleInfo.bundleName); in GetAppid() local
719 int32_t appidLen = bundleNameLen + useLen + 1 + 1; in GetAppid()
732 ret = snprintf_s(appid, appidLen, bundleNameLen + 1, "%s_", profile->bundleInfo.bundleName); in GetAppid()
739 ret = mbedtls_base64_encode((unsigned char *)appid + bundleNameLen + 1, in GetAppid()
740 appidLen - bundleNameLen - 1, &useLen, (unsigned char *)pk.pk, pk.len); in GetAppid()
748 LOG_INFO("appid len: %d, bL len: %d, base64: %d", appidLen, bundleNameLen, (int)useLen); in GetAppid()
/base/startup/appspawn/modules/sandbox/
H A Dsandbox_utils.cpp1811 static bool IsUnlockStatus(uint32_t uid, const char *bundleName, size_t bundleNameLen)
1821 size_t allPathSize = strlen(rootPath) + strlen(basePath) + 1 + USER_ID_SIZE + bundleNameLen;
1903 size_t bundleNameLen = strlen(bundleName);
1904 if (IsUnlockStatus(info->uid, bundleName, bundleNameLen)) {
H A Dappspawn_sandbox.c542 static bool IsUnlockStatus(uint32_t uid, const char *bundleName, size_t bundleNameLen) in IsUnlockStatus() argument
552 size_t allPathSize = strlen(rootPath) + strlen(basePath) + 1 + USER_ID_SIZE + bundleNameLen; in IsUnlockStatus()

Completed in 8 milliseconds