MCPcopy
hub / github.com/tjfoc/gmsm / sm2P256Dup

Function sm2P256Dup

sm2/p256.go:1013–1015  ·  view source on GitHub ↗

b = a

(b, a *sm2P256FieldElement)

Source from the content-addressed store, hash-verified

1011
1012// b = a
1013func sm2P256Dup(b, a *sm2P256FieldElement) {
1014 *b = *a
1015}
1016
1017// X = a * R mod P
1018func sm2P256FromBig(X *sm2P256FieldElement, a *big.Int) {

Callers 3

sm2P256PointAddFunction · 0.85
sm2P256PointSubFunction · 0.85
sm2P256PointDoubleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…