diff --git a/security/cryptoFramework/js_api_test_one/src/main/js/test/AsymmetricCryptography.test.js b/security/cryptoFramework/js_api_test_one/src/main/js/test/AsymmetricCryptography.test.js index 762159978ce5c1d8851f045096b0d3cf3d837f9b..0f81b62ffa63090b93578019f7c8551eb051798c 100644 --- a/security/cryptoFramework/js_api_test_one/src/main/js/test/AsymmetricCryptography.test.js +++ b/security/cryptoFramework/js_api_test_one/src/main/js/test/AsymmetricCryptography.test.js @@ -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(); })