crypto/internal/edwards25519.Scalar.SetBytesWithClamping (method)
3 uses
crypto/internal/edwards25519 (current package)
scalar.go#L204: func (s *Scalar) SetBytesWithClamping(x []byte) (*Scalar, error) {
crypto/ed25519
ed25519.go#L172: s, err := edwards25519.NewScalar().SetBytesWithClamping(h[:32])
ed25519.go#L214: s, err := edwards25519.NewScalar().SetBytesWithClamping(h[:32])
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |