rust-crypto
rust-crypto copied to clipboard
blowfish.rs fails to compile on nightly 1.6
Breaking change in derivations of Clone for arrays; see rust-lang/rust#30244.
Offending line: https://github.com/DaGenix/rust-crypto/blob/db7fe6caf38315d94f7e3dfb6257cd1f876f1c39/src/blowfish.rs#L13
rust-lang/rust#30130 was reverted due to ICEs related to Copy on large arrays in rust-lang/rust#25733
Possible solution: use a pre-sized Vec i.e. vec![vec![0u32; 256]; 4]
in Blowfish::new
.
duplicate of #335