we won't remove this function

This commit is contained in:
Henry de Valence 2018-07-16 22:13:40 -07:00
parent bc731f9d79
commit 5bb6cd42a2

View file

@ -583,8 +583,6 @@ impl VartimeMultiscalarMul for EdwardsPoint {
impl EdwardsPoint {
/// Compute \\(aA + bB\\) in variable time, where \\(B\\) is the Ed25519 basepoint.
///
/// XXX eliminate this function when we have the precomputation API
#[cfg(feature = "stage2_build")]
pub fn vartime_double_scalar_mul_basepoint(a: &Scalar, A: &EdwardsPoint, b: &Scalar) -> EdwardsPoint {
// If we built with AVX2, use the AVX2 backend.