const crypto/sha256.Size
13 uses
crypto/sha256 (current package)
sha256.go#L23: const Size = 32
sha256.go#L167: return Size
sha256.go#L209: func (d *digest) checkSum() [Size]byte {
sha256.go#L231: var digest [Size]byte
sha256.go#L248: func Sum256(data []byte) [Size]byte {
crypto/tls
ticket.go#L325: encrypted := make([]byte, aes.BlockSize+len(state)+sha256.Size)
ticket.go#L327: ciphertext := encrypted[aes.BlockSize : len(encrypted)-sha256.Size]
ticket.go#L328: authenticated := encrypted[:len(encrypted)-sha256.Size]
ticket.go#L329: macBytes := encrypted[len(encrypted)-sha256.Size:]
ticket.go#L366: if len(encrypted) < aes.BlockSize+sha256.Size {
ticket.go#L371: ciphertext := encrypted[aes.BlockSize : len(encrypted)-sha256.Size]
ticket.go#L372: authenticated := encrypted[:len(encrypted)-sha256.Size]
ticket.go#L373: macBytes := encrypted[len(encrypted)-sha256.Size:]
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux 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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |