Expand description
API for the KyberLib library.
Structs§
- Keypair
- A public/secret keypair for use with Kyber.
Functions§
- decapsulate
- Decapsulates ciphertext with a secret key.
- derive
- Deterministically derive a keypair from a seed as specified in draft-schwabe-cfrg-kyber.
- encapsulate
- Encapsulates a public key and returns the ciphertext to send and the shared secret.
- keypair
- Generate a key pair for Kyber encryption with a provided RNG.
- keypairfrom
- Verify that given secret and public key matches and put them in the KeyPair structure after zeroize them if asked.
- public
- Extracts a public key from a private key.