9584faee55
* [whisper] Move needed aes_gcm crypto in-crate
In the latest `parity-crypto` release (upcoming 0.4), the aes GCM features were removed (done to remove the dependency on `ring`).
This PR adds the bare minimum crypto needed for Whisper directly to the crate itself and as those were the only features needed from `parity-crypto`, removes the dependency on that crate altogether.
* Upgrade to parity-crypto 0.4
Reverts using NonZeroU32 (introduced [here](
|
||
---|---|---|
.. | ||
bytes.rs | ||
cipher.rs | ||
crypto.rs | ||
error.rs | ||
hash.rs | ||
id.rs | ||
kdf.rs | ||
key_file.rs | ||
mod.rs | ||
presale.rs | ||
vault_file.rs | ||
vault_key_file.rs | ||
version.rs |