blob: f1555dd587491d9be53e9a64aab04a3c7e328602 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
"""Package for communicating with targets of measurement."""
from .ISO7816 import *
from .base import *
from .serial import *
from .simpleserial import *
from .binary import *
from .flash import *
has_chipwhisperer = False
has_pyscard = False
try:
import chipwhisperer
has_chipwhisperer = True
except ImportError: # pragma: no cover
pass
try:
import smartcard
has_pyscard = True
except ImportError: # pragma: no cover
pass
if has_pyscard:
from .PCSC import *
from .ectester import ECTesterTarget
if has_chipwhisperer:
from .chipwhisperer import *
|