From 2a1aaa72e88248f83d06afd064cac0dfc093857f Mon Sep 17 00:00:00 2001 From: bunnie Date: Fri, 21 Aug 2020 02:31:37 +0800 Subject: [PATCH] leave a breadcrumb for the next work to do --- src/montgomery.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/montgomery.rs b/src/montgomery.rs index 1e10ec4..953628c 100644 --- a/src/montgomery.rs +++ b/src/montgomery.rs @@ -617,6 +617,9 @@ impl<'a, 'b> Mul<&'b Scalar> for &'a MontgomeryPoint { x0.U = FieldElement::from_bytes(©_from_rf(25)); x0.W = FieldElement::from_bytes(©_from_rf(26)); + // TODO: optimize this relatively innocuous looking call. + // this consumes about 100ms runtime -- need to implement this using + // curve25519 acceleration! x0.to_affine() } /*