Crate amcl_wrapper

Source

Re-exports§

pub extern crate amcl;

Modules§

ECCurve
commitment
constants
errors
extension_field_gt
field_elem
group_elem
group_elem_g1
group_elem_g2
types
types_g2
univar_poly
utils

Macros§

add_group_elems
check_vector_size_for_equality
impl_group_elem_byte_conversion_methods
impl_group_elem_conversions
impl_group_elem_ops
impl_group_elem_serz
impl_group_elem_traits
impl_group_elem_vec_conversions
impl_group_elem_vec_ops
pad_collection
Takes a collection of collections and pads them with the given element such that all collections are of same length. Returns the new length. Mutates the collections.
split_string_to_2_tuple
Expects the string to be a concatenation of 2 strings of equal length separated by comma and returns tuple of 2 strings
split_string_to_3_tuple
Expects the string to be a concatenation of 3 strings of equal length separated by commas and returns tuple of 3 strings
unbound_bounded_string
Checks the given string begins and ends with the given characters, i.e. “bounded” and removes the beginning and ending characters. Throws error if not “bounded”
univar_polynomial
Creates a new univariate polynomial from given coefficients from lower to higher degree terms