Drop unused SHA1 import

It is unused since commit 36970a26d7
("Replace PBKDF2 class by python stdlib implementation").

Fixes #218
This commit is contained in:
Michael Weghorn
2022-07-23 13:48:09 +02:00
parent 562eb4297a
commit c6f8011ade

View File

@@ -27,12 +27,11 @@ from virtualsmartcard.utils import inttostring
try:
# Use PyCrypto (if available)
from Crypto.Cipher import DES3, DES, AES, ARC4 # @UnusedImport
from Crypto.Hash import HMAC, SHA as SHA1
from Crypto.Hash import HMAC
except ImportError:
# PyCrypto not available. Use the Python standard library.
from hashlib import hmac as HMAC
from hashlib import sha as SHA1
CYBERFLEX_IV = b'\x00' * 8