提交 3061fb48 编写于 作者: 伞木希美

fix

Signed-off-by: N伞木希美 <zhanghanlin9@huawei.com>
上级 1a33fb29
...@@ -36,7 +36,9 @@ export default function SecurityHuksDSABasicAbort63KBPromiseJsunit() { ...@@ -36,7 +36,9 @@ export default function SecurityHuksDSABasicAbort63KBPromiseJsunit() {
), ),
inData: srcData63Kb, inData: srcData63Kb,
}; };
await publicSignVerifyFunc(srcKeyAlies, HuksOptions, 'abort', true, srcData63Kb); if (useSoftware) {
await publicSignVerifyFunc(srcKeyAlies, HuksOptions, 'abort', true, srcData63Kb);
}
done(); done();
}); });
}); });
......
...@@ -12,10 +12,10 @@ ...@@ -12,10 +12,10 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
import { describe, it } from '@ohos/hypium'; import { describe, it, beforeAll } from '@ohos/hypium';
import Data from '../../../../../../utils/data.json'; import Data from '../../../../../../utils/data.json';
import { HuksSignVerifyRSA } from '../../../../../../utils/param/signverify/publicSignverifyParam'; import { HuksSignVerifyRSA } from '../../../../../../utils/param/signverify/publicSignverifyParam';
import { stringToUint8Array } from '../../../../../../utils/param/publicFunc'; import { stringToUint8Array, checkSoftware } from '../../../../../../utils/param/publicFunc';
import { publicSignVerifyFunc } from '../../../../../../utils/param/signverify/publicSignverifyPromise.js'; import { publicSignVerifyFunc } from '../../../../../../utils/param/signverify/publicSignverifyPromise.js';
let srcData65 = Data.Data65b; let srcData65 = Data.Data65b;
let srcData65Kb = stringToUint8Array(srcData65); let srcData65Kb = stringToUint8Array(srcData65);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册