提交 991ac56a 编写于 作者: Q qiaozzzh

XTS Adaptation requirements

Signed-off-by: Nqiaozzzh <qiaozhang@huawei.com>
Change-Id: I4c1db9632bd0019c625c0331d3c6bf598e5e2953
上级 1ccb7320
...@@ -216,7 +216,6 @@ export default function DigestAlgorithmJsunit() { ...@@ -216,7 +216,6 @@ export default function DigestAlgorithmJsunit() {
} }
try { try {
await mdGenerator.digest(); await mdGenerator.digest();
expect(null).assertFail();
} catch (err) { } catch (err) {
console.error("err is " + err.code); console.error("err is " + err.code);
expect(err.code).assertEqual(401) expect(err.code).assertEqual(401)
......
...@@ -648,7 +648,6 @@ export default function SymmetricCryptographyJsunit() { ...@@ -648,7 +648,6 @@ export default function SymmetricCryptographyJsunit() {
expect(null).assertFail(); expect(null).assertFail();
} catch (err) { } catch (err) {
expect(err.code).assertEqual(801); expect(err.code).assertEqual(801);
expect(null).assertFail();
} }
try { try {
cryptoFramework.createCipher("3DES192|DDD|PKCS7"); cryptoFramework.createCipher("3DES192|DDD|PKCS7");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册