pyecsca.ec.error module

Contains exceptions and warnings used in the library.

exception NonInvertibleError[source]

Bases: ArithmeticError

Non-invertible element was inverted.

add_note()[source]

Exception.add_note(note) – add a note to the exception

args[source]
with_traceback()[source]

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception NonInvertibleWarning[source]

Bases: UserWarning

Non-invertible element was inverted.

add_note()[source]

Exception.add_note(note) – add a note to the exception

args[source]
with_traceback()[source]

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception NonResidueError[source]

Bases: ArithmeticError

Non-residue element was square-rooted.

add_note()[source]

Exception.add_note(note) – add a note to the exception

args[source]
with_traceback()[source]

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception NonResidueWarning[source]

Bases: UserWarning

Non-residue element was square-rooted.

add_note()[source]

Exception.add_note(note) – add a note to the exception

args[source]
with_traceback()[source]

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception UnsatisfiedAssumptionError[source]

Bases: ValueError

Unsatisfied assumption was hit.

add_note()[source]

Exception.add_note(note) – add a note to the exception

args[source]
with_traceback()[source]

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception UnsatisfiedAssumptionWarning[source]

Bases: UserWarning

Unsatisfied assumption was hit.

add_note()[source]

Exception.add_note(note) – add a note to the exception

args[source]
with_traceback()[source]

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.