golang.org/x/crypto/ssh.cbcCipher.mac (field)
14 uses
golang.org/x/crypto/ssh (current package)
cipher.go#L413: mac hash.Hash
cipher.go#L430: mac: macModes[algs.MAC].new(macKey),
cipher.go#L435: if cbc.mac != nil {
cipher.go#L436: cbc.macSize = uint32(cbc.mac.Size())
cipher.go#L564: if c.mac != nil {
cipher.go#L565: c.mac.Reset()
cipher.go#L567: c.mac.Write(c.seqNumBytes[:])
cipher.go#L568: c.mac.Write(c.packetData[:macStart])
cipher.go#L569: c.macResult = c.mac.Sum(c.macResult[:0])
cipher.go#L616: if c.mac != nil {
cipher.go#L617: c.mac.Reset()
cipher.go#L619: c.mac.Write(c.seqNumBytes[:])
cipher.go#L620: c.mac.Write(c.packetData)
cipher.go#L622: c.packetData = c.mac.Sum(c.packetData)
![]() |
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. |