aienux
Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.
Brought by drakestapleton
aienux / vendor / curve25519-dalek / src / backend / serial / fiat_u32 / mod.rs
| 1 | // -*- mode: rust; -*- |
| 2 | // |
| 3 | // This file is part of curve25519-dalek. |
| 4 | // Copyright (c) 2016-2018 Isis Lovecruft, Henry de Valence |
| 5 | // See LICENSE for licensing information. |
| 6 | // |
| 7 | // Authors: |
| 8 | // - Isis Agora Lovecruft <isis@patternsinthevoid.net> |
| 9 | // - Henry de Valence <hdevalence@hdevalence.ca> |
| 10 | |
| 11 | //! The `u32` backend uses `u32`s and a `(u32, u32) -> u64` multiplier. |
| 12 | //! |
| 13 | //! This code is intended to be portable, but it requires that |
| 14 | //! multiplication of two \\(32\\)-bit values to a \\(64\\)-bit result |
| 15 | //! is constant-time on the target platform. |
| 16 | //! |
| 17 | //! This uses the formally-verified field arithmetic generated by the |
| 18 | //! [fiat-crypto project](https://github.com/mit-plv/fiat-crypto) |
| 19 | |
| 20 | #[path = "../u32/scalar.rs"] |
| 21 | pub mod scalar; |
| 22 | |
| 23 | pub mod field; |
| 24 | |
| 25 | #[path = "../u32/constants.rs"] |
| 26 | pub mod constants; |