func math/bits.RotateLeft32
95 uses
math/bits (current package)
bits.go#L178: return uint(RotateLeft32(uint32(x), k))
bits.go#L207: func RotateLeft32(x uint32, k int) uint32 {
crypto/md5
md5block.go#L45: a = b + bits.RotateLeft32((((c^d)&b)^d)+a+x0+0xd76aa478, 7)
md5block.go#L46: d = a + bits.RotateLeft32((((b^c)&a)^c)+d+x1+0xe8c7b756, 12)
md5block.go#L47: c = d + bits.RotateLeft32((((a^b)&d)^b)+c+x2+0x242070db, 17)
md5block.go#L48: b = c + bits.RotateLeft32((((d^a)&c)^a)+b+x3+0xc1bdceee, 22)
md5block.go#L49: a = b + bits.RotateLeft32((((c^d)&b)^d)+a+x4+0xf57c0faf, 7)
md5block.go#L50: d = a + bits.RotateLeft32((((b^c)&a)^c)+d+x5+0x4787c62a, 12)
md5block.go#L51: c = d + bits.RotateLeft32((((a^b)&d)^b)+c+x6+0xa8304613, 17)
md5block.go#L52: b = c + bits.RotateLeft32((((d^a)&c)^a)+b+x7+0xfd469501, 22)
md5block.go#L53: a = b + bits.RotateLeft32((((c^d)&b)^d)+a+x8+0x698098d8, 7)
md5block.go#L54: d = a + bits.RotateLeft32((((b^c)&a)^c)+d+x9+0x8b44f7af, 12)
md5block.go#L55: c = d + bits.RotateLeft32((((a^b)&d)^b)+c+xa+0xffff5bb1, 17)
md5block.go#L56: b = c + bits.RotateLeft32((((d^a)&c)^a)+b+xb+0x895cd7be, 22)
md5block.go#L57: a = b + bits.RotateLeft32((((c^d)&b)^d)+a+xc+0x6b901122, 7)
md5block.go#L58: d = a + bits.RotateLeft32((((b^c)&a)^c)+d+xd+0xfd987193, 12)
md5block.go#L59: c = d + bits.RotateLeft32((((a^b)&d)^b)+c+xe+0xa679438e, 17)
md5block.go#L60: b = c + bits.RotateLeft32((((d^a)&c)^a)+b+xf+0x49b40821, 22)
md5block.go#L63: a = b + bits.RotateLeft32((((b^c)&d)^c)+a+x1+0xf61e2562, 5)
md5block.go#L64: d = a + bits.RotateLeft32((((a^b)&c)^b)+d+x6+0xc040b340, 9)
md5block.go#L65: c = d + bits.RotateLeft32((((d^a)&b)^a)+c+xb+0x265e5a51, 14)
md5block.go#L66: b = c + bits.RotateLeft32((((c^d)&a)^d)+b+x0+0xe9b6c7aa, 20)
md5block.go#L67: a = b + bits.RotateLeft32((((b^c)&d)^c)+a+x5+0xd62f105d, 5)
md5block.go#L68: d = a + bits.RotateLeft32((((a^b)&c)^b)+d+xa+0x02441453, 9)
md5block.go#L69: c = d + bits.RotateLeft32((((d^a)&b)^a)+c+xf+0xd8a1e681, 14)
md5block.go#L70: b = c + bits.RotateLeft32((((c^d)&a)^d)+b+x4+0xe7d3fbc8, 20)
md5block.go#L71: a = b + bits.RotateLeft32((((b^c)&d)^c)+a+x9+0x21e1cde6, 5)
md5block.go#L72: d = a + bits.RotateLeft32((((a^b)&c)^b)+d+xe+0xc33707d6, 9)
md5block.go#L73: c = d + bits.RotateLeft32((((d^a)&b)^a)+c+x3+0xf4d50d87, 14)
md5block.go#L74: b = c + bits.RotateLeft32((((c^d)&a)^d)+b+x8+0x455a14ed, 20)
md5block.go#L75: a = b + bits.RotateLeft32((((b^c)&d)^c)+a+xd+0xa9e3e905, 5)
md5block.go#L76: d = a + bits.RotateLeft32((((a^b)&c)^b)+d+x2+0xfcefa3f8, 9)
md5block.go#L77: c = d + bits.RotateLeft32((((d^a)&b)^a)+c+x7+0x676f02d9, 14)
md5block.go#L78: b = c + bits.RotateLeft32((((c^d)&a)^d)+b+xc+0x8d2a4c8a, 20)
md5block.go#L81: a = b + bits.RotateLeft32((b^c^d)+a+x5+0xfffa3942, 4)
md5block.go#L82: d = a + bits.RotateLeft32((a^b^c)+d+x8+0x8771f681, 11)
md5block.go#L83: c = d + bits.RotateLeft32((d^a^b)+c+xb+0x6d9d6122, 16)
md5block.go#L84: b = c + bits.RotateLeft32((c^d^a)+b+xe+0xfde5380c, 23)
md5block.go#L85: a = b + bits.RotateLeft32((b^c^d)+a+x1+0xa4beea44, 4)
md5block.go#L86: d = a + bits.RotateLeft32((a^b^c)+d+x4+0x4bdecfa9, 11)
md5block.go#L87: c = d + bits.RotateLeft32((d^a^b)+c+x7+0xf6bb4b60, 16)
md5block.go#L88: b = c + bits.RotateLeft32((c^d^a)+b+xa+0xbebfbc70, 23)
md5block.go#L89: a = b + bits.RotateLeft32((b^c^d)+a+xd+0x289b7ec6, 4)
md5block.go#L90: d = a + bits.RotateLeft32((a^b^c)+d+x0+0xeaa127fa, 11)
md5block.go#L91: c = d + bits.RotateLeft32((d^a^b)+c+x3+0xd4ef3085, 16)
md5block.go#L92: b = c + bits.RotateLeft32((c^d^a)+b+x6+0x04881d05, 23)
md5block.go#L93: a = b + bits.RotateLeft32((b^c^d)+a+x9+0xd9d4d039, 4)
md5block.go#L94: d = a + bits.RotateLeft32((a^b^c)+d+xc+0xe6db99e5, 11)
md5block.go#L95: c = d + bits.RotateLeft32((d^a^b)+c+xf+0x1fa27cf8, 16)
md5block.go#L96: b = c + bits.RotateLeft32((c^d^a)+b+x2+0xc4ac5665, 23)
md5block.go#L99: a = b + bits.RotateLeft32((c^(b|^d))+a+x0+0xf4292244, 6)
md5block.go#L100: d = a + bits.RotateLeft32((b^(a|^c))+d+x7+0x432aff97, 10)
md5block.go#L101: c = d + bits.RotateLeft32((a^(d|^b))+c+xe+0xab9423a7, 15)
md5block.go#L102: b = c + bits.RotateLeft32((d^(c|^a))+b+x5+0xfc93a039, 21)
md5block.go#L103: a = b + bits.RotateLeft32((c^(b|^d))+a+xc+0x655b59c3, 6)
md5block.go#L104: d = a + bits.RotateLeft32((b^(a|^c))+d+x3+0x8f0ccc92, 10)
md5block.go#L105: c = d + bits.RotateLeft32((a^(d|^b))+c+xa+0xffeff47d, 15)
md5block.go#L106: b = c + bits.RotateLeft32((d^(c|^a))+b+x1+0x85845dd1, 21)
md5block.go#L107: a = b + bits.RotateLeft32((c^(b|^d))+a+x8+0x6fa87e4f, 6)
md5block.go#L108: d = a + bits.RotateLeft32((b^(a|^c))+d+xf+0xfe2ce6e0, 10)
md5block.go#L109: c = d + bits.RotateLeft32((a^(d|^b))+c+x6+0xa3014314, 15)
md5block.go#L110: b = c + bits.RotateLeft32((d^(c|^a))+b+xd+0x4e0811a1, 21)
md5block.go#L111: a = b + bits.RotateLeft32((c^(b|^d))+a+x4+0xf7537e82, 6)
md5block.go#L112: d = a + bits.RotateLeft32((b^(a|^c))+d+xb+0xbd3af235, 10)
md5block.go#L113: c = d + bits.RotateLeft32((a^(d|^b))+c+x2+0x2ad7d2bb, 15)
md5block.go#L114: b = c + bits.RotateLeft32((d^(c|^a))+b+x9+0xeb86d391, 21)
crypto/sha1
sha1block.go#L40: t := bits.RotateLeft32(a, 5) + f + e + w[i&0xf] + _K0
sha1block.go#L41: a, b, c, d, e = t, a, bits.RotateLeft32(b, 30), c, d
sha1block.go#L45: w[i&0xf] = bits.RotateLeft32(tmp, 1)
sha1block.go#L48: t := bits.RotateLeft32(a, 5) + f + e + w[i&0xf] + _K0
sha1block.go#L49: a, b, c, d, e = t, a, bits.RotateLeft32(b, 30), c, d
sha1block.go#L53: w[i&0xf] = bits.RotateLeft32(tmp, 1)
sha1block.go#L55: t := bits.RotateLeft32(a, 5) + f + e + w[i&0xf] + _K1
sha1block.go#L56: a, b, c, d, e = t, a, bits.RotateLeft32(b, 30), c, d
sha1block.go#L60: w[i&0xf] = bits.RotateLeft32(tmp, 1)
sha1block.go#L62: t := bits.RotateLeft32(a, 5) + f + e + w[i&0xf] + _K2
sha1block.go#L63: a, b, c, d, e = t, a, bits.RotateLeft32(b, 30), c, d
sha1block.go#L67: w[i&0xf] = bits.RotateLeft32(tmp, 1)
sha1block.go#L69: t := bits.RotateLeft32(a, 5) + f + e + w[i&0xf] + _K3
sha1block.go#L70: a, b, c, d, e = t, a, bits.RotateLeft32(b, 30), c, d
crypto/sha256
sha256block.go#L92: t1 := (bits.RotateLeft32(v1, -17)) ^ (bits.RotateLeft32(v1, -19)) ^ (v1 >> 10)
sha256block.go#L94: t2 := (bits.RotateLeft32(v2, -7)) ^ (bits.RotateLeft32(v2, -18)) ^ (v2 >> 3)
sha256block.go#L101: t1 := h + ((bits.RotateLeft32(e, -6)) ^ (bits.RotateLeft32(e, -11)) ^ (bits.RotateLeft32(e, -25))) + ((e & f) ^ (^e & g)) + _K[i] + w[i]
sha256block.go#L103: t2 := ((bits.RotateLeft32(a, -2)) ^ (bits.RotateLeft32(a, -13)) ^ (bits.RotateLeft32(a, -22))) + ((a & b) ^ (a & c) ^ (b & c))
nhooyr.io/websocket
frame.go#L292: key = bits.RotateLeft32(key, -8)
vendor/golang.org/x/crypto/chacha20
chacha_generic.go#L131: d = bits.RotateLeft32(d, 16)
chacha_generic.go#L134: b = bits.RotateLeft32(b, 12)
chacha_generic.go#L137: d = bits.RotateLeft32(d, 8)
chacha_generic.go#L140: b = bits.RotateLeft32(b, 7)
|
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. |