@@ -7,7 +7,7 @@ pub struct CUstream_st {
77}
88pub type cudaStream_t = * mut CUstream_st ;
99#[ repr( C ) ]
10- #[ derive( Debug , Default , Copy , Clone ) ]
10+ #[ derive( Debug , Default , Copy , Clone , PartialEq , Eq ) ]
1111pub struct Fp {
1212 pub limb : [ u64 ; 7usize ] ,
1313}
@@ -18,7 +18,7 @@ const _: () = {
1818 [ "Offset of field: Fp::limb" ] [ :: std:: mem:: offset_of!( Fp , limb) - 0usize ] ;
1919} ;
2020#[ repr( C ) ]
21- #[ derive( Debug , Default , Copy , Clone ) ]
21+ #[ derive( Debug , Default , Copy , Clone , PartialEq , Eq ) ]
2222pub struct Fp2 {
2323 pub c0 : Fp ,
2424 pub c1 : Fp ,
@@ -31,7 +31,7 @@ const _: () = {
3131 [ "Offset of field: Fp2::c1" ] [ :: std:: mem:: offset_of!( Fp2 , c1) - 56usize ] ;
3232} ;
3333#[ repr( C ) ]
34- #[ derive( Debug , Default , Copy , Clone ) ]
34+ #[ derive( Debug , Default , Copy , Clone , PartialEq , Eq ) ]
3535pub struct BigInt {
3636 pub limb : [ u64 ; 5usize ] ,
3737}
@@ -43,7 +43,7 @@ const _: () = {
4343} ;
4444pub type Scalar = BigInt ;
4545#[ repr( C ) ]
46- #[ derive( Debug , Default , Copy , Clone ) ]
46+ #[ derive( Debug , Default , Copy , Clone , PartialEq , Eq ) ]
4747pub struct G1Point {
4848 pub x : Fp ,
4949 pub y : Fp ,
@@ -58,7 +58,7 @@ const _: () = {
5858 [ "Offset of field: G1Point::infinity" ] [ :: std:: mem:: offset_of!( G1Point , infinity) - 112usize ] ;
5959} ;
6060#[ repr( C ) ]
61- #[ derive( Debug , Default , Copy , Clone ) ]
61+ #[ derive( Debug , Default , Copy , Clone , PartialEq , Eq ) ]
6262pub struct G2Point {
6363 pub x : Fp2 ,
6464 pub y : Fp2 ,
@@ -73,7 +73,7 @@ const _: () = {
7373 [ "Offset of field: G2Point::infinity" ] [ :: std:: mem:: offset_of!( G2Point , infinity) - 224usize ] ;
7474} ;
7575#[ repr( C ) ]
76- #[ derive( Debug , Default , Copy , Clone ) ]
76+ #[ derive( Debug , Default , Copy , Clone , PartialEq , Eq ) ]
7777pub struct G1ProjectivePoint {
7878 pub X : Fp ,
7979 pub Y : Fp ,
@@ -91,7 +91,7 @@ const _: () = {
9191 [ :: std:: mem:: offset_of!( G1ProjectivePoint , Z ) - 112usize ] ;
9292} ;
9393#[ repr( C ) ]
94- #[ derive( Debug , Default , Copy , Clone ) ]
94+ #[ derive( Debug , Default , Copy , Clone , PartialEq , Eq ) ]
9595pub struct G2ProjectivePoint {
9696 pub X : Fp2 ,
9797 pub Y : Fp2 ,
0 commit comments