package constanttime
Import Path
crypto/internal/constanttime (on go.dev)
Dependency Relation
imports 0 packages, and imported by 6 packages
Involved Source Files
constant_time.go
Package-Level Functions (total 4)
ByteEq returns 1 if x == y and 0 otherwise.
Eq returns 1 if x == y and 0 otherwise.
LessOrEq returns 1 if x <= y and 0 otherwise.
Its behavior is undefined if x or y are negative or > 2**31 - 1.
Select returns x if v == 1 and y if v == 0.
Its behavior is undefined if v takes any other value.
![]() |
The pages are generated with Golds v0.8.3-preview. (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. |