func crypto.SignMessage

6 uses

	crypto (current package)
		crypto.go#L245: func SignMessage(signer Signer, rand io.Reader, msg []byte, opts SignerOpts) (signature []byte, err error) {

	crypto/tls
		handshake_client.go#L817: 			certVerify.signature, err = crypto.SignMessage(key, c.config.rand(), hs.finishedHash.buffer, signOpts)
		handshake_client_tls13.go#L794: 	sig, err := crypto.SignMessage(cert.PrivateKey.(crypto.Signer), c.config.rand(), signed, signOpts)
		handshake_server_tls13.go#L870: 	sig, err := crypto.SignMessage(hs.cert.PrivateKey.(crypto.Signer), c.config.rand(), signed, signOpts)
		key_agreement.go#L215: 		sig, err = crypto.SignMessage(priv, config.rand(), signed, signOpts)

	crypto/x509
		x509.go#L1599: 	signature, err := crypto.SignMessage(key, rand, tbs, signerOpts)