Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aienux/blob/main/vendor/curve25519-dalek/src/backend/serial/u64/mod.rs # aienux Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aienux / vendor / curve25519-dalek / src / backend / serial / u64 / mod.rs` 27 lines ยท 894 bytes Raw Blame History 1 // -*- mode: rust; -*- 2 // 3 // This file is part of curve25519-dalek. 4 // Copyright (c) 2016-2021 isis lovecruft 5 // Copyright (c) 2016-2018 Henry de Valence 6 // See LICENSE for licensing information. 7 // 8 // Authors: 9 // - isis agora lovecruft 10 // - Henry de Valence 11 12 //! The `u64` backend uses `u64`s and a `(u64, u64) -> u128` multiplier. 13 //! 14 //! On x86_64, the idiom `(x as u128) * (y as u128)` lowers to `MUL` 15 //! instructions taking 64-bit inputs and producing 128-bit outputs. On 16 //! other platforms, this implementation is not recommended. 17 //! 18 //! On Haswell and newer, the BMI2 extension provides `MULX`, and on 19 //! Broadwell and newer, the ADX extension provides `ADCX` and `ADOX` 20 //! (allowing the CPU to compute two carry chains in parallel). These 21 //! will be used if available. 22 23 pub mod field; 24 25 pub mod scalar; 26 27 pub mod constants;