Imports #
"crypto/internal/fips140"
"crypto/internal/fips140/hmac"
"crypto/internal/fips140/sha256"
"crypto/internal/fips140/sha512"
"bytes"
"crypto/internal/fips140"
_ "crypto/internal/fips140/check"
"crypto/internal/fips140/sha256"
"errors"
"crypto/internal/fips140"
"crypto/internal/fips140/hmac"
"crypto/internal/fips140/sha256"
"crypto/internal/fips140/sha512"
"bytes"
"crypto/internal/fips140"
_ "crypto/internal/fips140/check"
"crypto/internal/fips140/sha256"
"errors"
const extendedMasterSecretLabel = "extended master secret"
const masterSecretLength = 48
MasterSecret implements the TLS 1.2 extended master secret derivation, as defined in RFC 7627 and allowed by SP 800-135, Revision 1, Section 4.2.2.
func MasterSecret(hash func() H, preMasterSecret []byte, transcript []byte) []byte
PRF implements the TLS 1.2 pseudo-random function, as defined in RFC 5246, Section 5 and allowed by SP 800-135, Revision 1, Section 4.2.2.
func PRF(hash func() H, secret []byte, label string, seed []byte, keyLen int) []byte
func init()
pHash implements the P_hash function, as defined in RFC 5246, Section 5.
func pHash(hash func() H, result []byte, secret []byte, seed []byte)
Generated with Arrow