mirror of
https://github.com/emmansun/gmsm.git
synced 2025-04-27 04:36:19 +08:00
Update select_generic.go
This commit is contained in:
parent
4755d5aa2a
commit
ebe5aca2d8
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user