// deriveSecretPeek is the same as deriveSecret, but it enables the caller to
// tentatively append messages to the transcript. The |extraMessages| parameter
// contains the bytes of these tentative messages.

deriveSecretPeek is the same as deriveSecret, but it enables the caller to
tentatively append messages to the transcript. The |extraMessages| parameter
contains the bytes of these tentative messages.
// deriveSecretPeek is the same as deriveSecret but it enables the caller to // tentatively append messages to the transcript . The |extraMessages| parameter // contains the bytes of these tentative messages .
func (h *finishedHash) deriveSecretPeek(label []byte, extraMessages []byte) []byte {
	hashPeek := copyHash(h.hash, h.suite.hash())
	hashPeek.Write(extraMessages)
	return hkdfExpandLabel(h.suite.hash(), h.secret, label, hashPeek.Sum(nil), h.hash.Size())
}
func ( h * finishedHash ) deriveSecretPeek ( label [ ] byte , extraMessages [ ] byte ) [ ] byte { hashPeek := copyHash ( h . hash , h . suite . hash ( ) ) hashPeek . Write ( extraMessages ) return hkdfExpandLabel ( h . suite . hash ( ) , h . secret , label , hashPeek . Sum ( nil ) , h . hash . Size ( ) ) }
deriveSecretPeek is the same as deriveSecret, but it enables the caller to
tentatively append messages to the transcript.
deriveSecretPeek is the same as deriveSecret but it enables the caller to tentatively append messages to the transcript .