pyecsca.sca.attack.CPA module¶
- class CPA(points, traces, leakage_model, mult, params)[source]¶
Bases:
object
- Parameters:
points¶ (
list
[Point
]) – Points on which scalar multiplication with secret scalar was performedtraces¶ (
list
[Trace
]) – Power traces corresponding to the scalar multiplication for each of the pointsmult¶ (
ScalarMultiplier
) – Scalar multiplier usedparams¶ (
DomainParameters
) – Domain parameters used
-
traces:
ndarray
[Any
,dtype
[TypeVar
(ScalarType
, bound=generic
, covariant=True)]]¶
-
mult:
ScalarMultiplier
¶
-
params:
DomainParameters
¶
-
leakage_model:
LeakageModel
¶
-
correlations:
dict
[str
,list
[list
[float
]]]¶