Struct snarkvm_algorithms::msm::fixed_base::FixedBaseMSM
source · [−]pub struct FixedBaseMSM;
Implementations
sourceimpl FixedBaseMSM
impl FixedBaseMSM
pub fn get_mul_window_size(num_scalars: usize) -> usize
pub fn get_window_table<T: ProjectiveCurve>(
scalar_size: usize,
window: usize,
g: T
) -> Vec<Vec<T>>
pub fn windowed_mul<T: ProjectiveCurve>(
outerc: usize,
window: usize,
multiples_of_g: &[Vec<T>],
scalar: &T::ScalarField
) -> T
pub fn multi_scalar_mul<T: ProjectiveCurve>(
scalar_size: usize,
window: usize,
table: &[Vec<T>],
v: &[T::ScalarField]
) -> Vec<T>
Auto Trait Implementations
impl RefUnwindSafe for FixedBaseMSM
impl Send for FixedBaseMSM
impl Sync for FixedBaseMSM
impl Unpin for FixedBaseMSM
impl UnwindSafe for FixedBaseMSM
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more