math/big.Int.SetBytes (method)
33 uses
math/big (current package)
int.go#L443: func (z *Int) SetBytes(buf []byte) *Int {
crypto/dsa
dsa.go#L106: q.SetBytes(qBytes)
dsa.go#L120: p.SetBytes(pBytes)
dsa.go#L172: x.SetBytes(xBytes)
dsa.go#L226: k.SetBytes(buf)
dsa.go#L245: z := k.SetBytes(hash)
dsa.go#L296: z := new(big.Int).SetBytes(hash)
crypto/ecdsa
ecdsa.go#L141: k = new(big.Int).SetBytes(b)
ecdsa.go#L175: ret := new(big.Int).SetBytes(hash)
crypto/elliptic
elliptic.go#L304: if new(big.Int).SetBytes(priv).Cmp(N) >= 0 {
elliptic.go#L349: x = new(big.Int).SetBytes(data[1 : 1+byteLen])
elliptic.go#L350: y = new(big.Int).SetBytes(data[1+byteLen:])
elliptic.go#L372: x = new(big.Int).SetBytes(data[1:])
p224.go#L777: return new(big.Int).SetBytes(buf[:])
p256_asm.go#L197: return new(big.Int).SetBytes(xOut)
p256_asm.go#L215: n := new(big.Int).SetBytes(in)
p256_asm.go#L331: return new(big.Int).SetBytes(xOut), new(big.Int).SetBytes(yOut)
crypto/rand
util.go#L71: p.SetBytes(bytes)
util.go#L138: n.SetBytes(bytes)
crypto/rsa
pkcs1v15.go#L61: m := new(big.Int).SetBytes(em)
pkcs1v15.go#L146: c := new(big.Int).SetBytes(ciphertext)
pkcs1v15.go#L252: m := new(big.Int).SetBytes(em)
pkcs1v15.go#L285: c := new(big.Int).SetBytes(sig)
pss.go#L216: m := new(big.Int).SetBytes(em)
pss.go#L294: s := new(big.Int).SetBytes(sig)
rsa.go#L441: m.SetBytes(em)
rsa.go#L606: c := new(big.Int).SetBytes(ciphertext)
crypto/x509
sec1.go#L93: k := new(big.Int).SetBytes(privKey.PrivateKey)
encoding/asn1
asn1.go#L145: ret.SetBytes(notBytes)
asn1.go#L150: ret.SetBytes(bytes)
vendor/golang.org/x/crypto/cryptobyte
asn1.go#L314: out.SetBytes(neg)
asn1.go#L318: out.SetBytes(bytes)
The pages are generated with Golds v0.2.8-preview. (GOOS=darwin GOARCH=arm64)