MCPcopy Index your code

hub / github.com/cloudflare/tls-tris / functions

Functions532 in github.com/cloudflare/tls-tris

↓ 3 callersMethodmarshal
()
handshake_messages.go:1886
↓ 3 callersFunctionmasterFromPreMasterSecret
masterFromPreMasterSecret generates the master secret from the pre-master secret. See http://tools.ietf.org/html/rfc5246#section-8.1
prf.go:145
↓ 3 callersMethodminVersion
()
common.go:836
↓ 3 callersMethodnewBlock
newBlock allocates a new block, from hc's free list if possible.
conn.go:603
↓ 3 callersMethodnewRecordHeaderError
(msg string)
conn.go:648
↓ 3 callersFunctionpHash
pHash implements the P_hash function, as defined in RFC 4346, section 5.
prf.go:27
↓ 3 callersFunctionprepareDigitallySigned
(hash crypto.Hash, context string, data []byte)
13.go:591
↓ 3 callersFunctionprfForVersion
(version uint16, suite *cipherSuite)
prf.go:138
↓ 3 callersMethodprocessCertsFromClient
processCertsFromClient takes a chain of client certificates either from a Certificates message or from a sessionState and verifies them. It returns th
handshake_server.go:778
↓ 3 callersMethodreadClientFinished13
readClientFinished13 is called during the server handshake (when no early data it available) or after reading all early data. It discards early data i
13.go:324
↓ 3 callersMethodreadClientHello
readClientHello reads a ClientHello message from the client and decides whether we will perform session resumption.
handshake_server.go:155
↓ 3 callersMethodrun
()
_dev/tris-testclient/client.go:72
↓ 3 callersFunctionrunClientTestForVersion
(t *testing.T, template *clientTest, prefix, option string)
handshake_client_test.go:441
↓ 3 callersFunctionrunClientTestTLS11
(t *testing.T, template *clientTest)
handshake_client_test.go:458
↓ 3 callersFunctionrunDynamicRecordSizingTest
Run with multiple crypto configs to test the logic for computing TLS record overheads.
conn_test.go:136
↓ 3 callersFunctionrunServerTestSSLv3
(t *testing.T, template *serverTest)
handshake_server_test.go:690
↓ 3 callersMethodserverInit
serverInit is run under c.serverInitOnce to do initialization of c. If c was returned by a GetConfigForClient callback then the argument should be the
common.go:732
↓ 3 callersMethodsetMinMaxTLS
(ver uint16)
_dev/tris-testclient/client.go:67
↓ 3 callersFunctionsetParallel
setParallel calls t.Parallel once. If you call it twice, it would panic.
handshake_client_test.go:431
↓ 3 callersMethodticketKeys
()
common.go:763
↓ 3 callersMethodtime
()
common.go:800
↓ 3 callersMethodunmarshal
([]byte)
common.go:1022
↓ 3 callersMethodunmarshal
([]byte)
handshake_messages_test.go:38
↓ 3 callersFunctionverifyHandshakeSignature
verifyHandshakeSignature verifies a signature against pre-hashed handshake contents.
auth.go:71
↓ 3 callersMethodwrite
c.out.Mutex <= L.
conn.go:1008
↓ 3 callersMethodwriteKeyLog
writeKeyLog logs client random and master secret if logging was enabled by setting c.KeyLogWriter.
common.go:980
↓ 2 callersFunctionDialWithDialer
DialWithDialer connects to the given network address using dialer.Dial and then initiates a TLS handshake, returning the resulting TLS connection. Any
tls.go:98
↓ 2 callersMethodMAC
(digestBuf, seq, header, data, extra []byte)
cipher_suites.go:157
↓ 2 callersMethodSetIV
([]byte)
conn.go:320
↓ 2 callersMethodTemporary
()
tls.go:89
↓ 2 callersFunctionallCipherSuites
()
handshake_server_test.go:42
↓ 2 callersMethodchangeCipherSpec
changeCipherSpec changes the encryption and MAC states to the ones previously passed to prepareCipherSpec.
conn.go:221
↓ 2 callersFunctioncheckOpenSSLVersion
(t *testing.T)
handshake_test.go:47
↓ 2 callersMethodclientHandshake
c.out.Mutex <= L; c.handshakeMutex <= L.
handshake_client.go:118
↓ 2 callersMethodclientSum
clientSum returns the contents of the verify_data member of a client's Finished message.
prf.go:298
↓ 2 callersMethodclone
()
_dev/tris-testclient/client.go:60
↓ 2 callersMethodcloseNotify
()
conn.go:1603
↓ 2 callersMethoddecryptTicket
(encrypted []byte)
ticket.go:285
↓ 2 callersFunctiondefaultConfig
()
common.go:1105
↓ 2 callersMethodderiveDHESecret
DH key agreement. ks stores public key, secretKey stores private key used for ephemeral key agreement. Function returns shared secret in case of succe
13.go:612
↓ 2 callersFunctionenableQR
(s *server, enableDefault bool)
_dev/tris-localserver/server.go:58
↓ 2 callersMethodencryptTicket
(serialized []byte)
ticket.go:261
↓ 2 callersFunctioneqStrings
(x, y []string)
handshake_messages.go:2654
↓ 2 callersFunctioneqUint16s
(x, y []uint16)
handshake_messages.go:2630
↓ 2 callersMethodestablishKeys
()
handshake_client.go:647
↓ 2 callersMethodestablishKeys
()
handshake_server.go:657
↓ 2 callersMethodexplicitNonceLen
explicitIVLen returns the number of bytes used by the explicit nonce that is included in the record. This is eight for older AEADs and zero for modern
cipher_suites.go:166
↓ 2 callersFunctionextractPadding
extractPadding returns, in constant time, the length of the padding to remove from the end of payload. It also returns a byte which is equal to 255 if
conn.go:261
↓ 2 callersMethodgenerateKeyShare
generateKeyShare generates keypair. Private key is returned as first argument, public key is returned in keyShare.data. keyshare.curveID stores ID of
13.go:603
↓ 2 callersMethodgetCertificate
getCertificate returns the best certificate for the given ClientHelloInfo, defaulting to the first element of c.Certificates.
common.go:916
↓ 2 callersMethodgetCertificate
(certReq *certificateRequestMsg)
handshake_client.go:864
↓ 2 callersFunctiongetCertsFromEntries
(certEntries []certificateEntry)
13.go:846
↓ 2 callersFunctiongetSidhKeyVariant
Depending on role returns pair of key variant to be used by local and remote process.
13.go:125
↓ 2 callersMethodgetSupportedVersions
getSupportedVersions returns the protocol versions that are supported by the current configuration.
common.go:898
↓ 2 callersMethodhandleEndOfEarlyData
()
13.go:502
↓ 2 callersMethodhashForClientCertificate
hashForClientCertificate returns a digest over the handshake messages so far, suitable for signing by a TLS client certificate.
prf.go:322
↓ 2 callersFunctionhashForServerKeyExchange
hashForServerKeyExchange hashes the given slices and returns their digest using the given hash function.
key_agreement.go:111
↓ 2 callersMethodincSeq
incSeq increments the sequence number.
conn.go:244
↓ 2 callersMethodmarshal
()
handshake_messages_test.go:37
↓ 2 callersFunctionmutualProtocol
mutualProtocol finds the mutual Next Protocol Negotiation or ALPN protocol given list of possible protocols and a list of the preference order. The fi
handshake_client.go:972
↓ 2 callersFunctionnewKeySchedule13
(suite *cipherSuite, config *Config, clientRandom []byte)
13.go:98
↓ 2 callersFunctionparseTestData
(r io.Reader)
handshake_test.go:167
↓ 2 callersMethodpickVersion
pickVersion returns the protocol version to use given the advertised versions of the peer using the Supported Versions extension.
common.go:881
↓ 2 callersFunctionprf12
prf12 implements the TLS 1.2 pseudo-random function, as defined in RFC 5246, section 5.
prf.go:67
↓ 2 callersFunctionprfAndHashForVersion
(version uint16, suite *cipherSuite)
prf.go:122
↓ 2 callersMethodprocessCertsFromServer
processCertsFromServer takes a chain of server certificates from a Certificate message and verifies them.
handshake_client.go:364
↓ 2 callersMethodreadFinished
(out []byte)
handshake_client.go:763
↓ 2 callersMethodreadFinished
(out []byte)
handshake_server.go:682
↓ 2 callersMethodreadFromUntil
readFromUntil reads from r into b until b contains at least n bytes or else returns an error.
conn.go:570
↓ 2 callersMethodreadSessionTicket
()
handshake_client.go:792
↓ 2 callersMethodreserve
reserve makes sure that block contains a capacity of at least n bytes.
conn.go:552
↓ 2 callersFunctionrunServerTestTLS11
(t *testing.T, template *serverTest)
handshake_server_test.go:698
↓ 2 callersMethodsendFinished
(out []byte)
handshake_client.go:822
↓ 2 callersMethodsendFinished
(out []byte)
handshake_server.go:755
↓ 2 callersMethodsendSessionTicket
()
handshake_server.go:726
↓ 2 callersMethodserverSum
serverSum returns the contents of the verify_data member of a server's Finished message.
prf.go:310
↓ 2 callersMethodsetCipherSuite
setCipherSuite sets a cipherSuite with the given id as the serverHandshakeState suite if that cipher suite is acceptable to use. It returns a bool ind
handshake_server.go:847
↓ 2 callersFunctionsha1Hash
sha1Hash calculates a SHA1 hash over the given byte slices.
key_agreement.go:88
↓ 2 callersFunctionsignAlgosCertList
signAlgosCertList helper function returns either list of signature algorithms in case signature_algorithms_cert extension should be marshalled or nil
handshake_messages.go:17
↓ 2 callersFunctionsignatureFromSignatureScheme
signatureFromSignatureScheme maps a signature algorithm to the underlying signature method (without hash function).
common.go:1217
↓ 2 callersFunctionsignatureSchemeIsPSS
(s SignatureScheme)
13.go:565
↓ 2 callersFunctionsplitPreMasterSecret
Split a premaster secret in two as specified in RFC 4346, section 5.
prf.go:20
↓ 2 callersFunctionsupportedSigAlgorithmsCert
supportedSigAlgorithmsCert iterates over schemes and filters out those algorithms which are not supported for certificate verification.
13.go:1163
↓ 2 callersFunctiontestClientHello
(t *testing.T, serverConfig *Config, m handshakeMessage)
handshake_server_test.go:71
↓ 2 callersFunctionticketKeyFromBytes
ticketKeyFromBytes converts from the external representation of a session ticket key to a ticketKey. Externally, session ticket keys are 32 random byt
common.go:673
↓ 2 callersFunctionunmarshalDelegatedCredential
unmarshalDelegatedCredential decodes a DelegatedCredential structure.
subcerts.go:298
↓ 2 callersFunctionunmarshalExtensionSignatureAlgorithms
Function used for unmarshalling signature_algorithms or signature_algorithms_cert extensions only (for more details, see TLS 1.3 draft 28, 4.2.3) In c
handshake_messages.go:84
↓ 2 callersFunctionverifyPeerHandshakeSignature
( certVerify *certificateVerifyMsg, pubKey crypto.PublicKey, signAlgosKnown []SignatureScheme, transHash [
13.go:863
↓ 1 callersMethodConfirmHandshake
ConfirmHandshake waits for the handshake to reach a point at which the connection is certainly not replayed. That is, after receiving the Client Finis
conn.go:1345
↓ 1 callersMethodConstantTimeSum
(b []byte)
cipher_suites.go:311
↓ 1 callersMethodGenerate
(rand *rand.Rand, size int)
handshake_messages_test.go:319
↓ 1 callersFunctionNewClient
()
_dev/tris-testclient/client.go:54
↓ 1 callersFunctionNewListener
NewListener creates a Listener which accepts connections from an inner Listener and wraps each connection with Server. The configuration config must b
tls.go:63
↓ 1 callersFunctionNewServer
()
_dev/tris-localserver/server.go:41
↓ 1 callersMethodRead
(b []byte)
handshake_server_test.go:32
↓ 1 callersMethodRemoteAddr
RemoteAddr returns the remote network address.
conn.go:157
↓ 1 callersMethodTimeout
()
tls.go:88
↓ 1 callersMethodUnseal
Unseal returns a session ticket contents. The ticket can't be safely assumed to have been generated by Seal. If unable to unseal the ticket, the conne
ticket.go:32
↓ 1 callersMethodWrite
(b []byte)
handshake_test.go:117
↓ 1 callersMethodWriteTo
(w io.Writer)
handshake_client_test.go:102
← previousnext →101–200 of 532, ranked by callers