pub fn derive(seed: &[u8]) -> Result<Keypair, KyberLibError>Expand description
Deterministically derive a keypair from a seed as specified in draft-schwabe-cfrg-kyber.
This function deterministically derives a key pair from a seed and returns it as a Keypair struct.
§Arguments
seed- The seed as a slice of bytes.
§Errors
Returns a KyberLibError if the seed length is incorrect.