1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
// -*- mode: rust; -*-
//
// This file is part of curve25519-dalek.
// Copyright (c) 2016-2021 isis lovecruft
// Copyright (c) 2016-2019 Henry de Valence
// See LICENSE for licensing information.
//
// Authors:
// - isis agora lovecruft <isis@patternsinthevoid.net>
// - Henry de Valence <hdevalence@hdevalence.ca>
//------------------------------------------------------------------------
// Documentation:
//------------------------------------------------------------------------
//------------------------------------------------------------------------
// External dependencies:
//------------------------------------------------------------------------
extern crate alloc;
extern crate std;
pub use digest;
// Internal macros. Must come first!
pub
//------------------------------------------------------------------------
// curve25519-dalek public modules
//------------------------------------------------------------------------
// Scalar arithmetic mod l = 2^252 + ..., the order of the Ristretto group
// Point operations on the Montgomery form of Curve25519
// Point operations on the Edwards form of Curve25519
// Group operations on the Ristretto group
// Useful constants, like the Ed25519 basepoint
// External (and internal) traits.
//------------------------------------------------------------------------
// curve25519-dalek internal modules
//------------------------------------------------------------------------
// Finite field arithmetic mod p = 2^255 - 19
pub
// Arithmetic backends (using u32, u64, etc) live here
pub
// Crate-local prelude (for alloc-dependent features like `Vec`)
pub
// Generic code for window lookups
pub