2017-11-17 00:07:55 +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-11-17 00:07:55 +00:00
|
|
|
// See LICENSE for licensing information.
|
|
|
|
|
//
|
|
|
|
|
// Authors:
|
|
|
|
|
// - Isis Agora Lovecruft <isis@patternsinthevoid.net>
|
|
|
|
|
// - Henry de Valence <hdevalence@hdevalence.ca>
|
|
|
|
|
|
2017-12-01 19:46:36 +00:00
|
|
|
//! The `u32` backend uses `u32`s and a `(u32, u32) -> u64` multiplier.
|
2017-12-04 01:17:17 +00:00
|
|
|
//!
|
2017-12-01 19:46:36 +00:00
|
|
|
//! This code is intended to be portable, but it requires that
|
|
|
|
|
//! multiplication of two \\(32\\)-bit values to a \\(64\\)-bit result
|
|
|
|
|
//! is constant-time on the target platform.
|
|
|
|
|
|
2017-11-17 00:07:55 +00:00
|
|
|
pub mod field;
|
|
|
|
|
|
|
|
|
|
pub mod scalar;
|
|
|
|
|
|
2017-12-01 19:46:36 +00:00
|
|
|
pub mod constants;
|