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

!7426 【OpenHarmony 4.0.3.1】【安全子系统】1018分支cryptoFramework测试套适配ECC512->ECC521

Merge pull request !7426 from qiaozzzh/cherry-pick-1675672562
......@@ -982,7 +982,7 @@ export default function AsymmetricCryptographyJsunit() {
0,
async function (done) {
await asyPromise
.signAndVerifyNormalProcess("ECC512", "ECC512|SHA384")
.signAndVerifyNormalProcess("ECC521", "ECC521|SHA384")
.then((data) => {
expect(data == null).assertTrue();
})
......@@ -1227,7 +1227,7 @@ export default function AsymmetricCryptographyJsunit() {
/**
* @tc.number Security_crypto_framework_ASymmetric_SignVerify_ECDH_0400
* @tc.name Test ECC512 SignVerify ECDH
* @tc.name Test ECC521 SignVerify ECDH
* @tc.desc Use the Callback Style of Interface
*/
it(
......@@ -1235,7 +1235,7 @@ export default function AsymmetricCryptographyJsunit() {
0,
async function (done) {
await asyCallback
.keyAgreementProcess("ECC512")
.keyAgreementProcess("ECC521")
.then((data) => {
expect(data == null).assertTrue();
})
......@@ -1322,7 +1322,7 @@ export default function AsymmetricCryptographyJsunit() {
0,
async function (done) {
await asyCallback
.keyAgreementProcessFail("RSA3072", "ECC512")
.keyAgreementProcessFail("RSA3072", "ECC521")
.then((data) => {
expect(data == "Error: An exception occurs.").assertTrue();
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册