curve25519-dalek-source/src/scalar_mul
Tony Arcieri 10e8abf926 Unify alloc and std cargo features
This change provides a common convention for using allocator-dependent
features with:

    #![cfg(feature = "alloc")]

When available, `Vec` is imported consistently as `prelude::Vec`, which
means modules that need access to `Vec` can simply do:

    use prelude::*;

and if an allocator is available, `Vec` will be in the crate prelude.

This allows all `alloc` vs `std` gating to be handled in `lib.rs`,
`build.rs`, and `prelude.rs` so the rest of the codebase doesn't have to
do any gating whatsoever.
2018-07-23 10:50:21 -07:00
..
mod.rs Add doc comments 2018-05-15 11:33:38 -07:00
straus.rs Unify alloc and std cargo features 2018-07-23 10:50:21 -07:00
variable_base.rs Split out constant-time variable-base scalar mul. 2018-03-26 16:01:51 -07:00
vartime_double_base.rs Add NafLookupTable8 and use for pre-computed basepoint table generation. 2018-04-05 05:12:13 +00:00
window.rs Update year in copyright notices to 2018. 2018-07-05 00:30:27 +00:00