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)