pyecsca.ec.error module¶
Contains exceptions and warnings used in the library.
- exception pyecsca.ec.error.NonInvertibleError[source]¶
Bases:
ArithmeticError
Non-invertible element was inverted.
- add_note()¶
Exception.add_note(note) – add a note to the exception
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception pyecsca.ec.error.NonInvertibleWarning[source]¶
Bases:
UserWarning
Non-invertible element was inverted.
- add_note()¶
Exception.add_note(note) – add a note to the exception
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception pyecsca.ec.error.NonResidueError[source]¶
Bases:
ArithmeticError
Non-residue element was square-rooted.
- add_note()¶
Exception.add_note(note) – add a note to the exception
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception pyecsca.ec.error.NonResidueWarning[source]¶
Bases:
UserWarning
Non-residue element was square-rooted.
- add_note()¶
Exception.add_note(note) – add a note to the exception
- args¶
- with_traceback()¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.