Skip to main content

Module error

Module error 

Source
Expand description

Error types for the KyberLib library. Error types.

Every fallible public function in kyberlib returns Result<T, KyberLibError>. The enum is #[non_exhaustive] so future backend-specific variants (the planned fips and verified features) can be added without a major-version bump.

Enumsยง

KyberLibError
Error types for the failure modes in kyberlib.