Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudflare/tls-tris
/ functions
Functions
532 in github.com/cloudflare/tls-tris
⨍
Functions
532
◇
Types & classes
98
Method
Generate
(rand *rand.Rand, size int)
handshake_messages_test.go:232
Method
Generate
(rand *rand.Rand, size int)
handshake_messages_test.go:244
Method
Generate
(rand *rand.Rand, size int)
handshake_messages_test.go:254
Method
Generate
(rand *rand.Rand, size int)
handshake_messages_test.go:273
Method
Generate
(rand *rand.Rand, size int)
handshake_messages_test.go:284
Method
Generate
(rand *rand.Rand, size int)
handshake_messages_test.go:296
Method
Generate
(rand *rand.Rand, size int)
handshake_messages_test.go:302
Method
Generate
(rand *rand.Rand, size int)
handshake_messages_test.go:313
Method
Generate
(rand *rand.Rand, size int)
handshake_messages_test.go:325
Method
Generate
(rand *rand.Rand, size int)
handshake_messages_test.go:331
Method
Generate
(rand *rand.Rand, size int)
handshake_messages_test.go:337
Method
Generate
(rand *rand.Rand, size int)
handshake_messages_test.go:350
Method
Generate
(rand *rand.Rand, size int)
handshake_messages_test.go:366
Method
Get
Get returns the ClientSessionState value associated with a given key. It returns (nil, false) if no value is found.
common.go:1085
Function
Listen
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
Function
LoadX509KeyPair
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
Method
LocalAddr
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
Method
MAC
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
Method
MAC
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
Method
NonceSize
()
cipher_suites.go:177
Method
NonceSize
()
cipher_suites.go:201
Method
OCSPResponse
OCSPResponse returns the stapled OCSP response from the TLS server, if any. (Only valid for client connections.)
conn.go:1708
Method
Open
(out, nonce, plaintext, additionalData []byte)
cipher_suites.go:189
Method
Overhead
Overhead returns the maximum difference between the lengths of a plaintext and its ciphertext.
cipher_suites.go:181
Method
Put
Put adds the provided (sessionKey, cs) pair to the cache.
common.go:1057
Method
Read
(p []byte)
conn.go:593
Method
Read
c.in.Mutex <= L
conn.go:1418
Method
Read
(b []byte)
example_test.go:20
Method
Read
(b []byte)
handshake_test.go:97
Method
Seal
(out, nonce, plaintext, additionalData []byte)
cipher_suites.go:184
Method
Seal
(out, nonce, plaintext, additionalData []byte)
cipher_suites.go:205
Method
SetDeadline
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
Method
SetReadDeadline
SetReadDeadline sets the read deadline on the underlying connection. A zero value for t means Read will not time out.
conn.go:170
Method
SetWriteDeadline
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
Method
Size
()
cipher_suites.go:277
Method
Size
()
cipher_suites.go:320
Method
Size
()
cipher_suites.go:337
Function
TestAlertFlushing
(t *testing.T)
handshake_client_test.go:1337
Function
TestAlertForwarding
(t *testing.T)
handshake_server_test.go:294
Function
TestBuffering
(t *testing.T)
handshake_client_test.go:1308
Function
TestCertificateSelection
(t *testing.T)
conn_test.go:77
Function
TestCipherSuiteCertPreferenceECDSA
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
Function
TestCipherSuitePreference
(t *testing.T)
handshake_server_test.go:358
Function
TestClientAuth
(t *testing.T)
handshake_server_test.go:1155
Function
TestClientResumption
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
Function
TestCloneFuncFields
(t *testing.T)
tls_test.go:620
Function
TestCloneNonFuncFields
(t *testing.T)
tls_test.go:660
Function
TestClose
(t *testing.T)
handshake_server_test.go:308
Function
TestConnCloseBreakingWrite
(t *testing.T)
tls_test.go:383
Function
TestConnCloseWrite
(t *testing.T)
tls_test.go:462
Function
TestConnReadNonzeroAndEOF
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
Function
TestCrossVersionResume
(t *testing.T)
handshake_server_test.go:416
Function
TestDCHandshake
Tests the handshake with the delegated credential extension for each test case in dcTests.
subcerts_test.go:319
Function
TestDialTimeout
(t *testing.T)
tls_test.go:165
Function
TestDontSelectECDSAWithRSAKey
(t *testing.T)
handshake_server_test.go:149
Function
TestDontSelectRSAWithECDSAKey
(t *testing.T)
handshake_server_test.go:174
Function
TestDynamicRecordSizingWithAEAD
(t *testing.T)
conn_test.go:251
Function
TestDynamicRecordSizingWithCBC
(t *testing.T)
conn_test.go:245
Function
TestDynamicRecordSizingWithStreamCipher
(t *testing.T)
conn_test.go:239
Function
TestFailedWrite
(t *testing.T)
handshake_client_test.go:1272
Function
TestFallbackSCSV
(t *testing.T)
handshake_server_test.go:996
Function
TestFuzz
(t *testing.T)
handshake_messages_test.go:90
Function
TestGetClientCertificate
(t *testing.T)
handshake_client_test.go:1524
Function
TestGetConfigForClient
(t *testing.T)
handshake_server_test.go:1325
Function
TestHairpinInClose
(t *testing.T)
conn_test.go:269
Function
TestHandshakeClientAES128CBCSHA256
(t *testing.T)
handshake_client_test.go:534
Function
TestHandshakeClientAES256GCMSHA384
(t *testing.T)
handshake_client_test.go:524
Function
TestHandshakeClientALPNMatch
(t *testing.T)
handshake_client_test.go:848
Function
TestHandshakeClientCertECDSA
(t *testing.T)
handshake_client_test.go:637
Function
TestHandshakeClientCertRSA
(t *testing.T)
handshake_client_test.go:601
Function
TestHandshakeClientECDHEECDSAAES
(t *testing.T)
handshake_client_test.go:502
Function
TestHandshakeClientECDHEECDSAAES128CBCSHA256
(t *testing.T)
handshake_client_test.go:550
Function
TestHandshakeClientECDHEECDSAAESGCM
(t *testing.T)
handshake_client_test.go:514
Function
TestHandshakeClientECDHEECDSAChaCha20
(t *testing.T)
handshake_client_test.go:586
Function
TestHandshakeClientECDHERSAAES
(t *testing.T)
handshake_client_test.go:492
Function
TestHandshakeClientECDHERSAAES128CBCSHA256
(t *testing.T)
handshake_client_test.go:542
Function
TestHandshakeClientECDHERSAChaCha20
(t *testing.T)
handshake_client_test.go:573
Function
TestHandshakeClientRSAAES128GCM
(t *testing.T)
handshake_client_test.go:476
Function
TestHandshakeClientRSAAES256GCM
(t *testing.T)
handshake_client_test.go:484
Function
TestHandshakeClientRSARC4
(t *testing.T)
handshake_client_test.go:466
Function
TestHandshakeClientSCTs
(t *testing.T)
handshake_client_test.go:872
Function
TestHandshakeClientX25519
(t *testing.T)
handshake_client_test.go:560
Function
TestHandshakeRace
(t *testing.T)
handshake_client_test.go:1381
Function
TestHandshakeServerAES256GCMSHA384
(t *testing.T)
handshake_server_test.go:745
Function
TestHandshakeServerAESGCM
(t *testing.T)
handshake_server_test.go:737
Function
TestHandshakeServerALPN
(t *testing.T)
handshake_server_test.go:781
Function
TestHandshakeServerALPNNoMatch
(t *testing.T)
handshake_server_test.go:802
Function
TestHandshakeServerECDHEECDSAAES
(t *testing.T)
handshake_server_test.go:753
Function
TestHandshakeServerEmptyCertificates
TestHandshakeServerEmptyCertificates tests that GetCertificates is called in the case that Certificates is empty, even without SNI.
handshake_server_test.go:894
Function
TestHandshakeServerRSA3DES
(t *testing.T)
handshake_server_test.go:717
Function
TestHandshakeServerRSAAES
(t *testing.T)
handshake_server_test.go:727
Function
TestHandshakeServerRSARC4
(t *testing.T)
handshake_server_test.go:706
Function
TestHandshakeServerSNI
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
Function
TestHandshakeServerSNIGetCertificate
TestHandshakeServerSNICertForName is similar to TestHandshakeServerSNI, but tests the dynamic GetCertificate method
handshake_server_test.go:837
Function
TestHandshakeServerSNIGetCertificateError
TestHandshakeServerSNICertForNameError tests to make sure that errors in GetCertificate result in a tls alert.
handshake_server_test.go:875
Function
TestHandshakeServerSNIGetCertificateNotFound
TestHandshakeServerSNICertForNameNotFound is similar to TestHandshakeServerSNICertForName, but tests to make sure that when the GetCertificate method
handshake_server_test.go:859
Function
TestHandshakeServerX25519
(t *testing.T)
handshake_server_test.go:769
Function
TestHostnameInSNI
(t *testing.T)
handshake_client_test.go:1007
Function
TestKeyLog
(t *testing.T)
handshake_client_test.go:797
Function
TestKeysFromPreMasterSecret
(t *testing.T)
prf_test.go:47
← previous
next →
301–400 of 532, ranked by callers