1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use crate::{decaf::DecafPoint, Scalar};

#[cfg(feature = "u32_backend")]
pub(crate) use crate::field::u32::constants::*;

#[cfg(feature = "fiat_u64_backend")]
pub(crate) use crate::field::fiat_u64::constants::*;

pub(crate) const DECAF_BASEPOINT: DecafPoint = DecafPoint(TWISTED_EDWARDS_BASE_POINT);

/// `BASEPOINT_ORDER` is the order of the Ed448 basepoint, i.e.,
/// $$
/// \ell = 2^\{446\} + 0x8335dc163bb124b65129c96fde933d8d723a70aadc873d6d54a7bb0d.
/// $$
pub(crate) const BASEPOINT_ORDER: Scalar = Scalar([
    0xab5844f3, 0x2378c292, 0x8dc58f55, 0x216cc272, 0xaed63690, 0xc44edb49, 0x7cca23e9, 0xffffffff,
    0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0x3fffffff,
]);