MCPcopy
hub / github.com/XTLS/REALITY / rand

Method rand

common.go:1150–1156  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1148}
1149
1150func (c *Config) rand() io.Reader {
1151 r := c.Rand
1152 if r == nil {
1153 return rand.Reader
1154 }
1155 return r
1156}
1157
1158func (c *Config) time() time.Time {
1159 t := c.Time

Callers 15

ticketKeysMethod · 0.95
encryptTicketMethod · 0.95
writeRecordLockedMethod · 0.80
makeClientHelloMethod · 0.80
clientHandshakeMethod · 0.80
doFullHandshakeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected