Home
last modified time | relevance | path

Searched +full:main +type:c (Results 1 - 25 of 107) sorted by relevance

12345

/base/security/huks/frameworks/huks_standard/main/crypto_engine/rkc/include/
H A Dhks_rkc_rw.h22 #define HKS_MK_VER 2 /* the version of main key */
23 #define HKS_RKC_RMK_ITER 1 /* the iterator number of times which derive Root Main Key */
24 #define HKS_RKC_RMK_HMAC_SHA256 1 /* the hash algorithm which derive Root Main Key */
25 #define HKS_RKC_MK_CRYPT_ALG_AES256_GCM 1 /* the encrypt algorithm of main key */
31 #define HKS_RKC_MK_IV_LEN 16 /* the tag length of main key */
32 #define HKS_RKC_MK_CIPHER_TEXT_LEN 48 /* the cipher length of main key */
33 #define HKS_RKC_MK_LEN 32 /* the length of main key */
74 uint32_t rmkIter; /* the iterator number of times which derive root main key */
75 uint8_t rmkSalt[HKS_RKC_SALT_LEN]; /* the salt which derive root main key */
76 uint32_t rmkHashAlg; /* the hash algorithm which derive root main ke
[all...]
H A Dhks_rkc.h22 #define HKS_RKC_RMK_LEN 64 /* the length of root main key */
23 #define HKS_RKC_RMK_EK_LEN 32 /* the encryption key length of root main key */
26 #define HKS_RKC_MK_ADD_DATA_LEN 8 /* the additional data length of main key */
33 uint16_t mkVersion; /* the version of main key */
39 uint32_t rmkIter; /* the iterator number of times which derive Root Main Key */
40 uint32_t rmkHashAlg; /* the hash algorithm which derive Root Main Key */
41 uint8_t mkMask[HKS_RKC_MK_LEN]; /* the mask of main key */
42 uint32_t mkEncryptAlg; /* the encrption algorithm of main key */
46 /* main key */
48 bool valid; /* whether main ke
[all...]
H A Dhks_rkc_v1.h26 struct HksKsfDataMk ksfDataMk; /* fields of main key */
/base/startup/appspawn/lite/
H A Dmain.c65 int main(int argc, char * const argv[]) in main() function
68 APPSPAWN_LOGI("[appspawn] main, enter."); in main()
83 APPSPAWN_LOGI("[appspawn] main, entering wait."); in main()
/base/security/huks/frameworks/huks_standard/main/crypto_engine/rkc/src/
H A Dhks_rkc.c58 /* the data of main key */
61 /* the additional data of main key. 'H', 'K', 'S', 'R', 'K', 'C', 'M', 'K' */
316 /* generate main key */ in RkcMakeMk()
320 /* generate the IV of main key */ in RkcMakeMk()
329 /* the main key in memory should be masked */ in RkcMakeMk()
427 // decrypt main key in RkcLoadKsf()
432 HKS_IF_NOT_SUCC_LOGE_BREAK(ret, "Main key decrypt failed! ret = 0x%" LOG_PUBLIC "X", ret) in RkcLoadKsf()
434 /* the main key in memory should be masked */ in RkcLoadKsf()
517 /* make main key. */ in RkcCreateKsf()
526 /* Write the root key component and the main ke in RkcCreateKsf()
[all...]
H A Dhks_rkc_v1.c44 /* Extract fields of main key */ in RkcExtractKsfBufV1()
217 HKS_IF_NOT_SUCC_LOGE(ret, "Main key crypt failed! ret = 0x%" LOG_PUBLIC "X", ret) in RkcLoadKsfV1()
259 // generate new materials and encrypt main key in UpgradeV1ToV2()
288 /* Write the root key component and the main key data into all keystore files */ in UpgradeV1ToV2()
298 /* the data of root & main key should be cleared after use */ in UpgradeV1ToV2()
/base/inputmethod/imf/frameworks/kits/extension/include/
H A Djs_inputmethod_extension_context.h31 // need create in main thread.
39 // this function need to execute in main thread.
/base/update/updater/services/
H A Dupdater_init.h23 // main
91 #define MODE_ENTRY(name) name##Main
/base/web/webview/ohos_interface/include/ohos_nweb/
H A Dnweb_url_resource_request.h61 * @brief Gets whether the request was made in order to fetch the main frame's
64 * @retval Is main frame
H A Dnweb_load_committed_details.h41 * @brief Check whether the request is for getting the main frame.
43 * @retval Is main frame.
/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/bridge/webcore/
H A Dark_web_url_resource_request_impl.h62 * @brief Gets whether the request was made in order to fetch the main frame's
65 * @return Is main frame
H A Dark_web_load_committed_details_impl.h33 * @brief Check whether the request is for getting the main frame.
35 * @return Is main frame.
/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/bridge/webview/
H A Dark_web_load_committed_details_wrapper.h33 * @brief Check whether the request is for getting the main frame.
35 * @return Is main frame.
H A Dark_web_url_resource_request_wrapper.h60 * @brief Gets whether the request was made in order to fetch the main frame's
63 * @return Is main frame
/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/include/
H A Dark_web_load_committed_details.h29 * @brief Check whether the request is for getting the main frame.
31 * @return Is main frame.
H A Dark_web_url_resource_request.h62 * @brief Gets whether the request was made in order to fetch the main frame's
65 * @return Is main frame
/base/notification/eventhandler/interfaces/inner_api/
H A Devent_runner.h267 * Set the main thread timeout period.
297 * Check if the current application is the main thread.
302 * Set app main thread watcher.
310 * Obtains the EventRunner for the main thread of the application.
312 * @return Returns the EventRunner for the main thread of the application.
/base/hiviewdfx/hicollie/interfaces/ndk/include/
H A Dhicollie.h24 * pls note it should not be the same as main thread.
121 * The function can not be called from main thread.
136 * The function can not be called from main thread.
/base/startup/hvb/test/
H A Dhvb_main.c223 int main(void) in main() function
229 printf("hvb main function start.\n"); in main()
241 printf("hvb main end.\n"); in main()
/base/security/selinux_adapter/framework/tools/load_policy/
H A Dload_policy.c18 int main(int argc, char **argv) in main() function
/base/hiviewdfx/hiview/base/include/
H A Dplugin.h62 // called by plugin framework in main thread
70 // called by plugin framework in main thread
78 // called by plugin framework in main thread
/base/hiviewdfx/hidumper/interfaces/native/innerkits/include/
H A Ddump_client_main.h26 int Main(int argc, char* argv[], int outFd);
/base/security/device_security_level/services/sa/lite/small/
H A Ddslm_service_main.c25 int main() in main() function
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/sa/sa_mgr/
H A Dservice_pro_main.c27 int main(void) in main() function
/base/security/selinux_adapter/framework/tools/restorecon/
H A Drestorecon.c21 int main(int argc, char **argv) in main() function

Completed in 14 milliseconds

12345