golang.org/x/crypto/ssh.streamPacketCipher.mac (field)

28 uses

	golang.org/x/crypto/ssh (current package)
		cipher.go#L88: 			mac:       mac,
		cipher.go#L139: 	mac    hash.Hash
		cipher.go#L158: 	if s.mac != nil && s.etm {
		cipher.go#L169: 	if s.mac != nil {
		cipher.go#L170: 		s.mac.Reset()
		cipher.go#L172: 		s.mac.Write(s.seqNumBytes[:])
		cipher.go#L174: 			s.mac.Write(s.prefix[:4])
		cipher.go#L175: 			s.mac.Write(encryptedPaddingLength[:])
		cipher.go#L177: 			s.mac.Write(s.prefix[:])
		cipher.go#L179: 		macSize = uint32(s.mac.Size())
		cipher.go#L204: 	if s.mac != nil && s.etm {
		cipher.go#L205: 		s.mac.Write(data)
		cipher.go#L210: 	if s.mac != nil {
		cipher.go#L212: 			s.mac.Write(data)
		cipher.go#L214: 		s.macResult = s.mac.Sum(s.macResult[:0])
		cipher.go#L230: 	if s.mac != nil && s.etm {
		cipher.go#L248: 	if s.mac != nil {
		cipher.go#L249: 		s.mac.Reset()
		cipher.go#L251: 		s.mac.Write(s.seqNumBytes[:])
		cipher.go#L259: 		s.mac.Write(s.prefix[:])
		cipher.go#L263: 			s.mac.Write(packet)
		cipher.go#L264: 			s.mac.Write(padding)
		cipher.go#L268: 	if !(s.mac != nil && s.etm) {
		cipher.go#L277: 	if s.mac != nil && s.etm {
		cipher.go#L279: 		s.mac.Write(packet)
		cipher.go#L280: 		s.mac.Write(padding)
		cipher.go#L293: 	if s.mac != nil {
		cipher.go#L294: 		s.macResult = s.mac.Sum(s.macResult[:0])