mirror of
https://github.com/arnaucube/Nova.git
synced 2026-01-12 00:51:28 +01:00
Optimizations (#100)
* avoid creating commitments to zero vectors * reduce the number of constraints in each iteration from 4 to 3
This commit is contained in:
@@ -64,6 +64,12 @@ pub trait Group:
|
||||
|
||||
/// Returns the order of the group as a big integer
|
||||
fn get_order() -> BigInt;
|
||||
|
||||
/// Returns an element that is the additive identity of the group
|
||||
fn zero() -> Self;
|
||||
|
||||
/// Returns the generator of the group
|
||||
fn get_generator() -> Self;
|
||||
}
|
||||
|
||||
/// Represents a compressed version of a group element
|
||||
|
||||
Reference in New Issue
Block a user