Update select_generic.go

This commit is contained in:
Sun Yimin 2023-07-06 17:56:10 +08:00 committed by GitHub
parent 4755d5aa2a
commit ebe5aca2d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,6 +34,15 @@ func gfp4Copy(res, in *gfP4) {
gfpCopy(&res.y.y, &in.y.y) gfpCopy(&res.y.y, &in.y.y)
} }
func gfp6Copy(res, in *gfP6) {
gfpCopy(&res.x.x, &in.x.x)
gfpCopy(&res.x.y, &in.x.y)
gfpCopy(&res.y.x, &in.y.x)
gfpCopy(&res.y.y, &in.y.y)
gfpCopy(&res.z.x, &in.z.x)
gfpCopy(&res.z.y, &in.z.y)
}
func gfp12Copy(res, in *gfP12) { func gfp12Copy(res, in *gfP12) {
gfpCopy(&res.x.x.x, &in.x.x.x) gfpCopy(&res.x.x.x, &in.x.x.x)
gfpCopy(&res.x.x.y, &in.x.x.y) gfpCopy(&res.x.x.y, &in.x.x.y)