#NEWLINE# def setup( ) : #NEWLINE# #INDENT# ' Generates parameters for Commitments ' #NEWLINE# G = EcGroup ( ) #NEWLINE# g = G . hash_to_point ( b'g' ) #NEWLINE# h = G . hash_to_point ( b'h' ) #NEWLINE# o = G . order ( ) #NEWLINE# return ( G , g , h , G )