提交 049e1486 编写于 作者: H hu-jixiang1

code_del

Signed-off-by: Nhu-jixiang1 <hujixiang1@huawei.com>
Change-Id: Ifaf802995a687b902780848d0a326e06e4dcfb80
上级 d89684d1
......@@ -1456,19 +1456,6 @@ describe('Hks_Abnormal_Callback_Part2', function () {
});
/**
* @tc.number HUKS_ABNORMAL_CALLBACK_21200
* @tc.name InvalidPurposeUnwrapAlgEccForGenerateGKeyCallback
* @tc.desc Invalid purpose unwrap alg ecc for generate key callback.
*/
it('HUKS_ABNORMAL_CALLBACK_21200', 0, async function (done) {
var option = eccGenerateKeyInvalidPurposeOption(hks.HuksKeyPurpose.HUKS_KEY_PURPOSE_UNWRAP);
hks.generateKey(alias, option, function (err, data) {
expect(data.errorCode).assertEqual(hks.HuksErrorCode.HUKS_ERROR_INVALID_PURPOSE);
done();
});
});
/**
* @tc.number HUKS_ABNORMAL_CALLBACK_21300
* @tc.name InvalidPurposeencryptAlgEccForGenerateGKeyCallback
......@@ -1950,19 +1937,6 @@ describe('Hks_Abnormal_Callback_Part2', function () {
});
});
/**
* @tc.number HUKS_ABNORMAL_CALLBACK_25000
* @tc.name InvalidPurposeUnwrapAlgDhForGenerateKeyCallback
* @tc.desc Invalid purpose unwrap alg dh for generate key callback.
*/
it('HUKS_ABNORMAL_CALLBACK_25000', 0, async function (done) {
var option = dhGenerateKeyInvalidPurposeOption(hks.HuksKeyPurpose.HUKS_KEY_PURPOSE_UNWRAP);
hks.generateKey(alias, option, function (err, data) {
expect(data.errorCode).assertEqual(hks.HuksErrorCode.HUKS_ERROR_INVALID_PURPOSE);
done();
});
});
/**
* @tc.number HUKS_ABNORMAL_CALLBACK_25100
* @tc.name InvalidPurposeEncryptAlgDhForGenerateKeyCallback
......
......@@ -1353,18 +1353,6 @@ describe('Hks_Abnormal_Promise_Part2', function () {
done();
});
/**
* @tc.number HUKS_ABNORMAL_CALLBACK_21200
* @tc.name InvalidPurposeUnwrapAlgEccForGenerateGKeyPromise
* @tc.desc Invalid purpose unwrap alg ecc for generate key promise.
*/
it('HUKS_ABNORMAL_PROMISE_21200', 0, async function (done) {
var option = eccGenerateKeyInvalidPurposeOption(hks.HuksKeyPurpose.HUKS_KEY_PURPOSE_UNWRAP);
var result = await hks.generateKey(alias, option);
expect(result.errorCode).assertEqual(hks.HuksErrorCode.HUKS_ERROR_INVALID_PURPOSE);
done();
});
/**
* @tc.number HUKS_ABNORMAL_CALLBACK_21300
* @tc.name InvalidPurposeencryptAlgEccForGenerateGKeyPromise
......@@ -1809,18 +1797,6 @@ describe('Hks_Abnormal_Promise_Part2', function () {
done();
});
/**
* @tc.number HUKS_ABNORMAL_CALLBACK_25000
* @tc.name InvalidPurposeUnwrapAlgDhForGenerateKeyPromise
* @tc.desc Invalid purpose unwrap alg dh for generate key promise.
*/
it('HUKS_ABNORMAL_PROMISE_25000', 0, async function (done) {
var option = dhGenerateKeyInvalidPurposeOption(hks.HuksKeyPurpose.HUKS_KEY_PURPOSE_UNWRAP);
var result = await hks.generateKey(alias, option);
expect(result.errorCode).assertEqual(hks.HuksErrorCode.HUKS_ERROR_INVALID_PURPOSE);
done();
});
/**
* @tc.number HUKS_ABNORMAL_CALLBACK_25100
* @tc.name InvalidPurposeEncryptAlgDhForGenerateKeyPromise
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册