MCPcopy Index your code

hub / github.com/refraction-networking/utls / functions

Functions1,354 in github.com/refraction-networking/utls

↓ 3 callersMethodHandshakeSecret
(sharedSecret []byte)
internal/tls13/tls13.go:96
↓ 3 callersFunctionHasGoBuild
HasGoBuild reports whether the current system can build programs with ``go build'' and then run them with os.StartProcess or exec.Command.
testenv/testenv.go:96
↓ 3 callersFunctionInsecureCipherSuites
InsecureCipherSuites returns a list of cipher suites currently implemented by this package and which have security issues. Most applications should n
cipher_suites.go:79
↓ 3 callersMethodIsInitialized
IsInitialized returns a boolean indicating whether the extension has been initialized. If false is returned, utls will initialize the extension.
u_common.go:820
↓ 3 callersMethodLen
()
u_session_ticket.go:34
↓ 3 callersMethodLen
()
u_tls_extensions.go:1058
↓ 3 callersMethodLen
()
u_tls_extensions.go:1806
↓ 3 callersMethodLocalAddr
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:134
↓ 3 callersMethodMasterSecret
MasterSecret generated by client on a full handshake
u_public.go:726
↓ 3 callersMethodNextEvent
NextEvent returns the next event occurring on the connection. It returns an event with a Kind of [QUICNoEvent] when no events are available.
quic.go:220
↓ 3 callersFunctionParseHPKEPublicKey
(kemID uint16, bytes []byte)
internal/hpke/hpke.go:299
↓ 3 callersMethodRead
Read reads data from the connection. As Read calls [Conn.Handshake], in order to prevent indefinite blocking a deadline must be set for both Read and
u_conn.go:861
↓ 3 callersMethodRemoteAddr
RemoteAddr returns the remote network address.
conn.go:139
↓ 3 callersMethodResumptionMasterSecret
ResumptionMasterSecret derives the resumption_master_secret from the master secret and the transcript up to the client Finished.
internal/tls13/tls13.go:143
↓ 3 callersMethodSecret
()
internal/tls13/u_tls13.go:12
↓ 3 callersMethodServerApplicationTrafficSecret
ServerApplicationTrafficSecret derives the server_application_traffic_secret_0 from the master secret and the transcript up to the server Finished.
internal/tls13/tls13.go:137
↓ 3 callersMethodServerHandshakeTrafficSecret
ServerHandshakeTrafficSecret derives the server_handshake_traffic_secret from the handshake secret and the transcript up to the ServerHello.
internal/tls13/tls13.go:112
↓ 3 callersMethodSetSNI
(sni string)
u_conn.go:267
↓ 3 callersFunctionSetupSender
(kemID, kdfID, aeadID uint16, pub *ecdh.PublicKey, info []byte)
internal/hpke/hpke.go:222
↓ 3 callersMethodSupportsCertificate
SupportsCertificate returns nil if the provided certificate is supported by the client that sent the ClientHello. Otherwise, it returns an error descr
common.go:1367
↓ 3 callersMethodUint64
Int63 is equivalent to math/read.Uint64.
u_prng.go:127
↓ 3 callersFunctionUnreachable
()
internal/boring/notboring.go:18
↓ 3 callersMethodWriteTo
WriteTo writes Go source code to w that contains the recorded traffic.
handshake_test.go:152
↓ 3 callersMethodactive
active increments the number of references to the entry, wraps the certificate in the entry in an activeCert, and sets the finalizer. Note that there
cache.go:60
↓ 3 callersMethodassertHelloNotBuilt
(caller string)
u_session_controller.go:106
↓ 3 callersFunctionclientHelloInfo
(ctx context.Context, c *Conn, clientHello *clientHelloMsg)
handshake_server.go:990
↓ 3 callersFunctioncomputeAndUpdateOuterECHExtension
(outer, inner *clientHelloMsg, ech *echClientContext, useKey bool)
ech.go:416
↓ 3 callersMethoddataPath
()
handshake_server_test.go:670
↓ 3 callersFunctiondecodeInnerClientHello
(outer *clientHelloMsg, encoded []byte)
ech.go:283
↓ 3 callersMethoddecryptTicket
(encrypted []byte, ticketKeys []ticketKey)
ticket.go:365
↓ 3 callersFunctiondefaultConfig
()
common.go:1726
↓ 3 callersFunctionekmFromMasterSecret
ekmFromMasterSecret generates exported keying material as defined in RFC 5705.
prf.go:270
↓ 3 callersFunctionencodeInnerClientHelloReorderOuterExts
[uTLS SECTION END] func encodeInnerClientHello(inner *clientHelloMsg, maxNameLength int) ([]byte, error) {
ech.go:218
↓ 3 callersMethodencryptTicket
(state []byte, ticketKeys []ticketKey)
ticket.go:320
↓ 3 callersFunctionextract
(hash func() H, newSecret, currentSecret []byte)
internal/tls13/tls13.go:43
↓ 3 callersFunctionfipsAllowedChains
fipsAllowedChains returns chains that are allowed to be used in a TLS connection based on the current fips140tls enforcement setting. If fips140tls i
common.go:1774
↓ 3 callersMethodgetCertificate
getCertificate returns the best certificate for the given ClientHelloInfo, defaulting to the first element of c.Certificates.
common.go:1313
↓ 3 callersFunctiongetSharedKey
[uTLS] SECTION BEGIN
handshake_client_tls13.go:567
↓ 3 callersMethodhandlePostHandshakeMessage
handlePostHandshakeMessage processes a handshake message arrived after the handshake is complete. Up to TLS 1.2, it indicates the start of a renegotia
conn.go:1309
↓ 3 callersMethodhelloName
()
u_conn_test.go:39
↓ 3 callersMethodloadSession
(hello *clientHelloMsg)
handshake_client.go:396
↓ 3 callersMethodmarshalWithoutBinders
marshalWithoutBinders returns the ClientHello through the PreSharedKeyExtension.identities field, according to RFC 8446, Section 4.2.11.2. Note that m
handshake_messages.go:413
↓ 3 callersFunctionmasterFromPreMasterSecret
masterFromPreMasterSecret generates the master secret from the pre-master secret. See RFC 5246, Section 8.1.
prf.go:112
↓ 3 callersFunctionmutualCipherSuiteTLS13
(have []uint16, want uint16)
cipher_suites.go:665
↓ 3 callersMethodmutualVersion
mutualVersion returns the protocol version to use given the advertised versions of the peer. Priority is given to the peer preference order.
common.go:1288
↓ 3 callersFunctionnewFinishedHash
(version uint16, cipherSuite *cipherSuite)
prf.go:156
↓ 3 callersFunctionnewPRNGWithSeed
newPRNGWithSeed initializes a new PRNG using an existing seed.
u_prng.go:84
↓ 3 callersFunctionpanicOnNil
(caller string, params ...any)
u_common.go:773
↓ 3 callersFunctionparseVector
This file contains tests derived from draft-ietf-tls-tls13-vectors-07.
key_schedule_test.go:86
↓ 3 callersFunctionpickECHConfig
(list []echConfig)
ech.go:155
↓ 3 callersFunctionprfAndHashForVersion
(version uint16, suite *cipherSuite)
prf.go:91
↓ 3 callersFunctionprfForVersion
(version uint16, suite *cipherSuite)
prf.go:105
↓ 3 callersMethodprocessCertsFromClient
processCertsFromClient takes a chain of client certificates either from a Certificates message and verifies them.
handshake_server.go:908
↓ 3 callersFunctionpskExtLen
(identities []PskIdentity, binders [][]byte)
u_pre_shared_key.go:166
↓ 3 callersMethodreadClientHello
readClientHello reads a ClientHello message and selects the protocol version.
handshake_server.go:136
↓ 3 callersMethodreadRecordOrCCS
readRecordOrCCS reads one or more TLS records from the connection and updates the record layer state. Some invariants: - c.in must be locked - c.input
conn.go:613
↓ 3 callersMethodrequestClientCert
()
handshake_server_tls13.go:819
↓ 3 callersFunctionrequiresClientCert
requiresClientCert reports whether the ClientAuthType requires a client certificate to be provided.
common.go:365
↓ 3 callersMethodretryReadRecord
retryReadRecord recurs into readRecordOrCCS to drop a non-advancing record, like a warning alert, empty application_data, or a change_cipher_spec in T
conn.go:789
↓ 3 callersFunctionrunClientTestTLS11
(t *testing.T, template *clientTest)
handshake_client_test.go:487
↓ 3 callersMethodsendSessionTicket
(earlyData bool, extra [][]byte)
handshake_server_tls13.go:980
↓ 3 callersMethodsupportsCurve
(version uint16, curve CurveID)
common.go:1277
↓ 3 callersFunctiontestUTLSHandshakeClientECDHE_ECDSA_AES128_CBC_SHA
(t *testing.T, hello helloStrategy)
u_conn_test.go:282
↓ 3 callersFunctiontestUTLSHandshakeClientECDHE_ECDSA_AES128_GCM_SHA256
(t *testing.T, hello helloStrategy)
u_conn_test.go:322
↓ 3 callersFunctiontestUTLSHandshakeClientECDHE_ECDSA_AES256_CBC_SHA
(t *testing.T, hello helloStrategy)
u_conn_test.go:296
↓ 3 callersFunctiontestUTLSHandshakeClientECDHE_ECDSA_WITH_CHACHA20_POLY1305
(t *testing.T, hello helloStrategy)
u_conn_test.go:428
↓ 3 callersFunctiontestUTLSHandshakeClientRSA_AES128_GCM_SHA256
(t *testing.T, hello helloStrategy)
u_conn_test.go:310
↓ 3 callersMethodticketKeys
ticketKeys returns the ticketKeys for this connection. If configForClient has explicitly set keys, those will be returned. Otherwise, the keys on c wi
common.go:1069
↓ 3 callersFunctiontls10MAC
tls10MAC implements the TLS 1.0 MAC function. RFC 2246, Section 6.2.3.
cipher_suites.go:615
↓ 3 callersMethodupdateBinders
updateBinders updates the m.pskBinders field. The supplied binders must have the same length as the current m.pskBinders.
handshake_messages.go:435
↓ 3 callersMethodverifyServerCertificate
verifyServerCertificate parses and verifies the provided chain, setting c.verifiedChains and c.peerCertificates or sending the appropriate alert.
handshake_client.go:1122
↓ 2 callersMethodAlwaysAddPadding
()
u_common.go:270
↓ 2 callersFunctionBEPutUint64
(b []byte, v uint64)
internal/byteorder/byteorder.go:126
↓ 2 callersMethodClientHelloSpec
()
u_clienthello_json.go:22
↓ 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:117
↓ 2 callersMethodDidTls12Resume
()
u_conn.go:203
↓ 2 callersFunctionExpand
(h func() H, pseudorandomKey []byte, info string, keyLength int)
internal/hkdf/hkdf.go:17
↓ 2 callersMethodExportKeyingMaterial
ExportKeyingMaterial returns length bytes of exported key material in a new slice as defined in RFC 5705. If context is nil, it is not used as part of
common.go:331
↓ 2 callersMethodExporterMasterSecret
ExporterMasterSecret derives the exporter_master_secret from the master secret and the transcript up to the server Finished.
internal/tls13/tls13.go:154
↓ 2 callersMethodExtractAndExpand
(dhKey, kemContext []byte)
internal/hpke/hpke.go:83
↓ 2 callersMethodHandshake
Handshake runs the client handshake using given clientHandshakeState Requires hs.hello, and, optionally, hs.session to be set.
u_conn.go:300
↓ 2 callersMethodInitializeByUtls
InitializeByUtls is invoked when IsInitialized() returns false. It initializes the extension using a real and valid TLS 1.3 session.
u_pre_shared_key.go:82
↓ 2 callersMethodLen
()
u_tls_extensions.go:127
↓ 2 callersMethodLen
()
u_tls_extensions.go:215
↓ 2 callersMethodLen
()
u_tls_extensions.go:267
↓ 2 callersMethodLen
()
u_tls_extensions.go:343
↓ 2 callersMethodLen
()
u_tls_extensions.go:404
↓ 2 callersMethodLen
()
u_tls_extensions.go:484
↓ 2 callersMethodLen
()
u_tls_extensions.go:533
↓ 2 callersMethodLen
()
u_tls_extensions.go:619
↓ 2 callersMethodLen
(supportedProtocols []string)
u_tls_extensions.go:700
↓ 2 callersMethodLen
()
u_tls_extensions.go:845
↓ 2 callersMethodLen
()
u_tls_extensions.go:880
↓ 2 callersMethodLen
()
u_tls_extensions.go:932
↓ 2 callersMethodLen
()
u_tls_extensions.go:989
↓ 2 callersMethodLen
()
u_tls_extensions.go:1155
↓ 2 callersMethodLen
()
u_tls_extensions.go:1230
↓ 2 callersMethodLen
()
u_tls_extensions.go:1346
↓ 2 callersMethodLen
()
u_tls_extensions.go:1378
↓ 2 callersMethodLen
()
u_tls_extensions.go:1455
← previousnext →201–300 of 1,354, ranked by callers