serverSum returns the contents of the verify_data member of a server's Finished message.
(masterSecret []byte)
| 219 | // serverSum returns the contents of the verify_data member of a server's |
| 220 | // Finished message. |
| 221 | func (h finishedHash) serverSum(masterSecret []byte) []byte { |
| 222 | return h.prf(masterSecret, serverFinishedLabel, h.Sum(), finishedVerifyLength) |
| 223 | } |
| 224 | |
| 225 | // hashForClientCertificate returns the handshake messages so far, pre-hashed if |
| 226 | // necessary, suitable for signing by a TLS client certificate. |
no test coverage detected