MCPcopy Create free account

hub / github.com/bifurcation/mint / functions

Functions581 in github.com/bifurcation/mint

↓ 5 callersFunctionDial
Dial connects to the given network address using net.Dial and then initiates a TLS handshake, returning the resulting TLS connection. Dial interprets
tls.go:177
↓ 5 callersFunctionEarlyDataNegotiation
(usingPSK, gotEarlyData, allowEarlyData bool)
negotiation.go:171
↓ 5 callersMethodGet
(string)
conn.go:33
↓ 5 callersMethodGetDTLSTimeout
()
dtls.go:131
↓ 5 callersFunctionNewRecordLayerDTLS
(conn io.ReadWriter, dir Direction)
record-layer.go:149
↓ 5 callersMethodUnmarshal
(data []byte)
handshake-messages.go:193
↓ 5 callersMethodUnmarshal
(data []byte)
extensions.go:42
↓ 5 callersMethodcancel
()
timer.go:118
↓ 5 callersFunctioncheckFrame
(t *testing.T, hdr []byte, body []byte)
frame-reader_test.go:28
↓ 5 callersFunctionhexBuffer
(size int)
syntax/success_test.go:24
↓ 5 callersMethodincrementSequenceNumber
()
record-layer.go:226
↓ 5 callersFunctionnamedGroupFromECDSAKey
(key *ecdsa.PublicKey)
crypto.go:131
↓ 5 callersMethodtakeAction
(actionGeneric HandshakeAction)
conn.go:575
↓ 5 callersFunctiontestWriteHandshakeMessage
(h *HandshakeLayer, hm *HandshakeMessage)
handshake-layer_test.go:226
↓ 4 callersFunctionCipherSuiteNegotiation
(psk *PreSharedKey, offered, supported []CipherSuite)
negotiation.go:178
↓ 4 callersMethodClose
()
conn_test.go:75
↓ 4 callersMethodDecodeToken
DecodeToken decodes a token.
cookie-protector.go:55
↓ 4 callersFunctionMakeNewSelfSignedCert
(name string, alg SignatureScheme)
crypto.go:618
↓ 4 callersFunctionPSKModeNegotiation
(canDoDH, canDoPSK bool, modes []PSKKeyExchangeMode)
negotiation.go:118
↓ 4 callersFunctionPSKNegotiation
(identities []PSKIdentity, binders []PSKBinderEntry, context []byte, psks PreSharedKeyCache)
negotiation.go:55
↓ 4 callersMethodReceive
(hs HandshakeType, el *ExtensionList)
state-machine.go:45
↓ 4 callersMethodSend
(hs HandshakeType, el *ExtensionList)
state-machine.go:44
↓ 4 callersMethodSizeValid
()
extensions.go:202
↓ 4 callersMethodUnmarshal
(data []byte)
extensions.go:28
↓ 4 callersMethodUnmarshal
(data []byte)
extensions.go:584
↓ 4 callersMethodWriteRecordWithPadding
(pt *TLSPlaintext, padLen int)
record-layer.go:457
↓ 4 callersFunctioncurveFromNamedGroup
(group NamedGroup)
crypto.go:119
↓ 4 callersFunctionhsRunHandshakeOneThread
(t *testing.T, client *Conn, server *Conn)
conn_test.go:1493
↓ 4 callersFunctionhsUntilComplete
(t *testing.T, c *Conn)
conn_test.go:1478
↓ 4 callersFunctionnewLocalListener
(t *testing.T)
tls_test.go:11
↓ 4 callersFunctionnewSelfSigned
(name string, alg SignatureScheme, priv crypto.Signer)
crypto.go:631
↓ 4 callersMethodoverhead
()
record-layer.go:237
↓ 4 callersFunctionrandom
(n int)
crypto_test.go:354
↓ 4 callersFunctionreadWriteExpectFail
(t *testing.T, c *Conn)
conn_test.go:1608
↓ 4 callersMethodstart
(label string, cb timerCb, delayMs uint32)
timer.go:28
↓ 3 callersMethodClearQueuedMessages
()
handshake-layer.go:422
↓ 3 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:92
↓ 3 callersMethodEpoch
()
record-layer.go:82
↓ 3 callersMethodInit
(isClient bool)
conn.go:175
↓ 3 callersFunctionListen
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:68
↓ 3 callersMethodMarshal
Note: This could be done with the `syntax` module, using the simplified syntax as discussed above. However, since this is so simple, there's not much
handshake-layer.go:45
↓ 3 callersFunctionNewHandshakeLayerDTLS
(c *HandshakeContext, r RecordLayer)
handshake-layer.go:166
↓ 3 callersMethodRekey
(epoch Epoch, factory AEADFactory, keys *KeySet)
record-layer.go:76
↓ 3 callersMethodSendKeyUpdate
(requestUpdate bool)
conn.go:839
↓ 3 callersMethodSendQueuedMessages
()
handshake-layer.go:413
↓ 3 callersMethodUnmarshal
(data []byte)
handshake-messages.go:350
↓ 3 callersFunctionVersionNegotiation
(offered, supported []uint16)
negotiation.go:10
↓ 3 callersMethodWritable
()
conn.go:909
↓ 3 callersFunctionatoi
(a string)
syntax/tags.go:110
↓ 3 callersFunctiondecodeUintFromBuffer
(buf []byte)
syntax/decode.go:199
↓ 3 callersMethodheaderLen
()
record-layer.go:110
↓ 3 callersFunctionmessagesFromActions
TODO: Track instructions other than state changes
state-machine_test.go:25
↓ 3 callersFunctionmutuallyExclusive
(vals []bool)
syntax/tags.go:33
↓ 3 callersMethodneeded
()
frame-reader.go:47
↓ 3 callersFunctionnewCipherStateNull
()
record-layer.go:125
↓ 3 callersMethodnextRecord
(allowOldEpoch bool)
record-layer.go:337
↓ 3 callersMethodnoteMessageDelivered
(seq uint32)
handshake-layer.go:248
↓ 3 callersFunctionparseLogEnv
(env []string)
log.go:34
↓ 3 callersMethodreceivedEndOfFlight
()
dtls.go:164
↓ 3 callersFunctionwireVersion
(h *HandshakeLayer)
dtls.go:32
↓ 3 callersMethodwriteRecordWithPadding
(pt *TLSPlaintext, cipher *cipherState, padLen int)
record-layer.go:461
↓ 2 callersMethodCheck
(t *testing.T, hs []HandshakeType)
conn_test.go:1154
↓ 2 callersMethodClear
()
conn_test.go:160
↓ 2 callersMethodConnectionState
()
conn.go:892
↓ 2 callersMethodEmpty
()
conn_test.go:89
↓ 2 callersMethodEncodeSignatureInput
(data []byte)
handshake-messages.go:354
↓ 2 callersMethodHasIdentity
(id []byte)
extensions.go:442
↓ 2 callersFunctionHkdfExpand
(hash crypto.Hash, prk, info []byte, outLen int)
crypto.go:562
↓ 2 callersMethodKeyUpdate
(request KeyUpdateRequest)
state-machine.go:113
↓ 2 callersMethodMarshal
()
handshake-layer.go:557
↓ 2 callersFunctionNewConn
(conn net.Conn, config *Config, isClient bool)
conn.go:279
↓ 2 callersMethodNewLayer
(conn io.ReadWriter, dir Direction)
record-layer.go:68
↓ 2 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:54
↓ 2 callersFunctionNewSessionTicket
(ticketLen int, ticketLifetime uint32)
handshake-messages.go:416
↓ 2 callersMethodNewToken
NewToken encodes data into a new token.
cookie-protector.go:42
↓ 2 callersMethodPeekRecordType
(block bool)
record-layer.go:79
↓ 2 callersMethodPut
(string, PreSharedKey)
conn.go:34
↓ 2 callersMethodSetLabel
(s string)
record-layer.go:75
↓ 2 callersMethodSign
(privateKey crypto.Signer, handshakeHash []byte)
handshake-messages.go:365
↓ 2 callersMethodUnmarshal
(data []byte)
handshake-messages.go:229
↓ 2 callersMethodUnmarshal
(data []byte)
extensions.go:163
↓ 2 callersMethodValidForTLS
()
syntax/tags.go:12
↓ 2 callersMethodWriteMessage
(hm *HandshakeMessage)
handshake-layer.go:496
↓ 2 callersMethodWriteMessages
(hms []*HandshakeMessage)
handshake-layer.go:524
↓ 2 callersFunctionassertNil
(t *testing.T, x interface{}, msg string)
common_test.go:49
↓ 2 callersFunctionassertSameType
(t *testing.T, a, b interface{})
common_test.go:90
↓ 2 callersMethodcheck
TODO(ekr@rtfm.com): optimize this now that the list is sorted. We should be able to do just one list manipulation, as long as we're careful about how
timer.go:58
↓ 2 callersMethodcheckMessageAvailable
()
handshake-layer.go:296
↓ 2 callersMethodcombineSeq
(datagram bool)
record-layer.go:202
↓ 2 callersMethodcomputeNonce
(seq uint64)
record-layer.go:210
↓ 2 callersMethodcreateAEAD
(nonce []byte)
cookie-protector.go:67
↓ 2 callersFunctiondecodeLength
(d *decodeState, opts fieldOptions)
syntax/decode.go:235
↓ 2 callersFunctiondup
(a []byte)
frame-reader.go:41
↓ 2 callersFunctionencodeLength
(e *encodeState, n int, opts fieldOptions)
syntax/encode.go:219
↓ 2 callersMethodgenerateHRR
(cs CipherSuite, legacySessionId []byte, cookieExt *CookieExtension)
server-state-machine.go:406
↓ 2 callersMethodheaderLen
()
frame-reader.go:6
↓ 2 callersFunctionhkdfEncodeLabel
struct HkdfLabel { uint16 length; opaque label<9..255>; opaque hash_value<0..255>; };
crypto.go:546
↓ 2 callersFunctionnewCipherStateAead
(epoch Epoch, factory AEADFactory, key []byte, iv []byte)
record-layer.go:129
↓ 2 callersFunctionnewTestExtensionHandler
()
conn_test.go:1100
↓ 2 callersFunctionnewTimerSet
()
timer.go:24
← previousnext →101–200 of 581, ranked by callers