curve25519-dalek-source/src/backend/vector/avx2/mod.rs

30 lines
968 B
Rust
Raw Normal View History

2017-10-23 21:03:23 +00:00
// -*- mode: rust; -*-
//
// This file is part of curve25519-dalek.
// 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>
// 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).
#![cfg_attr(
2018-12-01 19:07:08 +00:00
all(feature = "nightly", feature = "stage2_build"),
2019-08-06 19:22:59 +00:00
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;
pub(crate) mod constants;