From 15723d59fd9a7f694bef43da2a95178f0b13bdee Mon Sep 17 00:00:00 2001 From: xuyongliang_01 Date: Mon, 23 Oct 2023 07:03:53 +0000 Subject: [PATCH 1/2] update test.py. Signed-off-by: xuyongliang_01 --- test.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/test.py b/test.py index 9d32468..800cbf0 100644 --- a/test.py +++ b/test.py @@ -1,10 +1,7 @@ from pyuadk import pywd_cipher, pywd_digest, pywd_rsa -# from pyuadk.pywd_rsa import RSA_OP_TYPE import unittest from Crypto.Cipher import AES from Crypto.PublicKey import RSA -import time -import struct, os from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes from gmssl.sm4 import CryptSM4, SM4_ENCRYPT, SM4_DECRYPT from gmssl.sm3 import sm3_hash -- Gitee From 9a44f234b457b42c504ddc47e91459d35988b4d4 Mon Sep 17 00:00:00 2001 From: xuyongliang_01 Date: Mon, 23 Oct 2023 07:04:36 +0000 Subject: [PATCH 2/2] update test_aysnc.py. Signed-off-by: xuyongliang_01 --- test_aysnc.py | 1 - 1 file changed, 1 deletion(-) diff --git a/test_aysnc.py b/test_aysnc.py index 0df0130..0c6c319 100644 --- a/test_aysnc.py +++ b/test_aysnc.py @@ -2,7 +2,6 @@ import unittest import ctypes from pyuadk import pywd_cipher, pywd_digest, pywd_rsa from Crypto.Cipher import AES -import threading from cryptography.hazmat.primitives.asymmetric import rsa -- Gitee