MCPcopy Create free account
hub / github.com/XTLS/Go / prfForVersion

Function prfForVersion

prf.go:101–104  ·  view source on GitHub ↗
(version uint16, suite *cipherSuite)

Source from the content-addressed store, hash-verified

99}
100
101func prfForVersion(version uint16, suite *cipherSuite) func(result, secret, label, seed []byte) {
102 prf, _ := prfAndHashForVersion(version, suite)
103 return prf
104}
105
106// masterFromPreMasterSecret generates the master secret from the pre-master
107// secret. See RFC 5246, Section 8.1.

Callers 3

keysFromMasterSecretFunction · 0.85
ekmFromMasterSecretFunction · 0.85

Calls 1

prfAndHashForVersionFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…