/ohos5.0/docs/zh-cn/application-dev/security/UniversalKeystoreKit/ |
H A D | huks-key-import-overview.md | 35 …的密钥材料需满足**Length<sub>Data</sub>-Data**的格式封装,形如:[(Length<sub>part1</sub>Data<sub>part1</sub>)……(Len… 45 | 业务公钥长度L<sub>Caller_Pk</sub> | 4字节 | 46 | 业务公钥Caller_Pk | L<sub>Caller_Pk</sub>字节 | 47 | Shared_Key加密参数AAD2长度L<sub>AAD2</sub> | 4字节 | 48 | Shared_Key加密参数AAD2 | L<sub>AAD2</sub>字节 | 50 | Shared_Key加密参数Nonce2 | L<sub>Nonce2</sub>字节 | 52 | Shared_Key加密参数AEAD2 | L<sub>AEAD2</sub>字节 | 55 | Caller_Kek加密参数AAD3长度L<sub>AAD3</sub> | 4字节 | 56 | Caller_Kek加密参数AAD3 | L<sub>AAD3</sub>字节 | 58 | Caller_Kek加密参数Nonce3 | L<sub>Nonce3</sub>字节 | [all …]
|
H A D | huks-concepts.md | 77 | 密钥算法 | 密钥大小 | 模数n长度L<sub>n</sub> | 公钥指数e长度L<sub>e</sub> | 私钥指数d长度L<sub>d</sub> | n | e | d | 79 | 4字节 | 4字节 | 4字节 | 4字节 | 4字节 | L<sub>n</sub>字节 | L<sub>e</sub>字节 | L<sub>d</sub>字节 | 82 | 密钥算法 | 密钥大小 | 坐标x长度L<sub>x</sub> | 坐标y长度L<sub>y</sub> | 坐标z长度L<sub>z</sub> | x | y | z | 84 | 4字节 | 4字节 | 4字节 | 4字节 | 4字节 | L<sub>x</sub>字节 | L<sub>y</sub>字节 | L<sub>z</sub>字节 | 87 …| 密钥算法 | 密钥大小 | 私钥x长度L<sub>x</sub> | 公钥y长度L<sub>y</sub> | 素数p长度L<sub>p</sub> | 素因子q长度L<sub>q</sub>… 89 … | 4字节 | 4字节 | 4字节 | 4字节 | 4字节 | L<sub>x</sub>字节 | L<sub>y</sub>字节 | L<sub>p</sub>字节 | L<sub>q</su… 92 | 密钥算法 | 密钥大小 | 公钥pk长度L<sub>pk</sub> | 私钥sk长度L<sub>sk</sub> | 保留字段 | pk | sk | 94 | 4字节 | 4字节 | 4字节 | 4字节 | 4字节 | L<sub>pk</sub>字节 | L<sub>sk</sub>字节 | 97 | 密钥算法 | 密钥大小 | 公钥pk长度L<sub>pk</sub> | 私钥sk长度L<sub>sk</sub> | 保留字段 | pk | sk | 99 | 4字节 | 4字节 | 4字节 | 4字节 | 4字节 | L<sub>pk</sub>字节 | L<sub>sk</sub>字节 |
|
/ohos5.0/docs/en/application-dev/security/UniversalKeystoreKit/ |
H A D | huks-key-import-overview.md | 35 …**Length<sub>Data</sub>-Data** format, for example, [(Length<sub>part1</sub>Data<sub>part1</sub>).… 48 | Shared_Key **AAD2** length (L<sub>AAD2</sub>)| 4 bytes| 49 | Shared_Key **AAD2**| L<sub>AAD2</sub> bytes| 51 | Shared_Key **Nonce2**| L<sub>Nonce2</sub> bytes| 52 | Shared_Key **AEAD2** length (L<sub>AEAD2</sub>)| 4 bytes| 53 | Shared_Key **AEAD2**| L<sub>AEAD2</sub> bytes| 56 | Caller_Kek **AAD3** length (L<sub>AAD3</sub>)| 4 bytes| 57 | Caller_Kek **AAD3**| L<sub>AAD3</sub> bytes| 59 | Caller_Kek **Nonce3**| L<sub>Nonce3</sub> bytes| 60 | Caller_Kek **AEAD3** length (L<sub>AEAD3</sub>)| 4 bytes| [all …]
|
H A D | huks-concepts.md | 77 …Size| Modulus n Length (L<sub>n</sub>)| Public Key Exponent Length (L<sub>e</sub>)| Private Key Ex… 79 …| 4 bytes| 4 bytes| 4 bytes| 4 bytes| 4 bytes| L<sub>n</sub> bytes| L<sub>e</sub> bytes| L<sub>d</… 82 … Key Size| Coordinate x Length (L<sub>x</sub>)| Coordinate y Length (L<sub>y</sub>)| Coordinate z … 84 …| 4 bytes| 4 bytes| 4 bytes| 4 bytes| 4 bytes| L<sub>x</sub> bytes| L<sub>y</sub> bytes| L<sub>z</… 87 … (L<sub>x</sub>)| Public Key y Length (L<sub>y</sub>)| Prime p Length (L<sub>p</sub>)| Prime Facto… 89 …4 bytes| 4 bytes| 4 bytes| L<sub>x</sub> bytes| L<sub>y</sub> bytes| L<sub>p</sub> bytes| L<sub>q<… 92 …| Key Algorithm| Key Size| Public Key pk Length (L<sub>pk</sub>)| Private Key sk Length (L<sub>sk<… 94 | 4 bytes| 4 bytes| 4 bytes| 4 bytes| 4 bytes| L<sub>pk</sub> bytes| L<sub>sk</sub> bytes| 97 …| Key Algorithm| Key Size| Public Key pk Length (L<sub>pk</sub>)| Private Key sk Length (L<sub>sk<… 99 | 4 bytes| 4 bytes| 4 bytes| 4 bytes| 4 bytes| L<sub>pk</sub> bytes| L<sub>sk</sub> bytes|
|
/ohos5.0/drivers/peripheral/ |
H A D | README.md | 13 The code directory of this repository is **/drivers/peripheral**, which contains the following sub… 15 …sub-directory stores definitions of audio HDIs that can be used to manage loading and unloading of… 16 …sub-directory stores definitions of codec HDIs, which allow upper-layer services to perform media … 17 …sub-directory stores definitions of display HDIs and their default implementations. These HDIs all… 19 …sub-directory stores definitions of format HDIs, allowing upper-layer services to multiplex and de… 20 …sub-directory stores definitions and implementation code of input HDIs, allowing upper-layer input… 21 …sub-directory stores definitions and implementation code of sensor HDIs, including obtaining senso… 22 …sub-directory stores definitions and implementation code of WLAN HDIs, including creating and stop… 23 …sub-directory stores definitions and implementation code of the USB DDK, including device manageme… 24 …sub-directory stores definitions and implementation code of camera HDIs, including HDI implementat… [all …]
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/extension/ |
H A D | cloud_server_impl.cpp | 403 DBSub sub; in SaveSubscription() local 404 sub.userId = userId; in SaveSubscription() 405 DBMetaMgr::GetInstance().LoadMeta(sub.GetKey(), sub, true); in SaveSubscription() 406 if (!sub.id.empty() && sub.id != accountId) { in SaveSubscription() 411 sub.id = accountId; in SaveSubscription() 423 DBMetaMgr::GetInstance().SaveMeta(sub.GetKey(), sub, true); in SaveSubscription() 517 DBSub sub; in Unsubscribe() local 518 sub.userId = userId; in Unsubscribe() 519 DBMetaMgr::GetInstance().LoadMeta(sub.GetKey(), sub, true); in Unsubscribe() 520 if (sub.id.empty()) { in Unsubscribe() [all …]
|
/ohos5.0/foundation/filemanagement/app_file_service/utils/src/b_anony/ |
H A D | b_anony.cpp | 51 std::string sub; in GetAnonyPath() local 54 sub = value; in GetAnonyPath() 56 sub = value.substr(found + 1); in GetAnonyPath() 59 res += GetAnonyString(sub); in GetAnonyPath()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-universal-attributes-location.md | 184 …其值为组件到左锚点的距离 D<sub>start</sub>与组件到水平方向锚点间总距离 D<sub>start</sub> + D<sub>end</sub>的比值。镜像语言下,D<sub>s… 186 <br/>竖直方向同理,其值为组件到上锚点的距离D<sub>top</sub>与组件到竖直方向锚点间总距离D<sub>top</sub> + D<sub>bottom</sub>的比值。下图中D<s…
|
/ohos5.0/foundation/arkui/napi/sample/native_module_calc/ |
H A D | calc.js | 20 function sub(x, y) function 27 sub: sub,
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/cloud/ |
H A D | cloud_service_impl.cpp | 96 Subscription sub; in CloudServiceImpl() local 622 Subscription sub; in OnInitialize() local 623 sub.userId = user; in OnInitialize() 624 if (!MetaDataManager::GetInstance().LoadMeta(sub.GetKey(), sub, true)) { in OnInitialize() 627 InitSubTask(sub); in OnInitialize() 922 Subscription sub; in OnAppUninstall() local 1028 Subscription sub; in DoSubscribe() local 1029 sub.userId = user; in DoSubscribe() 1030 MetaDataManager::GetInstance().LoadMeta(sub.GetKey(), sub, true); in DoSubscribe() 1042 if (!sub.id.empty() && sub.id != cloudInfo.id) { in DoSubscribe() [all …]
|
/ohos5.0/commonlibrary/c_utils/base/src/ |
H A D | string_ex.cpp | 196 bool IsSubStr(const string& str, const string& sub) in IsSubStr() argument 198 if (sub.empty() || str.empty()) { in IsSubStr() 202 return str.find(sub) != string::npos; in IsSubStr() 206 const string& right, string& sub) in GetFirstSubStrBetween() argument 218 sub = str.substr((leftPos + left.length()), (rightPos - (leftPos + left.length()))); in GetFirstSubStrBetween() 222 …d GetSubStrBetween(const string& str, const string& left, const string& right, vector<string>& sub) in GetSubStrBetween() argument 228 sub.push_back(subString); in GetSubStrBetween()
|
/ohos5.0/foundation/communication/ipc/example/rust_test/service/src/ |
H A D | lib.rs | 38 pub fn sub(num1: &i32, num2: &i32) -> i32 { in sub() function 91 fn sub(&self, num1: i32, num2: i32) -> IpcResult<i32>; in sub() method 111 let ret = stub.sub(num1, num2)?; in on_icalc_remote_request() 144 fn sub (&self, num1: i32, num2: i32) -> IpcResult<i32> { in sub() method 145 self.0.sub(num1, num2) in sub() 165 fn sub(&self, num1: i32, num2: i32) -> IpcResult<i32> { in sub() method
|
/ohos5.0/base/security/certificate_framework/frameworks/adapter/v1.0/src/ |
H A D | certificate_openssl_common.c | 318 bool CfArrayContains(const CfArray *self, const CfArray *sub) in CfArrayContains() argument 322 for (uint32_t j = 0; j < sub->count; ++j) { in CfArrayContains() 323 if (self->data[i].size == sub->data[j].size && in CfArrayContains() 324 memcmp(self->data[i].data, sub->data[j].data, self->data[i].size) == 0) { in CfArrayContains() 541 CfResult GetSubjectNameFromX509(X509 *cert, CfBlob **sub) in GetSubjectNameFromX509() argument 552 *sub = (CfBlob *)CfMalloc(sizeof(CfBlob), 0); in GetSubjectNameFromX509() 553 if (*sub == NULL) { in GetSubjectNameFromX509() 558 int32_t size = i2d_X509_NAME(name, &((*sub)->data)); in GetSubjectNameFromX509() 561 CfFree(*sub); in GetSubjectNameFromX509() 562 *sub = NULL; in GetSubjectNameFromX509() [all …]
|
/ohos5.0/base/hiviewdfx/hiview/ |
H A D | kernel_vendor.yaml | 44 SUB_LOG_PATH: {type: STRING, desc: sub fault log dir} 58 SUB_LOG_PATH: {type: STRING, desc: sub fault log dir} 72 SUB_LOG_PATH: {type: STRING, desc: sub fault log dir} 86 SUB_LOG_PATH: {type: STRING, desc: sub fault log dir} 100 SUB_LOG_PATH: {type: STRING, desc: sub fault log dir} 114 SUB_LOG_PATH: {type: STRING, desc: sub fault log dir} 128 SUB_LOG_PATH: {type: STRING, desc: sub fault log dir} 142 SUB_LOG_PATH: {type: STRING, desc: sub fault log dir} 156 SUB_LOG_PATH: {type: STRING, desc: sub fault log dir} 170 SUB_LOG_PATH: {type: STRING, desc: sub fault log dir} [all …]
|
/ohos5.0/foundation/communication/ipc/example/rust_test/server/src/ |
H A D | main.rs | 21 …ipc_service::{ICalc, CalcStub, EXAMPLE_IPC_CALC_SERVICE_ID, init_access_token, add, sub, mul, div}; 31 fn sub(&self, num1: i32, num2: i32) -> IpcResult<i32> { in sub() method 32 Ok(sub(&num1, &num2)) in sub()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/src/io/ |
H A D | path_tools.cpp | 77 if (const string_view sub = path.substr(0, pos); sub == "..") { in NormalizePath() local 95 } else if (sub == ".") { in NormalizePath() 99 res.append(sub); in NormalizePath()
|
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/ |
H A D | README.md | 15 …nning sub-module** parses pre-installed or installed bundles on the local device and extracts inf… 17 - The **bundle installation sub-module** installs, uninstalls, and updates a bundle. 20 - The **bundle management sub-module** manages information related to application bundles and s… 22 - The **bundle security management sub-module** verifies signatures, and grants and manages per…
|
/ohos5.0/base/security/selinux_adapter/scripts/selinux_check/ |
H A D | check_data_regex.py | 30 path = re.sub(r'\\\\', '', path) 31 path = re.sub(r'\\/', '/', path) 37 replace_str = re.sub(r'\\[\$\(\)\*\+\.\[\]\?\\\^\{\}\|]', '', second_dir_name)
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/unittest/ |
H A D | rs_region_test.cpp | 52 Occlusion::Region sub = resgion1.Sub(resgion2); variable 55 EXPECT_EQ(sub.GetSize(), 2); 56 EXPECT_EQ(sub.GetBound(), res);
|
/ohos5.0/drivers/peripheral/clearplay/hdi_service/common/ |
H A D | data_parser.cpp | 151 int32_t findSubVector(const std::vector<uint8_t> &main, const std::vector<uint8_t> &sub) in findSubVector() argument 155 for (j = 0; j < sub.size() && main[i + j] == sub[j]; ++j) { in findSubVector() 158 if (j == sub.size()) { in findSubVector()
|
/ohos5.0/commonlibrary/c_utils/base/include/ |
H A D | string_ex.h | 177 bool IsSubStr(const std::string& str, const std::string& sub); 192 const std::string& right, std::string& sub); 205 const std::string& right, std::vector<std::string>& sub);
|
/ohos5.0/foundation/ability/idl_tool/test/sa_test/ |
H A D | cmd_dump_metadata.py | 38 output_string = re.sub(r'"size_" : "\d+"', '"size_" : "0"', result) 39 … output_string = re.sub(r'"stringPoolSize_" : "\d+"', '"stringPoolSize_" : "0"', output_string)
|
/ohos5.0/foundation/resourceschedule/resource_schedule_service/ressched/plugins/socperf_plugin/src/ |
H A D | socperf_plugin.cpp | 100 for (SubItem sub : item.subItemList) { in InitPerfCrucialSo() local 102 perfReqAppTypeSoPath_ = sub.value; in InitPerfCrucialSo() 105 perfReqAppTypeSoFunc_ = sub.value; in InitPerfCrucialSo() 138 for (SubItem sub : item.subItemList) { in InitEventId() local 139 if (sub.name == SOCPERF_TYPE_ID) { in InitEventId() 140 RES_TYPE_SCENE_BOARD_ID = atoi(sub.value.c_str()); in InitEventId() 141 } else if (sub.name == SOCPERF_TYPE_RGM) { in InitEventId() 142 RES_TYPE_RGM_BOOTING_STATUS = atoi(sub.value.c_str()); in InitEventId() 287 for (SubItem sub : item.subItemList) { in InitFeatureSwitch() local 288 if (sub.name == featureName) { in InitFeatureSwitch() [all …]
|
/ohos5.0/docs/en/readme/ |
H A D | ability.md | 14 …- The AbilityStackManager sub-module maintains the presentation sequence of abilities in the stack. 15 - The AbilityConnectManager sub-module manages connections to Service abilities. 16 - The DataAbilityManager sub-module manages Data abilities. 17 - The AppScheduler sub-module schedules and manages the App Manager Service. 18 - The AbilityScheduler sub-module schedules and manages abilities. 19 - The LifecycleDeal sub-module schedules and manages ability lifecycle events.
|
/ohos5.0/foundation/ability/ability_lite/ |
H A D | README.md | 47 …ionships and lifecycle states of **Ability** instances. It consists of the following sub-modules: 48 - The **service startup** sub-module starts and registers the Ability Manager Service. 49 …- The **service interface management** sub-module manages external capabilities provided by th… 50 …- The **process management** sub-module starts and destroys processes where **Ability** inst… 51 …- The **ability stack management** sub-module maintains the presentation sequence of abilities… 52 …- The **lifecycle scheduling** sub-module changes an ability to a particular state based on th… 53 - The **connection management** sub-module manages connections to Service abilities.
|