未验证 提交 c80ce64f 编写于 作者: O openharmony_ci 提交者: Gitee

!7363 【OpenHarmony 4.0.2.3】【安全子系统】加解密算法库适配

Merge pull request !7363 from qiaozzzh/0201_1
...@@ -18,9 +18,9 @@ group("security") { ...@@ -18,9 +18,9 @@ group("security") {
if (is_standard_system) { if (is_standard_system) {
deps = [ deps = [
"access_token/AccessTokenTest_Normal_js:ActsAccessTokenApiJSNormalTest", "access_token/AccessTokenTest_Normal_js:ActsAccessTokenApiJSNormalTest",
"certificate_framework/js_api_test_one:ActsCertificateFrameworkJSNormalTest",
"cipher/datacipher:datacipher", "cipher/datacipher:datacipher",
"cryptoFramework/js_api_test_one:ActsCryptoFrameworkJSNormalTest", "cryptoFramework/js_api_test_one:ActsCryptoFrameworkJSNormalTest",
"cryptoFramework/js_api_test_two:ActsCryptoFrameworkJSNormalTwoTest",
"huks_napi_BasicTest:ActsHuksNAPITest", "huks_napi_BasicTest:ActsHuksNAPITest",
"security_huks_basic", "security_huks_basic",
"security_huks_reformed_test", "security_huks_reformed_test",
......
...@@ -13,14 +13,14 @@ ...@@ -13,14 +13,14 @@
import("//test/xts/tools/build/suite.gni") import("//test/xts/tools/build/suite.gni")
ohos_js_hap_suite("ActsCryptoFrameworkJSNormalTwoTest") { ohos_js_hap_suite("ActsCertificateFrameworkJSNormalTest") {
hap_profile = "./src/main/config.json" hap_profile = "./src/main/config.json"
deps = [ deps = [
":hjs_demo_js_assets", ":hjs_demo_js_assets",
":hjs_demo_resources", ":hjs_demo_resources",
] ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "ActsCryptoFrameworkJSNormalTwoTest" hap_name = "ActsCertificateFrameworkJSNormalTest"
subsystem_name = "security" subsystem_name = "security"
part_name = "crypto_framework" part_name = "crypto_framework"
} }
......
...@@ -5,12 +5,12 @@ ...@@ -5,12 +5,12 @@
"test-timeout": "900000", "test-timeout": "900000",
"shell-timeout": "900000", "shell-timeout": "900000",
"testcase-timeout": "60000", "testcase-timeout": "60000",
"bundle-name": "com.openharmony.cryptoFramework2", "bundle-name": "com.openharmony.certificateframework",
"package-name": "com.openharmony.cryptoFramework2" "package-name": "com.openharmony.certificateframework"
}, },
"kits": [ "kits": [
{ {
"test-file-name": ["ActsCryptoFrameworkJSNormalTwoTest.hap"], "test-file-name": ["ActsCertificateFrameworkJSNormalTest.hap"],
"type": "AppInstallKit", "type": "AppInstallKit",
"cleanup-apps": true "cleanup-apps": true
}, },
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
{ {
"type": "PushKit", "type": "PushKit",
"push": [ "push": [
"ActsCryptoFrameworkJSNormalTwoTest.hap->/data/test/ActsCryptoFrameworkJSNormalTwoTest.hap" "ActsCertificateFrameworkJSNormalTest.hap->/data/test/ActsCertificateFrameworkJSNormalTest.hap"
] ]
}, },
{ {
......
{ {
"app": { "app": {
"bundleName": "com.openharmony.cryptoFramework2", "bundleName": "com.openharmony.certificateframework",
"vendor": "acts", "vendor": "acts",
"version": { "version": {
"code": 12, "code": 12,
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
}, },
"deviceConfig": {}, "deviceConfig": {},
"module": { "module": {
"package": "com.openharmony.cryptoFramework2", "package": "com.openharmony.certificateframework",
"name": ".entry", "name": ".entry",
"mainAbility": ".MainAbility", "mainAbility": ".MainAbility",
"deviceType": ["default", "tablet", "tv", "wearable", "phone"], "deviceType": ["default", "tablet", "tv", "wearable", "phone"],
......
...@@ -13,12 +13,10 @@ ...@@ -13,12 +13,10 @@
* limitations under the License. * limitations under the License.
*/ */
import SecurityRandomJsunit from "./SecurityRandom.test";
import CertificateJsunit from "./Certificate.test"; import CertificateJsunit from "./Certificate.test";
import CertificateCrlJsunit from "./CertificateCrl.test"; import CertificateCrlJsunit from "./CertificateCrl.test";
export default function testsuite() { export default function testsuite() {
SecurityRandomJsunit();
CertificateJsunit(); CertificateJsunit();
CertificateCrlJsunit(); CertificateCrlJsunit();
} }
...@@ -16,9 +16,11 @@ ...@@ -16,9 +16,11 @@
import SymmetricCryptographyJsunit from "./SymmetricCryptography.test"; import SymmetricCryptographyJsunit from "./SymmetricCryptography.test";
import AsymmetricCryptographyJsunit from "./AsymmetricCryptography.test"; import AsymmetricCryptographyJsunit from "./AsymmetricCryptography.test";
import DigestAlgorithmJsunit from "./DigestAlgorithm.test"; import DigestAlgorithmJsunit from "./DigestAlgorithm.test";
import SecurityRandomJsunit from "./SecurityRandom.test";
export default function testsuite() { export default function testsuite() {
SymmetricCryptographyJsunit(); SymmetricCryptographyJsunit();
AsymmetricCryptographyJsunit(); AsymmetricCryptographyJsunit();
DigestAlgorithmJsunit(); DigestAlgorithmJsunit();
SecurityRandomJsunit();
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册