- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for encodeSignature (0.31 sec)
-
src/crypto/ecdsa/ecdsa.go
// Again, the chance of this happening is cryptographically negligible. if s.IsZero() == 1 { return nil, errors.New("ecdsa: internal error: s is zero") } return encodeSignature(r.Bytes(c.N), s.Bytes(c.N)) } func encodeSignature(r, s []byte) ([]byte, error) { var b cryptobyte.Builder b.AddASN1(asn1.SEQUENCE, func(b *cryptobyte.Builder) { addASN1IntBytes(b, r) addASN1IntBytes(b, s) })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:11:18 UTC 2024 - 20.4K bytes - Viewed (0)