Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/XTLS/Go
/ rand
Method
rand
common.go:946–952 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
944
}
945
946
func
(c *Config) rand() io.Reader {
947
r := c.Rand
948
if
r == nil {
949
return
rand.Reader
950
}
951
return
r
952
}
953
954
func
(c *Config) time() time.Time {
955
t := c.Time
Callers
15
initLegacySessionTicketKeyRLocked
Method · 0.95
ticketKeys
Method · 0.95
processClientKeyExchange
Method · 0.80
generateClientKeyExchange
Method · 0.80
generateServerKeyExchange
Method · 0.80
processServerKeyExchange
Method · 0.80
writeRecordLocked
Method · 0.80
makeClientHello
Method · 0.80
doFullHandshake
Method · 0.80
processHelloRetryRequest
Method · 0.80
sendClientCertificate
Method · 0.80
processClientHello
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected