pyecsca.sca.re.epa module

Provides functionality inspired by the Exceptional Procedure Attack [EPA].

errors_out(ctx, out, check_funcs, check_condition, precomp_to_affine)[source]
Parameters:
  • ctx (MultipleContext) – The context containing the points and formulas.

  • out (Point) – The output point to check.

  • check_funcs (dict[str, Callable])

  • check_condition (Union[Literal['all'], Literal['necessary']])

  • precomp_to_affine (bool)

Return type:

bool

Returns:

Note

The scalar multiplier must not short-circuit.