crypto/elliptic.CurveParams.BitSize (field)
16 uses
crypto/elliptic (current package)
elliptic.go#L50: BitSize int // the size of the underlying field
elliptic.go#L316: byteLen := (curve.Params().BitSize + 7) / 8
elliptic.go#L330: byteLen := (curve.Params().BitSize + 7) / 8
elliptic.go#L341: byteLen := (curve.Params().BitSize + 7) / 8
elliptic.go#L364: byteLen := (curve.Params().BitSize + 7) / 8
elliptic.go#L410: p384.BitSize = 384
elliptic.go#L421: p521.BitSize = 521
p224.go#L31: p224.BitSize = 224
p256_asm.go#L46: p256.BitSize = 256
crypto/ecdsa
ecdsa.go#L135: b := make([]byte, params.BitSize/8+8)
ecdsa.go#L204: entropylen := (priv.Curve.Params().BitSize + 7) / 16
crypto/tls
key_schedule.go#L176: sharedKey := make([]byte, (curve.Params().BitSize+7)/8)
golang.org/x/crypto/openpgp/packet
public_key.go#L251: fieldBytes := (pub.Curve.Params().BitSize + 7) & ^7
golang.org/x/crypto/ssh
keys.go#L538: switch k.Params().BitSize {
keys.go#L609: bitSize := curve.Params().BitSize
golang.org/x/crypto/ssh/agent
client.go#L561: nistID := fmt.Sprintf("nistp%d", k.Params().BitSize)
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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. |