(version uint16, suite *cipherSuite)
| 99 | } |
| 100 | |
| 101 | func 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. |
no test coverage detected
searching dependent graphs…