/base/update/updater/test/unittest/script/script_instruction/ |
D | basic_instruction_unittest.cpp | 78 UScriptInstructionContext context {}; in TestBasicInstructionIsSubString01() local 89 UScriptInstructionContext context {}; in TestBasicInstructionIsSubString01() local 103 UScriptInstructionContext context {}; in TestBasicInstructionIsSubString02() local 112 UScriptInstructionContext context {}; in TestBasicInstructionIsSubString02() local 123 UScriptInstructionContext context {}; in TestBasicInstructionStdout() local 146 UScriptInstructionContext context {}; in TestBasicInstructionConcat() local 173 UScriptInstructionContext context {}; in TestBasicInstructionConcat() local 196 UScriptInstructionContext context {}; in TestBasicInstructionAbort() local 201 UScriptInstructionContext context {}; in TestBasicInstructionAbort() local 207 UScriptInstructionContext context {}; in TestBasicInstructionAbort() local [all …]
|
/base/security/certificate_manager/interfaces/kits/napi/src/ |
D | cm_napi_user_trusted_cert.cpp | 50 …UserCertAsyncContext context = static_cast<UserCertAsyncContext>(CmMalloc(sizeof(UserCertAsyncCont… in InitUserCertAsyncContext() local 57 static void FreeUserCertAsyncContext(napi_env env, UserCertAsyncContext &context) in FreeUserCertAsyncContext() 70 static int32_t GetUserCertData(napi_env env, napi_value object, UserCertAsyncContext context) in GetUserCertData() 88 static int32_t GetCertAliasData(napi_env env, napi_value object, UserCertAsyncContext context) in GetCertAliasData() 99 static napi_value ParseCertInfo(napi_env env, napi_value object, UserCertAsyncContext context) in ParseCertInfo() 135 …lue ParseInstallUserCertParams(napi_env env, napi_callback_info info, UserCertAsyncContext context) in ParseInstallUserCertParams() 169 …e ParseUninstallUserCertParams(napi_env env, napi_callback_info info, UserCertAsyncContext context) in ParseUninstallUserCertParams() 203 …arseUninstallAllUserCertParams(napi_env env, napi_callback_info info, UserCertAsyncContext context) in ParseUninstallAllUserCertParams() 231 UserCertAsyncContext context = static_cast<UserCertAsyncContext>(data); in InstallUserCertExecute() local 267 UserCertAsyncContext context = static_cast<UserCertAsyncContext>(data); in InstallUserCertComplete() local [all …]
|
D | cm_napi_grant.cpp | 52 … GrantAsyncContext context = static_cast<GrantAsyncContext>(CmMalloc(sizeof(GrantAsyncContextT))); in InitGrantAsyncContext() local 59 static void FreeGrantAsyncContext(napi_env env, GrantAsyncContext &context) in FreeGrantAsyncContext() 94 …ic napi_value ParseGrantUidParams(napi_env env, napi_callback_info info, GrantAsyncContext context) in ParseGrantUidParams() 135 …c napi_value ParseRemoveUidParams(napi_env env, napi_callback_info info, GrantAsyncContext context) in ParseRemoveUidParams() 140 …ic napi_value ParseIsAuthedParams(napi_env env, napi_callback_info info, GrantAsyncContext context) in ParseIsAuthedParams() 174 … napi_value ParseGetUidListParams(napi_env env, napi_callback_info info, GrantAsyncContext context) in ParseGetUidListParams() 181 GrantAsyncContext context = static_cast<GrantAsyncContext>(data); in GrantUidExecute() local 217 GrantAsyncContext context = static_cast<GrantAsyncContext>(data); in GrantUidComplete() local 237 GrantAsyncContext context = static_cast<GrantAsyncContext>(data); in RemoveUidExecute() local 243 GrantAsyncContext context = static_cast<GrantAsyncContext>(data); in RemoveOrIsAuthedComplete() local [all …]
|
D | cm_napi_get_app_cert_list_common.cpp | 35 GetAppCertListAsyncContext context = in CreateGetAppCertListAsyncContext() local 43 void DeleteGetAppCertListAsyncContext(napi_env env, GetAppCertListAsyncContext &context) in DeleteGetAppCertListAsyncContext() 60 napi_env env, napi_callback_info info, GetAppCertListAsyncContext context) in GetAppCertListParseParams() 85 napi_value GetAppCertListWriteResult(napi_env env, GetAppCertListAsyncContext context) in GetAppCertListWriteResult() 124 GetAppCertListAsyncContext context = static_cast<GetAppCertListAsyncContext>(data); in GetAppCertListAsyncWork() local 133 GetAppCertListAsyncContext context = static_cast<GetAppCertListAsyncContext>(data); in GetAppCertListAsyncWork() local 166 GetAppCertListAsyncContext context = CreateGetAppCertListAsyncContext(); in CMNapiGetAppCertListCommon() local
|
D | cm_napi_get_app_cert_info_common.cpp | 35 GetAppCertInfoAsyncContext context = in CreateGetAppCertInfoAsyncContext() local 43 void DeleteGetAppCertInfoAsyncContext(napi_env env, GetAppCertInfoAsyncContext &context) in DeleteGetAppCertInfoAsyncContext() 64 napi_env env, napi_callback_info info, GetAppCertInfoAsyncContext context) in GetAppCertInfoParseParams() 97 napi_value GetAppCertInfoWriteResult(napi_env env, GetAppCertInfoAsyncContext context) in GetAppCertInfoWriteResult() 134 GetAppCertInfoAsyncContext context = static_cast<GetAppCertInfoAsyncContext>(data); in GetAppCertInfoAsyncWork() local 144 GetAppCertInfoAsyncContext context = static_cast<GetAppCertInfoAsyncContext>(data); in GetAppCertInfoAsyncWork() local 177 GetAppCertInfoAsyncContext context = CreateGetAppCertInfoAsyncContext(); in CMNapiGetAppCertInfoCommon() local
|
D | cm_napi_install_app_cert_common.cpp | 35 InstallAppCertAsyncContext context = in CreateInstallAppCertAsyncContext() local 43 void DeleteInstallAppCertAsyncContext(napi_env env, InstallAppCertAsyncContext &context) in DeleteInstallAppCertAsyncContext() 72 napi_env env, napi_callback_info info, InstallAppCertAsyncContext context) in InstallAppCertParseParams() 146 static napi_value InstallAppCertWriteResult(napi_env env, InstallAppCertAsyncContext context) in InstallAppCertWriteResult() 175 InstallAppCertAsyncContext context = static_cast<InstallAppCertAsyncContext>(data); in InstallAppCertAsyncWork() local 181 InstallAppCertAsyncContext context = static_cast<InstallAppCertAsyncContext>(data); in InstallAppCertAsyncWork() local 213 InstallAppCertAsyncContext context = CreateInstallAppCertAsyncContext(); in CMNapiInstallAppCertCommon() local
|
D | cm_napi_get_system_cert_info.cpp | 46 GetCertInfoAsyncContext context = in CreateGetCertInfoAsyncContext() local 55 static void DeleteGetCertInfoAsyncContext(napi_env env, GetCertInfoAsyncContext &context) in DeleteGetCertInfoAsyncContext() 76 GetCertInfoAsyncContext context, uint32_t store) in GetCertInfoParseParams() 110 static napi_value GetCertInfoWriteResult(napi_env env, GetCertInfoAsyncContext context) in GetCertInfoWriteResult() 125 GetCertInfoAsyncContext context = static_cast<GetCertInfoAsyncContext>(data); in GetCertInfoExecute() local 153 GetCertInfoAsyncContext context = static_cast<GetCertInfoAsyncContext>(data); in GetCertInfoComplete() local 172 static napi_value GetCertInfoAsyncWork(napi_env env, GetCertInfoAsyncContext context) in GetCertInfoAsyncWork() 200 GetCertInfoAsyncContext context = CreateGetCertInfoAsyncContext(); in CMNapiGetSystemCertInfo() local 223 GetCertInfoAsyncContext context = CreateGetCertInfoAsyncContext(); in CMNapiGetUserTrustedCertInfo() local
|
D | cm_napi_get_system_cert_list.cpp | 45 GetCertListAsyncContext context = in CreateGetCertListAsyncContext() local 54 static void DeleteGetCertListAsyncContext(napi_env env, GetCertListAsyncContext &context) in DeleteGetCertListAsyncContext() 71 GetCertListAsyncContext context, uint32_t store) in GetCertListParseParams() 98 static napi_value GetCertListWriteResult(napi_env env, GetCertListAsyncContext context) in GetCertListWriteResult() 114 GetCertListAsyncContext context = static_cast<GetCertListAsyncContext>(data); in GetCertListExecute() local 144 GetCertListAsyncContext context = static_cast<GetCertListAsyncContext>(data); in GetCertListComplete() local 162 static napi_value GetCertListAsyncWork(napi_env env, GetCertListAsyncContext context) in GetCertListAsyncWork() 191 GetCertListAsyncContext context = CreateGetCertListAsyncContext(); in CMNapiGetSystemCertList() local 213 GetCertListAsyncContext context = CreateGetCertListAsyncContext(); in CMNapiGetUserTrustedCertList() local
|
D | cm_napi_uninstall_app_cert_common.cpp | 35 UninstallAppCertAsyncContext context = in CreateUninstallAppCertAsyncContext() local 44 void DeleteUninstallAppCertAsyncContext(napi_env env, UninstallAppCertAsyncContext &context) in DeleteUninstallAppCertAsyncContext() 61 napi_env env, napi_callback_info info, UninstallAppCertAsyncContext context) in UninstallAppCertParseParams() 107 UninstallAppCertAsyncContext context = static_cast<UninstallAppCertAsyncContext>(data); in UninstallAppCertAsyncWork() local 111 UninstallAppCertAsyncContext context = static_cast<UninstallAppCertAsyncContext>(data); in UninstallAppCertAsyncWork() local 144 UninstallAppCertAsyncContext context = CreateUninstallAppCertAsyncContext(); in CMNapiUninstallAppCertCommon() local
|
D | cm_napi_sign_verify.cpp | 57 …SignVerifyAsyncContext context = static_cast<SignVerifyAsyncContext>(CmMalloc(sizeof(SignVerifyAsy… in InitSignVerifyAsyncContext() local 64 static void FreeSignVerifyAsyncContext(napi_env env, SignVerifyAsyncContext &context) in FreeSignVerifyAsyncContext() 138 …napi_value ParseCMInitParams(napi_env env, napi_callback_info info, SignVerifyAsyncContext context) in ParseCMInitParams() 179 …pi_value ParseCMUpdateParams(napi_env env, napi_callback_info info, SignVerifyAsyncContext context) in ParseCMUpdateParams() 220 static napi_value MallocFinishOutData(napi_env env, SignVerifyAsyncContext context) in MallocFinishOutData() 243 static napi_value ProcessFinishOneParam(napi_env env, SignVerifyAsyncContext context) in ProcessFinishOneParam() 266 …ic napi_value ProcessFinishTwoParam(napi_env env, napi_value *argv, SignVerifyAsyncContext context, in ProcessFinishTwoParam() 314 … napi_value ProcessFinishThreeParam(napi_env env, napi_value *argv, SignVerifyAsyncContext context, in ProcessFinishThreeParam() 347 …pi_value ParseCMFinishParams(napi_env env, napi_callback_info info, SignVerifyAsyncContext context) in ParseCMFinishParams() 378 …api_value ParseCMAbortParams(napi_env env, napi_callback_info info, SignVerifyAsyncContext context) in ParseCMAbortParams() [all …]
|
D | cm_napi_set_cert_status.cpp | 46 SetCertStatusAsyncContext context = in CreateSetCertStatusAsyncContext() local 55 static void DeleteSetCertStatusAsyncContext(napi_env env, SetCertStatusAsyncContext &context) in DeleteSetCertStatusAsyncContext() 72 napi_env env, napi_callback_info info, SetCertStatusAsyncContext context) in SetCertStatusParseParams() 117 SetCertStatusAsyncContext context = static_cast<SetCertStatusAsyncContext>(data); in SetCertStatusExecute() local 130 SetCertStatusAsyncContext context = static_cast<SetCertStatusAsyncContext>(data); in SetCertStatusComplete() local 148 static napi_value SetCertStatusAsyncWork(napi_env env, SetCertStatusAsyncContext context) in SetCertStatusAsyncWork() 177 SetCertStatusAsyncContext context = CreateSetCertStatusAsyncContext(); in CMNapiSetCertStatus() local
|
D | cm_napi_uninstall_all_app_cert.cpp | 43 UninstallAllAppCertAsyncContext context = in CreateUinstallAllAppCertAsyncContext() local 52 … void DeleteUninstallAllAppCertAsyncContext(napi_env env, UninstallAllAppCertAsyncContext &context) in DeleteUninstallAllAppCertAsyncContext() 65 napi_env env, napi_callback_info info, UninstallAllAppCertAsyncContext context) in UninstallAllAppCertParseParams() 99 … UninstallAllAppCertAsyncContext context = static_cast<UninstallAllAppCertAsyncContext>(data); in UninstallAllAppCertAsyncWork() local 103 … UninstallAllAppCertAsyncContext context = static_cast<UninstallAllAppCertAsyncContext>(data); in UninstallAllAppCertAsyncWork() local 136 UninstallAllAppCertAsyncContext context = CreateUinstallAllAppCertAsyncContext(); in CMNapiUninstallAllAppCert() local
|
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/ |
D | cert_manager_service.c | 61 int32_t CmServicInstallAppCert(const struct CmContext *context, struct CmAppCertInfo *appCertInfo, in CmServicInstallAppCert() 79 static int32_t GetPublicAppCert(const struct CmContext *context, uint32_t store, in GetPublicAppCert() 114 static int32_t GetPrivateAppCert(const struct CmContext *context, uint32_t store, in GetPrivateAppCert() 134 int32_t CmServiceGetAppCert(const struct CmContext *context, uint32_t store, in CmServiceGetAppCert() 145 int32_t CmServiceGrantAppCertificate(const struct CmContext *context, const struct CmBlob *keyUri, in CmServiceGrantAppCertificate() 161 int32_t CmServiceGetAuthorizedAppList(const struct CmContext *context, const struct CmBlob *keyUri, in CmServiceGetAuthorizedAppList() 177 int32_t CmServiceIsAuthorizedApp(const struct CmContext *context, const struct CmBlob *authUri) in CmServiceIsAuthorizedApp() 192 int32_t CmServiceRemoveGrantedApp(const struct CmContext *context, const struct CmBlob *keyUri, uin… in CmServiceRemoveGrantedApp() 207 int32_t CmServiceInit(const struct CmContext *context, const struct CmBlob *authUri, in CmServiceInit() 232 int32_t CmServiceUpdate(const struct CmContext *context, const struct CmBlob *handle, in CmServiceUpdate() [all …]
|
D | cm_event_process.c | 32 static void DeleteAuth(const struct CmContext *context, const char *fileName, bool isDeleteByUid) in DeleteAuth() 66 static int32_t CmTraversalDirActionUserCa(const struct CmContext *context, const char *filePath, co… in CmTraversalDirActionUserCa() 86 static int32_t CmTraversalDirAction(const struct CmContext *context, const char *filePath, in CmTraversalDirAction() 174 static void TraversalUidLayerDir(const struct CmContext *context, const char *uidPath, const char *… in TraversalUidLayerDir() 186 static int32_t CmTraversalUidLayerDir(const struct CmContext *context, const char *path, in CmTraversalUidLayerDir() 226 static int32_t TraversalUserIdLayerDir(const struct CmContext *context, const char *userIdPath, con… in TraversalUserIdLayerDir() 248 static int32_t CmTraversalUserIdLayerDir(const struct CmContext *context, const char *path, const u… in CmTraversalUserIdLayerDir() 290 static int32_t CmTraversalDir(const struct CmContext *context, const char *path, const uint32_t sto… in CmTraversalDir() 326 static void RemoveSessionInfo(const struct CmContext *context) in RemoveSessionInfo() 341 int32_t CmDeleteProcessInfo(const struct CmContext *context) in CmDeleteProcessInfo()
|
D | cert_manager.c | 62 static int32_t GetFilePath(const struct CmContext *context, uint32_t store, char *pathPtr, in GetFilePath() 108 static int32_t CmGetFilePath(const struct CmContext *context, uint32_t store, struct CmMutableBlob … in CmGetFilePath() 169 int32_t CertManagerFindCertFileNameByUri(const struct CmContext *context, const struct CmBlob *cert… in CertManagerFindCertFileNameByUri() 196 int32_t CmRemoveAppCert(const struct CmContext *context, const struct CmBlob *keyUri, in CmRemoveAppCert() 230 static void ClearAuthInfo(const struct CmContext *context, const struct CmBlob *keyUri, const uint3… in ClearAuthInfo() 242 static int32_t CmAppCertGetFilePath(const struct CmContext *context, const uint32_t store, struct C… in CmAppCertGetFilePath() 306 static int32_t CmRemoveSpecifiedAppCert(const struct CmContext *context, const uint32_t store) in CmRemoveSpecifiedAppCert() 356 int32_t CmRemoveAllAppCert(const struct CmContext *context) in CmRemoveAllAppCert() 383 int32_t CmServiceGetAppCertList(const struct CmContext *context, uint32_t store, struct CmBlob *fil… in CmServiceGetAppCertList() 438 static int32_t ConstructCertUri(const struct CmContext *context, const struct CmBlob *certAlias, in ConstructCertUri() [all …]
|
/base/useriam/user_auth_framework/test/unittest/services/src/ |
D | context_factory_test.cpp | 63 auto context = factory->CreateSimpleAuthContext(para, contextCallback); variable 78 auto context = factory->CreateSimpleAuthContext(para, contextCallback); variable 91 auto context = factory->CreateIdentifyContext(para, contextCallback); variable 106 auto context = factory->CreateIdentifyContext(para, contextCallback); variable 119 auto context = factory->CreateEnrollContext(para, contextCallback); variable 134 auto context = factory->CreateEnrollContext(para, contextCallback); variable 157 auto context = factory->CreateWidgetContext(para, contextCallback); variable 169 auto context = factory->CreateWidgetContext(para, contextCallback); variable
|
/base/update/updater/services/script/script_instruction/ |
D | script_basicinstruction.cpp | 24 int32_t UScriptInstructionAbort::Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) in Execute() 35 …t32_t UScriptInstructionAssert::Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) in Execute() 46 int32_t UScriptInstructionSleep::Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) in Execute() 58 …t32_t UScriptInstructionConcat::Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) in Execute() 108 … UScriptInstructionIsSubString::Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) in Execute() 131 …t32_t UScriptInstructionStdout::Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) in Execute() 165 …t UScriptInstructionDeleteFile::Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) in Execute() 185 …_t UScriptInstructionDeleteDir::Execute(Uscript::UScriptEnv &env, Uscript::UScriptContext &context) in Execute()
|
/base/startup/init/services/modules/init_context/ |
D | init_context_static.c | 26 int InitSubInitContext(InitContextType type, const SubInitContext *context) in InitSubInitContext() 59 int ExecuteCmdInSubInit(const ConfigContext *context, const char *name, const char *cmdContent) in ExecuteCmdInSubInit() 71 int SetSubInitContext(const ConfigContext *context, const char *service) in SetSubInitContext() 88 int CheckExecuteInSubInit(const ConfigContext *context) in CheckExecuteInSubInit()
|
/base/useriam/user_auth_framework/test/unittest/services/mocks/ |
D | mock_context.h | 66 auto context = Common::MakeShared<MockContext>(); in CreateWithContextId() local 78 auto context = Common::MakeShared<MockContext>(); in CreateContextWithScheduleNode() local 101 auto context = Common::MakeShared<MockContext>(); in CreateContextWithScheduleNode() local
|
/base/account/os_account/interfaces/kits/napi/account_iam/src/ |
D | napi_account_iam_identity_manager.cpp | 59 napi_env env, napi_callback_info info, IDMContext *context) in ParseContextForOpenSession() 77 auto context = std::make_unique<IDMContext>(env); in OpenSession() local 93 IDMContext *context = reinterpret_cast<IDMContext *>(data); in OpenSession() local 97 IDMContext *context = reinterpret_cast<IDMContext *>(data); in OpenSession() local 117 …ic bool ParseContextForUpdateCredential(napi_env env, napi_callback_info info, IDMContext *context) in ParseContextForUpdateCredential() 142 auto context = std::make_unique<IDMContext>(env); in AddCredential() local 151 IDMContext *context = reinterpret_cast<IDMContext *>(data); in AddCredential() local 166 auto context = std::make_unique<IDMContext>(env); in UpdateCredential() local 175 IDMContext *context = reinterpret_cast<IDMContext *>(data); in UpdateCredential() local 227 …atic napi_status ParseContextForDelUser(napi_env env, napi_callback_info info, IDMContext *context) in ParseContextForDelUser() [all …]
|
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/idl/ipc/ |
D | hks_ipc_service.c | 55 void HksIpcServiceGenerateKey(const struct HksBlob *srcData, const uint8_t *context) in HksIpcServiceGenerateKey() 97 void HksIpcServiceImportKey(const struct HksBlob *srcData, const uint8_t *context) in HksIpcServiceImportKey() 122 void HksIpcServiceImportWrappedKey(const struct HksBlob *srcData, const uint8_t *context) in HksIpcServiceImportWrappedKey() 148 void HksIpcServiceExportPublicKey(const struct HksBlob *srcData, const uint8_t *context) in HksIpcServiceExportPublicKey() 177 void HksIpcServiceDeleteKey(const struct HksBlob *srcData, const uint8_t *context) in HksIpcServiceDeleteKey() 195 void HksIpcServiceGetKeyParamSet(const struct HksBlob *srcData, const uint8_t *context) in HksIpcServiceGetKeyParamSet() 228 void HksIpcServiceKeyExist(const struct HksBlob *srcData, const uint8_t *context) in HksIpcServiceKeyExist() 247 void HksIpcServiceGenerateRandom(const struct HksBlob *srcData, const uint8_t *context) in HksIpcServiceGenerateRandom() 291 void HksIpcServiceSign(const struct HksBlob *srcData, const uint8_t *context) in HksIpcServiceSign() 322 void HksIpcServiceVerify(const struct HksBlob *srcData, const uint8_t *context) in HksIpcServiceVerify() [all …]
|
/base/update/updater/test/unittest/updater_binary/ |
D | update_image_patch_unittest.cpp | 38 UScriptInstructionContext context {}; in TestImgPatch01() local 49 UScriptInstructionContext context {}; in TestImgPatch02() local 66 UScriptInstructionContext context {}; in TestImgPatch03() local 83 UScriptInstructionContext context {}; in TestImgPatch04() local 102 UScriptInstructionContext context {}; in TestImgPatch05() local 134 UScriptInstructionContext context {}; in TestImgPatch06() local
|
/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/ |
D | hks_mbedtls_hash.c | 50 mbedtls_md5_context *context = (mbedtls_md5_context *)HksMalloc(sizeof(mbedtls_md5_context)); in HksMbedtlsHashMd5Init() local 84 mbedtls_md5_context *context = (mbedtls_md5_context *)ctx->append; in HksMbedtlsHashMd5Update() local 100 mbedtls_md5_context *context = (mbedtls_md5_context *)ctx->append; in HksMbedtlsHashMd5Final() local 134 mbedtls_sha1_context *context = (mbedtls_sha1_context *)HksMalloc(sizeof(mbedtls_sha1_context)); in HksMbedtlsHashSha1Init() local 167 mbedtls_sha1_context *context = (mbedtls_sha1_context *)ctx->append; in HksMbedtlsHashSha1Update() local 186 mbedtls_sha1_context *context = (mbedtls_sha1_context *)ctx->append; in HksMbedtlsHashSha1Final() local 223 …mbedtls_sha256_context *context = (mbedtls_sha256_context *)HksMalloc(sizeof(mbedtls_sha256_contex… in HksMbedtlsHashSha256Init() local 264 mbedtls_sha256_context *context = (mbedtls_sha256_context *)ctx->append; in HksMbedtlsHashSha256Update() local 283 mbedtls_sha256_context *context = (mbedtls_sha256_context *)ctx->append; in HksMbedtlsHashSha256Final() local 321 …mbedtls_sha512_context *context = (mbedtls_sha512_context *)HksMalloc(sizeof(mbedtls_sha512_contex… in HksMbedtlsHashSha512Init() local [all …]
|
/base/security/huks/interfaces/kits/napi/src/v8/ |
D | huks_napi_init.cpp | 51 InitAsyncCtxPtr context = (InitAsyncCtxPtr)HksMalloc(sizeof(InitAsyncContext)); in CreateInitAsyncContext() local 58 static void DeleteInitAsyncContext(napi_env env, InitAsyncCtxPtr &context) in DeleteInitAsyncContext() 78 static napi_value ParseInitParams(napi_env env, napi_callback_info info, InitAsyncCtxPtr context) in ParseInitParams() 105 static int32_t InitOutParams(InitAsyncCtxPtr context) in InitOutParams() 134 static napi_value InitWriteResult(napi_env env, InitAsyncCtxPtr context) in InitWriteResult() 139 static napi_value InitAsyncWork(napi_env env, InitAsyncCtxPtr context) in InitAsyncWork() 193 InitAsyncCtxPtr context = CreateInitAsyncContext(); in HuksNapiInit() local
|
D | huks_napi_export_key.cpp | 47 … ExportKeyAsyncContext context = (ExportKeyAsyncContext)HksMalloc(sizeof(ExportKeyAsyncContextT)); in CreateExportKeyAsyncContext() local 54 static void DeleteExportKeyAsyncContext(napi_env env, ExportKeyAsyncContext &context) in DeleteExportKeyAsyncContext() 70 …pi_value ExportKeyParseParams(napi_env env, napi_callback_info info, ExportKeyAsyncContext context) in ExportKeyParseParams() 97 static napi_value ExportKeyWriteResult(napi_env env, ExportKeyAsyncContext context) in ExportKeyWriteResult() 105 static int32_t PrePareExportKeyContextBuffer(ExportKeyAsyncContext context) in PrePareExportKeyContextBuffer() 120 static napi_value ExportKeyAsyncWork(napi_env env, ExportKeyAsyncContext context) in ExportKeyAsyncWork() 175 ExportKeyAsyncContext context = CreateExportKeyAsyncContext(); in HuksNapiExportKey() local
|