mirror of
https://github.com/saymrwulf/risc0-curve25519-dalek-source.git
synced 2026-09-07 20:30:39 +00:00
we won't remove this function
This commit is contained in:
parent
bc731f9d79
commit
5bb6cd42a2
1 changed files with 0 additions and 2 deletions
|
|
@ -583,8 +583,6 @@ impl VartimeMultiscalarMul for EdwardsPoint {
|
||||||
|
|
||||||
impl EdwardsPoint {
|
impl EdwardsPoint {
|
||||||
/// Compute \\(aA + bB\\) in variable time, where \\(B\\) is the Ed25519 basepoint.
|
/// 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")]
|
#[cfg(feature = "stage2_build")]
|
||||||
pub fn vartime_double_scalar_mul_basepoint(a: &Scalar, A: &EdwardsPoint, b: &Scalar) -> EdwardsPoint {
|
pub fn vartime_double_scalar_mul_basepoint(a: &Scalar, A: &EdwardsPoint, b: &Scalar) -> EdwardsPoint {
|
||||||
// If we built with AVX2, use the AVX2 backend.
|
// If we built with AVX2, use the AVX2 backend.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue