crypto/tls.halfConn.seq (field)
15 uses
crypto/tls (current package)
conn.go#L162: seq [8]byte // 64-bit sequence number
conn.go#L208: for i := range hc.seq {
conn.go#L209: hc.seq[i] = 0
conn.go#L218: for i := range hc.seq {
conn.go#L219: hc.seq[i] = 0
conn.go#L226: hc.seq[i]++
conn.go#L227: if hc.seq[i] != 0 {
conn.go#L350: nonce = hc.seq[:]
conn.go#L358: additionalData = append(hc.scratchBuf[:0], hc.seq[:]...)
conn.go#L427: localMAC := tls10MAC(hc.mac, hc.scratchBuf[:0], hc.seq[:], record[:recordHeaderLen], payload[:n], payload[n+macSize:])
conn.go#L482: copy(explicitNonce, hc.seq[:])
conn.go#L493: mac := tls10MAC(hc.mac, hc.scratchBuf[:0], hc.seq[:], record[:recordHeaderLen], payload, nil)
conn.go#L500: nonce = hc.seq[:]
conn.go#L517: additionalData := append(hc.scratchBuf[:0], hc.seq[:]...)
conn.go#L522: mac := tls10MAC(hc.mac, hc.scratchBuf[:0], hc.seq[:], record[:recordHeaderLen], payload, nil)
 |
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. |