2017-10-23 21:03:23 +00:00
|
|
|
// -*- mode: rust; -*-
|
|
|
|
|
//
|
|
|
|
|
// This file is part of curve25519-dalek.
|
2018-07-05 00:24:41 +00:00
|
|
|
// Copyright (c) 2016-2018 Isis Lovecruft, Henry de Valence
|
2017-10-23 21:03:23 +00:00
|
|
|
// See LICENSE for licensing information.
|
|
|
|
|
//
|
|
|
|
|
// Authors:
|
|
|
|
|
// - Isis Agora Lovecruft <isis@patternsinthevoid.net>
|
|
|
|
|
// - Henry de Valence <hdevalence@hdevalence.ca>
|
|
|
|
|
|
2018-07-20 19:24:28 +00:00
|
|
|
// Conditionally include the AVX2 notes if:
|
|
|
|
|
// - we're on nightly (so we can include docs at all)
|
|
|
|
|
// - we're in stage 2 of the build.
|
|
|
|
|
// The latter point prevents a really silly and annoying problem,
|
|
|
|
|
// where the location of ".." is different depending on whether we're
|
|
|
|
|
// building the crate for real, or whether we're in build.rs
|
|
|
|
|
// generating the lookup tables (in which case we're relative to the
|
|
|
|
|
// location of build.rs, not lib.rs, so the markdown file appears
|
|
|
|
|
// missing).
|
2018-05-14 22:41:45 +00:00
|
|
|
#![cfg_attr(
|
|
|
|
|
all(feature = "nightly", feature = "stage2_build"), doc(include = "../docs/avx2-notes.md")
|
|
|
|
|
)]
|
2017-11-27 22:06:04 +00:00
|
|
|
|
2017-10-23 21:03:23 +00:00
|
|
|
pub(crate) mod field;
|
|
|
|
|
|
|
|
|
|
pub(crate) mod edwards;
|
2017-11-30 20:39:23 +00:00
|
|
|
|
|
|
|
|
pub(crate) mod constants;
|
2018-03-26 22:01:48 +00:00
|
|
|
|