func crypto/subtle.ConstantTimeByteEq
14 uses
crypto/subtle (current package)
constant_time.go#L23: return ConstantTimeByteEq(v, 0)
constant_time.go#L31: func ConstantTimeByteEq(x, y uint8) int {
crypto/rsa
pkcs1v15.go#L153: firstByteIsZero := subtle.ConstantTimeByteEq(em[0], 0)
pkcs1v15.go#L154: secondByteIsTwo := subtle.ConstantTimeByteEq(em[1], 2)
pkcs1v15.go#L163: equals0 := subtle.ConstantTimeByteEq(em[i], 0)
pkcs1v15.go#L290: ok := subtle.ConstantTimeByteEq(em[0], 0)
pkcs1v15.go#L291: ok &= subtle.ConstantTimeByteEq(em[1], 1)
pkcs1v15.go#L294: ok &= subtle.ConstantTimeByteEq(em[k-tLen-1], 0)
pkcs1v15.go#L297: ok &= subtle.ConstantTimeByteEq(em[i], 0xff)
rsa.go#L621: firstByteIsZero := subtle.ConstantTimeByteEq(em[0], 0)
rsa.go#L647: equals0 := subtle.ConstantTimeByteEq(rest[i], 0)
rsa.go#L648: equals1 := subtle.ConstantTimeByteEq(rest[i], 1)
golang.org/x/crypto/openpgp/elgamal
elgamal.go#L86: firstByteIsTwo := subtle.ConstantTimeByteEq(em[0], 2)
elgamal.go#L96: equals0 := subtle.ConstantTimeByteEq(em[i], 0)
 |
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. |