The kem APIs currently use Vec<u8>s for inputs and outputs. This, along with the fact that they allow for different algorithms to be selected, necessitates the use of unwrap()s since the different algorithms have different length requirements that aren't being enforced at compile time.
This issue has been marked as stale due to a lack of activity for 60 days. If you believe this issue is still relevant, please provide an update or comment to keep it open. Otherwise, it will be closed in 7 days.
The
kem
APIs currently useVec<u8>
s for inputs and outputs. This, along with the fact that they allow for different algorithms to be selected, necessitates the use ofunwrap()
s since the different algorithms have different length requirements that aren't being enforced at compile time.