pub fn encode_pkcs8_seed_der(
alg: KemAlgorithm,
seed: &[u8; 64],
) -> Result<Vec<u8>>Expand description
Encodes an ML-KEM 64-byte (d || z) seed into RFC 9935 PKCS#8 DER (seed CHOICE tag 0x80).
The seed is written directly into the returned buffer (no intermediate copies).