templates.exceptions module¶
Custom exceptions for the tno.mpc.encryption_scheme modules.
- exception templates.exceptions.EncryptionSchemeError[source]¶
Bases:
ExceptionGeneric error type for encryption schemes.
- exception templates.exceptions.EncryptionSchemeWarning[source]¶
Bases:
UserWarningIssued to suggest cryptographic best practises.
- exception templates.exceptions.RandomizedEncryptionSchemeWarning[source]¶
Bases:
EncryptionSchemeWarningIssued for warnings related to the randomness generation.
- exception templates.exceptions.SerializationError(m=None)[source]¶
Bases:
EncryptionSchemeErrorSerialization error for encryption schemes.
- exception templates.exceptions.TooLittleRandomnessWarning[source]¶
Bases:
RandomizedEncryptionSchemeWarningIssued when less randomness has been generated than required by the protocol, resulting in randomness needing to be generated on the fly.
- exception templates.exceptions.TooMuchRandomnessWarning[source]¶
Bases:
RandomizedEncryptionSchemeWarningIssued when more randomness has been generated than used by the protocol.