Skip to content

Commit 66f8b32

Browse files
committed
Review comments
1 parent adbf6e5 commit 66f8b32

File tree

1 file changed

+2
-0
lines changed
  • curve25519-dalek/src/backend

1 file changed

+2
-0
lines changed

curve25519-dalek/src/backend/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ impl VartimePrecomputedStraus {
128128
}
129129
}
130130

131+
/// Return the number of static points in the precomputation.
131132
pub fn len(&self) -> usize {
132133
use crate::traits::VartimePrecomputedMultiscalarMul;
133134

@@ -140,6 +141,7 @@ impl VartimePrecomputedStraus {
140141
}
141142
}
142143

144+
/// Determine if the precomputation is empty.
143145
pub fn is_empty(&self) -> bool {
144146
use crate::traits::VartimePrecomputedMultiscalarMul;
145147

0 commit comments

Comments
 (0)