Distinguishers DPA

class scared.distinguishers.dpa.DPADistinguisherMixin[source]

Differential Power Analysis mixin.

accumulator_traces

accumulator of all traces with shape (trace_size,)

Type:

numpy.ndarray

accumulator_ones

accumulator of traces corresponding to intermediate value 1, with shape (trace_size,)

Type:

numpy.ndarray

processed_ones

number of processed traces in accumulator_ones for each data word considered, with shape (data_words,)

Type:

numpy.ndarray

class scared.distinguishers.dpa.DPADistinguisher(precision='float32')[source]

Standalone distinguisher class using DPA.