fn convert_seed_to_handles(
algo_name: &str,
seed_bytes: &[u8],
private_key_bytes: Option<&[u8]>,
public_key_bytes: Option<&[u8]>,
) -> Result<(Handle, Handle), Error>Expand description
Convert seed bytes to an ML-KEM private key handle and an ML-KEM public key handle. If private key bytes and/or public key bytes are provided, it runs a consistency check against the seed. If the length in bits of seed bytes is not 512, the conversion fails, or the consistency check fails, throw a DataError.