Zeth - Zerocash on Ethereum  0.8
Reference implementation of the Zeth protocol by Clearmatics
Classes | Namespaces | Functions
pairing.py File Reference

Go to the source code of this file.

Classes

class  zeth.core.pairing.G1Point
 
class  zeth.core.pairing.G2Point
 
class  zeth.core.pairing.PairingParameters
 

Namespaces

 zeth.core.pairing
 

Functions

G1Point zeth.core.pairing.g1_point_from_proto (ec_group_messages_pb2.Group1Point point)
 
None zeth.core.pairing.g1_point_to_proto (G1Point g1, ec_group_messages_pb2.Group1Point g1_proto)
 
List[int] zeth.core.pairing.g1_point_to_contract_parameters (G1Point g1)
 
G2Point zeth.core.pairing.g2_point_from_proto (ec_group_messages_pb2.Group2Point point)
 
None zeth.core.pairing.g2_point_to_proto (G2Point g2, ec_group_messages_pb2.Group2Point g2_proto)
 
List[int] zeth.core.pairing.g2_point_to_contract_parameters (G2Point g2)
 
PairingParameters zeth.core.pairing.pairing_parameters_from_proto (ec_group_messages_pb2.PairingParameters pairing_params_proto)
 
str zeth.core.pairing.field_element_negate (str value_hex, str mod_hex)
 
G1Point zeth.core.pairing.g1_point_negate (G1Point g1, PairingParameters pairing_parameters)
 
G2Point zeth.core.pairing.g2_point_negate (G2Point g2, PairingParameters pp)