Closed makavity closed 10 months ago
I think this function is small enough and can be easily copied. It feels somewhat wrong to expose such function from a block cipher crate.
Sounds logically, so to_u32
in crate used only to format key?
Ah, I've missed that the crate already exports to_u32
. We probably should make it private in the next breaking release.
For now, I would recommend to copy to_u32
and from_u32
to downstream crates. It may be even worth to try add more generic methods to std
, we could use it in other crates as well.
So, okay. As here is migration for 0.2, i suggest to make to_u32 private also
The to_u32
function was made private in #402.
Because AEAD uses this to get key, expose it