Expand description

saber

This crate provides bindings to and wrappers around the following implementations from PQClean:

  • firesaber - clean
  • lightsaber - clean
  • saber - clean

Re-exports

pub use crate::firesaber::ciphertext_bytes as firesaber_ciphertext_bytes;
pub use crate::firesaber::decapsulate as firesaber_decapsulate;
pub use crate::firesaber::encapsulate as firesaber_encapsulate;
pub use crate::firesaber::keypair as firesaber_keypair;
pub use crate::firesaber::public_key_bytes as firesaber_public_key_bytes;
pub use crate::firesaber::secret_key_bytes as firesaber_secret_key_bytes;
pub use crate::firesaber::shared_secret_bytes as firesaber_shared_secret_bytes;
pub use crate::lightsaber::ciphertext_bytes as lightsaber_ciphertext_bytes;
pub use crate::lightsaber::decapsulate as lightsaber_decapsulate;
pub use crate::lightsaber::encapsulate as lightsaber_encapsulate;
pub use crate::lightsaber::keypair as lightsaber_keypair;
pub use crate::lightsaber::public_key_bytes as lightsaber_public_key_bytes;
pub use crate::lightsaber::secret_key_bytes as lightsaber_secret_key_bytes;
pub use crate::lightsaber::shared_secret_bytes as lightsaber_shared_secret_bytes;
pub use crate::saber::ciphertext_bytes as saber_ciphertext_bytes;
pub use crate::saber::decapsulate as saber_decapsulate;
pub use crate::saber::encapsulate as saber_encapsulate;
pub use crate::saber::keypair as saber_keypair;
pub use crate::saber::public_key_bytes as saber_public_key_bytes;
pub use crate::saber::secret_key_bytes as saber_secret_key_bytes;
pub use crate::saber::shared_secret_bytes as saber_shared_secret_bytes;

Modules

Foreign function interfaces

firesaber

lightsaber

saber