@ -1,10 +1,10 @@ |
|||||
#![allow(non_snake_case)]
|
#![allow(non_snake_case)]
|
||||
|
|
||||
use super::errors::ProofVerifyError;
|
|
||||
use super::group::{CompressedGroup, GroupElement, VartimeMultiscalarMul};
|
|
||||
use super::math::Math;
|
|
||||
use super::scalar::Scalar;
|
|
||||
use super::transcript::ProofTranscript;
|
|
||||
|
use super::super::errors::ProofVerifyError;
|
||||
|
use super::super::group::{CompressedGroup, GroupElement, VartimeMultiscalarMul};
|
||||
|
use super::super::math::Math;
|
||||
|
use super::super::scalar::Scalar;
|
||||
|
use super::super::transcript::ProofTranscript;
|
||||
use merlin::Transcript;
|
use merlin::Transcript;
|
||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||
use std::iter;
|
use std::iter;
|
@ -1,4 +1,6 @@ |
|||||
pub type Scalar = super::scalar_25519::Scalar;
|
|
||||
|
mod ristretto255;
|
||||
|
|
||||
|
pub type Scalar = ristretto255::Scalar;
|
||||
pub type ScalarBytes = curve25519_dalek::scalar::Scalar;
|
pub type ScalarBytes = curve25519_dalek::scalar::Scalar;
|
||||
|
|
||||
pub trait ScalarFromPrimitives {
|
pub trait ScalarFromPrimitives {
|