Remove aes_gcm module#144
Conversation
|
I'm fine closing #133 after this, but would like a trace to remain about the rest of the work. Normally I'd reject something like this because it's a bit half-baked, but I suspect that you need this in Substrate urgently enough to just fork if we don't merge as-is. |
|
I don't need this urgently, unless the definition of "urgent" is less than 2 months. I want to get out of ring because it doesn't compile for WASM, and I went for a feature gate because ring is the only crate that provides an implementation of GCM (with the exception of rust-crypto, which we also got rid of). It's not that I put a feature gate because I was too lazy, it's that there's no other way at the moment except by writing our own GCM crate, which I'm not qualified to do. |
Oh, ok, sorry got the wrong impression then. How about we extract the GCM stuff into its own crate (or even, if Whisper is the only thing using it, maybe it can be just a module there)? That way we can move forward with |
|
So I had written I put back a I think it's a good idea to always have the variant (even if the feature is disabled), in order to avoid breaking crates that match on the error when you enable the feature. |
|
I took a look at reverse dependencies of |
|
Pushed another commit that removes |
Based on top of #139
Closes #133.
Removes
aes_gcmmodule.