MCPcopy Create free account

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

Functions532 in github.com/cloudflare/tls-tris

MethodGenerate
(rand *rand.Rand, size int)
handshake_messages_test.go:232
MethodGenerate
(rand *rand.Rand, size int)
handshake_messages_test.go:244
MethodGenerate
(rand *rand.Rand, size int)
handshake_messages_test.go:254
MethodGenerate
(rand *rand.Rand, size int)
handshake_messages_test.go:273
MethodGenerate
(rand *rand.Rand, size int)
handshake_messages_test.go:284
MethodGenerate
(rand *rand.Rand, size int)
handshake_messages_test.go:296
MethodGenerate
(rand *rand.Rand, size int)
handshake_messages_test.go:302
MethodGenerate
(rand *rand.Rand, size int)
handshake_messages_test.go:313
MethodGenerate
(rand *rand.Rand, size int)
handshake_messages_test.go:325
MethodGenerate
(rand *rand.Rand, size int)
handshake_messages_test.go:331
MethodGenerate
(rand *rand.Rand, size int)
handshake_messages_test.go:337
MethodGenerate
(rand *rand.Rand, size int)
handshake_messages_test.go:350
MethodGenerate
(rand *rand.Rand, size int)
handshake_messages_test.go:366
MethodGet
Get returns the ClientSessionState value associated with a given key. It returns (nil, false) if no value is found.
common.go:1085
FunctionListen
Listen creates a TLS listener accepting connections on the given network address using net.Listen. The configuration config must be non-nil and must i
tls.go:74
FunctionLoadX509KeyPair
LoadX509KeyPair reads and parses a public/private key pair from a pair of files. The files must contain PEM encoded data. The certificate file may con
tls.go:178
MethodLocalAddr
Access to net.Conn methods. Cannot just embed net.Conn because that would export the struct field too. LocalAddr returns the local network address.
conn.go:152
MethodMAC
MAC does not offer constant timing guarantees for SSL v3.0, since it's deemed useless considering the similar, protocol-level POODLE vulnerability.
cipher_suites.go:287
MethodMAC
MAC is guaranteed to take constant time, as long as len(seq)+len(header)+len(data)+len(extra) is constant. extra is not fed into the MAC, but is only
cipher_suites.go:344
MethodNonceSize
()
cipher_suites.go:177
MethodNonceSize
()
cipher_suites.go:201
MethodOCSPResponse
OCSPResponse returns the stapled OCSP response from the TLS server, if any. (Only valid for client connections.)
conn.go:1708
MethodOpen
(out, nonce, plaintext, additionalData []byte)
cipher_suites.go:189
MethodOverhead
Overhead returns the maximum difference between the lengths of a plaintext and its ciphertext.
cipher_suites.go:181
MethodPut
Put adds the provided (sessionKey, cs) pair to the cache.
common.go:1057
MethodRead
(p []byte)
conn.go:593
MethodRead
c.in.Mutex <= L
conn.go:1418
MethodRead
(b []byte)
example_test.go:20
MethodRead
(b []byte)
handshake_test.go:97
MethodSeal
(out, nonce, plaintext, additionalData []byte)
cipher_suites.go:184
MethodSeal
(out, nonce, plaintext, additionalData []byte)
cipher_suites.go:205
MethodSetDeadline
SetDeadline sets the read and write deadlines associated with the connection. A zero value for t means Read and Write will not time out. After a Write
conn.go:164
MethodSetReadDeadline
SetReadDeadline sets the read deadline on the underlying connection. A zero value for t means Read will not time out.
conn.go:170
MethodSetWriteDeadline
SetWriteDeadline sets the write deadline on the underlying connection. A zero value for t means Write will not time out. After a Write has timed out,
conn.go:177
MethodSize
()
cipher_suites.go:277
MethodSize
()
cipher_suites.go:320
MethodSize
()
cipher_suites.go:337
FunctionTestAlertFlushing
(t *testing.T)
handshake_client_test.go:1337
FunctionTestAlertForwarding
(t *testing.T)
handshake_server_test.go:294
FunctionTestBuffering
(t *testing.T)
handshake_client_test.go:1308
FunctionTestCertificateSelection
(t *testing.T)
conn_test.go:77
FunctionTestCipherSuiteCertPreferenceECDSA
TestCipherSuiteCertPreference ensures that we select an RSA ciphersuite with an RSA certificate and an ECDSA ciphersuite with an ECDSA certificate.
handshake_server_test.go:924
FunctionTestCipherSuitePreference
(t *testing.T)
handshake_server_test.go:358
FunctionTestClientAuth
(t *testing.T)
handshake_server_test.go:1155
FunctionTestClientResumption
This test is specific to TLS versions which support session tickets (TLSv1.2 and below). Session tickets are obsolete in TLSv1.3 (see 2.2 of TLS RFC)
handshake_client_test.go:665
FunctionTestCloneFuncFields
(t *testing.T)
tls_test.go:620
FunctionTestCloneNonFuncFields
(t *testing.T)
tls_test.go:660
FunctionTestClose
(t *testing.T)
handshake_server_test.go:308
FunctionTestConnCloseBreakingWrite
(t *testing.T)
tls_test.go:383
FunctionTestConnCloseWrite
(t *testing.T)
tls_test.go:462
FunctionTestConnReadNonzeroAndEOF
tests that Conn.Read returns (non-zero, io.EOF) instead of (non-zero, nil) when a Close (alertCloseNotify) is sitting right behind the application dat
tls_test.go:211
FunctionTestCrossVersionResume
(t *testing.T)
handshake_server_test.go:416
FunctionTestDCHandshake
Tests the handshake with the delegated credential extension for each test case in dcTests.
subcerts_test.go:319
FunctionTestDialTimeout
(t *testing.T)
tls_test.go:165
FunctionTestDontSelectECDSAWithRSAKey
(t *testing.T)
handshake_server_test.go:149
FunctionTestDontSelectRSAWithECDSAKey
(t *testing.T)
handshake_server_test.go:174
FunctionTestDynamicRecordSizingWithAEAD
(t *testing.T)
conn_test.go:251
FunctionTestDynamicRecordSizingWithCBC
(t *testing.T)
conn_test.go:245
FunctionTestDynamicRecordSizingWithStreamCipher
(t *testing.T)
conn_test.go:239
FunctionTestFailedWrite
(t *testing.T)
handshake_client_test.go:1272
FunctionTestFallbackSCSV
(t *testing.T)
handshake_server_test.go:996
FunctionTestFuzz
(t *testing.T)
handshake_messages_test.go:90
FunctionTestGetClientCertificate
(t *testing.T)
handshake_client_test.go:1524
FunctionTestGetConfigForClient
(t *testing.T)
handshake_server_test.go:1325
FunctionTestHairpinInClose
(t *testing.T)
conn_test.go:269
FunctionTestHandshakeClientAES128CBCSHA256
(t *testing.T)
handshake_client_test.go:534
FunctionTestHandshakeClientAES256GCMSHA384
(t *testing.T)
handshake_client_test.go:524
FunctionTestHandshakeClientALPNMatch
(t *testing.T)
handshake_client_test.go:848
FunctionTestHandshakeClientCertECDSA
(t *testing.T)
handshake_client_test.go:637
FunctionTestHandshakeClientCertRSA
(t *testing.T)
handshake_client_test.go:601
FunctionTestHandshakeClientECDHEECDSAAES
(t *testing.T)
handshake_client_test.go:502
FunctionTestHandshakeClientECDHEECDSAAES128CBCSHA256
(t *testing.T)
handshake_client_test.go:550
FunctionTestHandshakeClientECDHEECDSAAESGCM
(t *testing.T)
handshake_client_test.go:514
FunctionTestHandshakeClientECDHEECDSAChaCha20
(t *testing.T)
handshake_client_test.go:586
FunctionTestHandshakeClientECDHERSAAES
(t *testing.T)
handshake_client_test.go:492
FunctionTestHandshakeClientECDHERSAAES128CBCSHA256
(t *testing.T)
handshake_client_test.go:542
FunctionTestHandshakeClientECDHERSAChaCha20
(t *testing.T)
handshake_client_test.go:573
FunctionTestHandshakeClientRSAAES128GCM
(t *testing.T)
handshake_client_test.go:476
FunctionTestHandshakeClientRSAAES256GCM
(t *testing.T)
handshake_client_test.go:484
FunctionTestHandshakeClientRSARC4
(t *testing.T)
handshake_client_test.go:466
FunctionTestHandshakeClientSCTs
(t *testing.T)
handshake_client_test.go:872
FunctionTestHandshakeClientX25519
(t *testing.T)
handshake_client_test.go:560
FunctionTestHandshakeRace
(t *testing.T)
handshake_client_test.go:1381
FunctionTestHandshakeServerAES256GCMSHA384
(t *testing.T)
handshake_server_test.go:745
FunctionTestHandshakeServerAESGCM
(t *testing.T)
handshake_server_test.go:737
FunctionTestHandshakeServerALPN
(t *testing.T)
handshake_server_test.go:781
FunctionTestHandshakeServerALPNNoMatch
(t *testing.T)
handshake_server_test.go:802
FunctionTestHandshakeServerECDHEECDSAAES
(t *testing.T)
handshake_server_test.go:753
FunctionTestHandshakeServerEmptyCertificates
TestHandshakeServerEmptyCertificates tests that GetCertificates is called in the case that Certificates is empty, even without SNI.
handshake_server_test.go:894
FunctionTestHandshakeServerRSA3DES
(t *testing.T)
handshake_server_test.go:717
FunctionTestHandshakeServerRSAAES
(t *testing.T)
handshake_server_test.go:727
FunctionTestHandshakeServerRSARC4
(t *testing.T)
handshake_server_test.go:706
FunctionTestHandshakeServerSNI
TestHandshakeServerSNI involves a client sending an SNI extension of "snitest.com", which happens to match the CN of testSNICertificate. The test veri
handshake_server_test.go:827
FunctionTestHandshakeServerSNIGetCertificate
TestHandshakeServerSNICertForName is similar to TestHandshakeServerSNI, but tests the dynamic GetCertificate method
handshake_server_test.go:837
FunctionTestHandshakeServerSNIGetCertificateError
TestHandshakeServerSNICertForNameError tests to make sure that errors in GetCertificate result in a tls alert.
handshake_server_test.go:875
FunctionTestHandshakeServerSNIGetCertificateNotFound
TestHandshakeServerSNICertForNameNotFound is similar to TestHandshakeServerSNICertForName, but tests to make sure that when the GetCertificate method
handshake_server_test.go:859
FunctionTestHandshakeServerX25519
(t *testing.T)
handshake_server_test.go:769
FunctionTestHostnameInSNI
(t *testing.T)
handshake_client_test.go:1007
FunctionTestKeyLog
(t *testing.T)
handshake_client_test.go:797
FunctionTestKeysFromPreMasterSecret
(t *testing.T)
prf_test.go:47
← previousnext →301–400 of 532, ranked by callers