MCPcopy Index your code

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

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

↓ 2 callersMethodquicSetTransportParameters
(params []byte)
quic.go:438
↓ 2 callersMethodreadChangeCipherSpec
()
conn.go:595
↓ 2 callersMethodreadFinished
(out []byte)
handshake_client.go:999
↓ 2 callersMethodreadFinished
(out []byte)
handshake_server.go:811
↓ 2 callersMethodreadFromUntil
readFromUntil reads from r into c.rawInput until c.rawInput contains at least n bytes or else returns an error.
conn.go:823
↓ 2 callersMethodreadHandshakeBytes
readHandshakeBytes reads handshake data until c.hand contains at least n bytes.
conn.go:1074
↓ 2 callersFunctionreadPskIntoBytes
(b []byte, identities []PskIdentity, binders [][]byte)
u_pre_shared_key.go:195
↓ 2 callersMethodreadSessionTicket
()
handshake_client.go:1034
↓ 2 callersFunctionrunServerTestTLS11
(t *testing.T, template *serverTest)
handshake_server_test.go:786
↓ 2 callersFunctionrunTestAndUpdateIfNeeded
(t *testing.T, name string, run func(t *testing.T, update bool), wait bool)
handshake_test.go:52
↓ 2 callersMethodsendDummyChangeCipherSpec
sendDummyChangeCipherSpec sends a ChangeCipherSpec record for compatibility with middleboxes that didn't implement TLS correctly. See RFC 8446, Append
handshake_client_tls13.go:238
↓ 2 callersMethodsendDummyChangeCipherSpec
sendDummyChangeCipherSpec sends a ChangeCipherSpec record for compatibility with middleboxes that didn't implement TLS correctly. See RFC 8446, Append
handshake_server_tls13.go:534
↓ 2 callersMethodsendFinished
(out []byte)
handshake_client.go:1083
↓ 2 callersMethodsendFinished
(out []byte)
handshake_server.go:888
↓ 2 callersMethodsendSessionTicket
()
handshake_server.go:846
↓ 2 callersMethodsendSessionTickets
()
handshake_server_tls13.go:961
↓ 2 callersMethodserverSum
serverSum returns the contents of the verify_data member of a server's Finished message.
prf.go:221
↓ 2 callersMethodsetPskToUConn
setPskToUConn sets the psk to the handshake state and client hello.
u_session_controller.go:197
↓ 2 callersMethodsetSessionTicketToUConn
setSessionTicketToUConn write the ticket states from the session ticket extension to the client hello and handshake state.
u_session_controller.go:189
↓ 2 callersFunctionsha1Hash
sha1Hash calculates a SHA1 hash over the given byte slices.
key_agreement.go:107
↓ 2 callersMethodshouldUpdateBinders
shouldUpdateBinders determines whether binders should be updated based on the presence of an initialized psk extension. This function returns true if
u_session_controller.go:219
↓ 2 callersFunctionskipUint8LengthPrefixed
(s *cryptobyte.String)
ech.go:236
↓ 2 callersFunctionsliceEq
(sliceA []T, sliceB []T)
u_common.go:805
↓ 2 callersFunctionsplitPreMasterSecret
Split a premaster secret in two as specified in RFC 4346, Section 5.
prf.go:24
↓ 2 callersFunctionsupportedVersionsFromMax
supportedVersionsFromMax returns a list of supported versions derived from a legacy maximum version value. Note that only versions supported by this l
common.go:1246
↓ 2 callersFunctionsupportsECDHE
supportsECDHE returns whether ECDHE key exchanges can be used with this pre-TLS 1.3 client.
handshake_server.go:350
↓ 2 callersFunctiontestBuffering
(t *testing.T, version uint16)
handshake_client_test.go:2150
↓ 2 callersFunctiontestClientHello
(t *testing.T, serverConfig *Config, m handshakeMessage)
handshake_server_test.go:33
↓ 2 callersFunctiontestCrossVersionResume
(t *testing.T, version uint16)
handshake_server_test.go:519
↓ 2 callersFunctiontestECHSpec
(t *testing.T, spec *ClientHelloSpec, expectSuccess bool)
tls_test.go:2072
↓ 2 callersFunctiontestGetClientCertificate
(t *testing.T, version uint16)
handshake_client_test.go:2374
↓ 2 callersFunctiontestQUICEarlyDataDeclined
(t *testing.T, server bool)
quic_test.go:571
↓ 2 callersFunctiontestResumption
(t *testing.T, version uint16)
handshake_client_test.go:849
↓ 2 callersFunctiontestResumptionKeepsOCSPAndSCT
(t *testing.T, ver uint16)
handshake_client_test.go:2558
↓ 2 callersFunctiontestSCTHandshake
(t *testing.T, version uint16)
handshake_server_test.go:486
↓ 2 callersFunctiontestUTLSHandshakeClientTLS13_AES_128_GCM_SHA256
(t *testing.T, hello helloStrategy)
u_conn_test.go:376
↓ 2 callersFunctiontestUTLSHandshakeClientTLS13_AES_256_GCM_SHA384
(t *testing.T, hello helloStrategy)
u_conn_test.go:389
↓ 2 callersFunctiontestUTLSHandshakeClientTLS13_CHACHA20_POLY1305_SHA256
(t *testing.T, hello helloStrategy)
u_conn_test.go:402
↓ 2 callersFunctiontestUtlsHandshake
(t *testing.T, clientConfig, serverConfig *Config, spec *ClientHelloSpec)
handshake_test.go:482
↓ 2 callersFunctiontestVerifyCertificates
(t *testing.T, version uint16)
tls_test.go:1728
↓ 2 callersFunctiontestVerifyConnection
(t *testing.T, version uint16)
handshake_client_test.go:1573
↓ 2 callersFunctiontestVerifyPeerCertificate
(t *testing.T, version uint16)
handshake_client_test.go:1800
↓ 2 callersFunctionthroughput
(b *testing.B, version uint16, totalBytes int64, dynamicRecordSizingDisabled bool)
tls_test.go:949
↓ 2 callersMethodtoPrivate
()
u_public.go:255
↓ 2 callersMethodtoPublic
()
u_public.go:242
↓ 2 callersMethodtrafficKey
trafficKey generates traffic keys according to RFC 8446, Section 7.3.
key_schedule.go:28
↓ 2 callersFunctionunmarshalCertificate
(s *cryptobyte.String, certificate *Certificate)
handshake_messages.go:1580
↓ 1 callersFunctionAlwaysPadToLen
AlwaysPadToLen could be used for parsed ClientHello, since some fingerprints might not use BoringSSL padding style and we want to pad to a the same le
u_tls_extensions.go:1126
↓ 1 callersMethodApplyConfig
()
u_conn.go:483
↓ 1 callersFunctionCPUIsSlow
CPUIsSlow reports whether the CPU running the test is suspected to be slow.
testenv/testenv.go:350
↓ 1 callersFunctionCanInternalLink
CanInternalLink reports whether the current system can link programs with internal linking. (This is the opposite of cmd/internal/sys.MustLinkExternal
testenv/testenv.go:257
↓ 1 callersMethodCipherSuites
()
u_clienthello_json.go:58
↓ 1 callersMethodCompressionMethods
()
u_clienthello_json.go:83
↓ 1 callersMethodConstantTimeSum
(b []byte)
cipher_suites.go:592
↓ 1 callersMethodDecap
(encPubEph []byte, secRecipient *ecdh.PrivateKey)
internal/hpke/hpke.go:110
↓ 1 callersMethodEarlyExporterMasterSecret
EarlyExporterMasterSecret derives the exporter_master_secret from the early secret and the transcript up to the ClientHello.
internal/tls13/tls13.go:163
↓ 1 callersMethodEncap
(pubRecipient *ecdh.PublicKey)
internal/hpke/hpke.go:88
↓ 1 callersMethodExporter
(label string, context []byte, length int)
internal/tls13/tls13.go:170
↓ 1 callersMethodExtensions
()
u_clienthello_json.go:150
↓ 1 callersMethodFromRaw
FromRaw converts a ClientHello message in the form of raw bytes into a ClientHelloSpec. ctrlFlags: []bool{bluntMimicry, realPSK}
u_common.go:483
↓ 1 callersMethodGetCiphers
()
u_parrots.go:3219
↓ 1 callersMethodGetGREASEID
GetGREASEID returns a random valid GREASE ID for transport parameters.
u_quic_transport_parameters.go:81
↓ 1 callersMethodGetGREASEVersion
()
u_quic_transport_parameters.go:263
↓ 1 callersMethodGetPreSharedKeyCommon
GetPreSharedKeyCommon retrieves the final PreSharedKey-related states as defined in PreSharedKeyCommon.
u_pre_shared_key.go:85
↓ 1 callersMethodGetSession
()
u_session_ticket.go:15
↓ 1 callersMethodGetTicket
()
u_session_ticket.go:17
↓ 1 callersFunctionGoTool
GoTool reports the path to the Go tool.
testenv/testenv.go:157
↓ 1 callersFunctionGoToolPath
GoToolPath reports the path to the Go tool. It is a convenience wrapper around GoTool. If the tool is unavailable GoToolPath calls t.Skip. If the tool
testenv/testenv.go:141
↓ 1 callersMethodHandshakeContext
HandshakeContext runs the client or server handshake protocol if it has not yet been run. The provided Context must be non-nil. If the context is can
u_conn.go:311
↓ 1 callersFunctionHasExec
HasExec reports whether the current system can start new processes using os.StartProcess or (more commonly) exec.Command.
testenv/testenv.go:178
↓ 1 callersFunctionHasGoRun
HasGoRun reports whether the current system can run programs with ``go run.''
testenv/testenv.go:124
↓ 1 callersFunctionHasLink
HasLink reports whether the current system can use os.Link.
testenv/testenv.go:296
↓ 1 callersFunctionHttpGetByHelloID
(hostname string, addr string, helloID tls.ClientHelloID)
examples/old/examples.go:38
↓ 1 callersFunctionHttpGetConsistentRandomized
this example generates a randomized fingeprint, then re-uses it in a follow-up connection
examples/old/examples.go:56
↓ 1 callersFunctionHttpGetCustom
var requestHostname = "defo.ie" // speaks http2 and TLS 1.3 and ECH and PQ var requestAddr = "defo.ie:443" var requestPath = "/ech-check.php" var requ
examples/ech/main.go:42
↓ 1 callersFunctionHttpGetCustom
(hostname string, addr string)
examples/old/examples.go:189
↓ 1 callersFunctionHttpGetDefault
(hostname string, addr string)
examples/old/examples.go:27
↓ 1 callersFunctionHttpGetExplicitRandom
(hostname string, addr string)
examples/old/examples.go:86
↓ 1 callersFunctionHttpGetGoogleWithRoller
this example creates a new roller for each function call, however it is advised to reuse the Roller
examples/old/examples.go:263
↓ 1 callersFunctionHttpGetTicket
Note that the server will reject the fake ticket(unless you set up your server to accept them) and do full handshake
examples/old/examples.go:119
↓ 1 callersFunctionHttpGetTicketHelloID
Note that the server will reject the fake ticket(unless you set up your server to accept them) and do full handshake
examples/old/examples.go:159
↓ 1 callersMethodID
()
u_quic_transport_parameters.go:60
↓ 1 callersMethodImportTLSClientHello
Import TLS ClientHello data from client.tlsfingerprint.io:8443 data is a map of []byte with following keys: - cipher_suites: [10, 10, 19, 1, 19, 2, 1
u_common.go:307
↓ 1 callersMethodIsGREASEID
IsGREASEID returns true if id is a valid GREASE ID for transport parameters.
u_quic_transport_parameters.go:76
↓ 1 callersFunctionLEUint32
(b []byte)
internal/byteorder/byteorder.go:27
↓ 1 callersFunctionLen
Len determines the number of bytes that will be needed to write the number i.
internal/quicvarint/varint.go:127
↓ 1 callersMethodLen
()
u_pre_shared_key.go:353
↓ 1 callersMethodMarshalBinary
()
handshake_server_tls13.go:476
↓ 1 callersMethodMarshalClientHello
()
u_conn.go:567
↓ 1 callersFunctionMasterSecret
MasterSecret implements the TLS 1.2 extended master secret derivation, as defined in RFC 7627 and allowed by SP 800-135, Revision 1, Section 4.2.2.
internal/tls12/tls12.go:49
↓ 1 callersFunctionMustHaveExec
MustHaveExec checks that the current system can start new processes using os.StartProcess or (more commonly) exec.Command. If not, MustHaveExec calls
testenv/testenv.go:198
↓ 1 callersFunctionMustHaveExternalNetwork
MustHaveExternalNetwork checks that the current system can use external (non-localhost) networks. If not, MustHaveExternalNetwork calls t.Skip with an
testenv/testenv.go:231
↓ 1 callersFunctionNewClientSessionCache
()
examples/tls-resumption/main.go:16
↓ 1 callersFunctionNewGCMTLS
(_ cipher.Block)
internal/boring/notboring.go:10
↓ 1 callersFunctionNewGCMTLS13
(_ cipher.Block)
internal/boring/notboring.go:14
↓ 1 callersFunctionNewListener
NewListener creates a Listener which accepts connections from an inner Listener and wraps each connection with [Server]. The configuration config must
tls.go:77
↓ 1 callersFunctionNewMasterSecretFromSecret
(hash func() H, secret []byte)
internal/tls13/u_tls13.go:19
↓ 1 callersFunctionNewResumptionState
NewResumptionState returns a state value that can be returned by [ClientSessionCache.Get] to resume a previous session. state needs to be returned by
ticket.go:420
↓ 1 callersMethodNonceSize
()
cipher_suites.go:463
↓ 1 callersFunctionParseHPKEPrivateKey
(kemID uint16, bytes []byte)
internal/hpke/hpke.go:307
← previousnext →401–500 of 1,354, ranked by callers