Expand description

frodokem1344aes

These bindings use the opt version from PQClean

Example

use pqcrypto_frodo::frodokem1344aes::*;
let (pk, sk) = keypair();
let (ss1, ct) = encapsulate(&pk);
let ss2 = decapsulate(&ct, &sk);
assert!(ss1 == ss2);

Structs

Functions

Get the number of bytes for the encapsulated ciphertext

Decapsulate the received frodokem1344aes ciphertext

Encapsulate to a frodokem1344aes public key

Generate a frodokem1344aes keypair

Get the number of bytes for a public key

Get the number of bytes for a secret key

Get the number of bytes for the shared secret