pyecsca.sca.attack.leakage_model module¶
Provides leakage models to simulate leakage.
- class Identity[source]¶
Bases:
LeakageModel
Identity leakage model, leaks the thing itself.
- class Bit(which)[source]¶
Bases:
LeakageModel
Bit leakage model, leaks a selected bit.
- class Slice(begin, end)[source]¶
Bases:
LeakageModel
Slice leakage model, leaks a slice of bits.
- class HammingWeight[source]¶
Bases:
LeakageModel
Hamming-weight leakage model, leaks the Hamming-weight of the thing.
- class HammingDistance[source]¶
Bases:
LeakageModel
Hamming-distance leakage model, leaks the Hamming-distance between the two things.
- class BitLength[source]¶
Bases:
LeakageModel
Bit-length leakage model, leaks the bit-length of the thing.