Suite implements the pairing.Suite interface for the BN256 bilinear pairing.
| 15 | |
| 16 | // Suite implements the pairing.Suite interface for the BN256 bilinear pairing. |
| 17 | type Suite struct { |
| 18 | *commonSuite |
| 19 | g1 *groupG1 |
| 20 | g2 *groupG2 |
| 21 | gt *groupGT |
| 22 | } |
| 23 | |
| 24 | // NewSuite generates and returns a new BN256 pairing suite. |
| 25 | func NewSuite() *Suite { |
nothing calls this directly
no outgoing calls
no test coverage detected