golang.org/x/crypto/ssh.gcmCipher.prefix (field)
7 uses
golang.org/x/crypto/ssh (current package)
cipher.go#L305: prefix [4]byte
cipher.go#L338: binary.BigEndian.PutUint32(c.prefix[:], length)
cipher.go#L339: if _, err := w.Write(c.prefix[:]); err != nil {
cipher.go#L354: c.buf = c.aead.Seal(c.buf[:0], c.iv, c.buf, c.prefix[:])
cipher.go#L373: if _, err := io.ReadFull(r, c.prefix[:]); err != nil {
cipher.go#L376: length := binary.BigEndian.Uint32(c.prefix[:])
cipher.go#L391: plain, err := c.aead.Open(c.buf[:0], c.iv, c.buf, c.prefix[:])
 |
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. |