const crypto/sha256.Size
16 uses
crypto/sha256 (current package)
sha256.go#L23: const Size = 32
sha256.go#L172: return Size
sha256.go#L214: func (d *digest) checkSum() [Size]byte {
sha256.go#L236: var digest [Size]byte
sha256.go#L253: func Sum256(data []byte) [Size]byte {
crypto/tls
ticket.go#L324: encrypted := make([]byte, aes.BlockSize+len(state)+sha256.Size)
ticket.go#L326: ciphertext := encrypted[aes.BlockSize : len(encrypted)-sha256.Size]
ticket.go#L327: authenticated := encrypted[:len(encrypted)-sha256.Size]
ticket.go#L328: macBytes := encrypted[len(encrypted)-sha256.Size:]
ticket.go#L365: if len(encrypted) < aes.BlockSize+sha256.Size {
ticket.go#L370: ciphertext := encrypted[aes.BlockSize : len(encrypted)-sha256.Size]
ticket.go#L371: authenticated := encrypted[:len(encrypted)-sha256.Size]
ticket.go#L372: macBytes := encrypted[len(encrypted)-sha256.Size:]
github.com/gotd/td/internal/crypto
rsa_pad.go#L29: dataWithHashLength = dataWithPaddingLength + sha256.Size
github.com/gotd/td/internal/crypto/srp
srp.go#L48: func xor32(a, b [sha256.Size]byte) (res [sha256.Size]byte) {
The pages are generated with Golds v0.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |