crypto/tls.halfConn.mac (field)
10 uses
crypto/tls (current package)
conn.go#L161: mac hash.Hash
conn.go#L205: hc.mac = hc.nextMac
conn.go#L371: minPayload := explicitNonceLen + roundUp(hc.mac.Size()+1, blockSize)
conn.go#L416: if hc.mac != nil {
conn.go#L417: macSize := hc.mac.Size()
conn.go#L427: localMAC := tls10MAC(hc.mac, hc.scratchBuf[:0], hc.seq[:], record[:recordHeaderLen], payload[:n], payload[n+macSize:])
conn.go#L493: mac := tls10MAC(hc.mac, hc.scratchBuf[:0], hc.seq[:], record[:recordHeaderLen], payload, nil)
conn.go#L522: mac := tls10MAC(hc.mac, hc.scratchBuf[:0], hc.seq[:], record[:recordHeaderLen], payload, nil)
conn.go#L872: payloadBytes -= c.out.mac.Size()
conn.go#L882: payloadBytes -= c.out.mac.Size()
 |
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. |