Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bifurcation/mint
/ functions
Functions
581 in github.com/bifurcation/mint
⨍
Functions
581
◇
Types & classes
167
↓ 5 callers
Function
Dial
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 callers
Function
EarlyDataNegotiation
(usingPSK, gotEarlyData, allowEarlyData bool)
negotiation.go:171
↓ 5 callers
Method
Get
(string)
conn.go:33
↓ 5 callers
Method
GetDTLSTimeout
()
dtls.go:131
↓ 5 callers
Function
NewRecordLayerDTLS
(conn io.ReadWriter, dir Direction)
record-layer.go:149
↓ 5 callers
Method
Unmarshal
(data []byte)
handshake-messages.go:193
↓ 5 callers
Method
Unmarshal
(data []byte)
extensions.go:42
↓ 5 callers
Method
cancel
()
timer.go:118
↓ 5 callers
Function
checkFrame
(t *testing.T, hdr []byte, body []byte)
frame-reader_test.go:28
↓ 5 callers
Function
hexBuffer
(size int)
syntax/success_test.go:24
↓ 5 callers
Method
incrementSequenceNumber
()
record-layer.go:226
↓ 5 callers
Function
namedGroupFromECDSAKey
(key *ecdsa.PublicKey)
crypto.go:131
↓ 5 callers
Method
takeAction
(actionGeneric HandshakeAction)
conn.go:575
↓ 5 callers
Function
testWriteHandshakeMessage
(h *HandshakeLayer, hm *HandshakeMessage)
handshake-layer_test.go:226
↓ 4 callers
Function
CipherSuiteNegotiation
(psk *PreSharedKey, offered, supported []CipherSuite)
negotiation.go:178
↓ 4 callers
Method
Close
()
conn_test.go:75
↓ 4 callers
Method
DecodeToken
DecodeToken decodes a token.
cookie-protector.go:55
↓ 4 callers
Function
MakeNewSelfSignedCert
(name string, alg SignatureScheme)
crypto.go:618
↓ 4 callers
Function
PSKModeNegotiation
(canDoDH, canDoPSK bool, modes []PSKKeyExchangeMode)
negotiation.go:118
↓ 4 callers
Function
PSKNegotiation
(identities []PSKIdentity, binders []PSKBinderEntry, context []byte, psks PreSharedKeyCache)
negotiation.go:55
↓ 4 callers
Method
Receive
(hs HandshakeType, el *ExtensionList)
state-machine.go:45
↓ 4 callers
Method
Send
(hs HandshakeType, el *ExtensionList)
state-machine.go:44
↓ 4 callers
Method
SizeValid
()
extensions.go:202
↓ 4 callers
Method
Unmarshal
(data []byte)
extensions.go:28
↓ 4 callers
Method
Unmarshal
(data []byte)
extensions.go:584
↓ 4 callers
Method
WriteRecordWithPadding
(pt *TLSPlaintext, padLen int)
record-layer.go:457
↓ 4 callers
Function
curveFromNamedGroup
(group NamedGroup)
crypto.go:119
↓ 4 callers
Function
hsRunHandshakeOneThread
(t *testing.T, client *Conn, server *Conn)
conn_test.go:1493
↓ 4 callers
Function
hsUntilComplete
(t *testing.T, c *Conn)
conn_test.go:1478
↓ 4 callers
Function
newLocalListener
(t *testing.T)
tls_test.go:11
↓ 4 callers
Function
newSelfSigned
(name string, alg SignatureScheme, priv crypto.Signer)
crypto.go:631
↓ 4 callers
Method
overhead
()
record-layer.go:237
↓ 4 callers
Function
random
(n int)
crypto_test.go:354
↓ 4 callers
Function
readWriteExpectFail
(t *testing.T, c *Conn)
conn_test.go:1608
↓ 4 callers
Method
start
(label string, cb timerCb, delayMs uint32)
timer.go:28
↓ 3 callers
Method
ClearQueuedMessages
()
handshake-layer.go:422
↓ 3 callers
Function
DialWithDialer
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 callers
Method
Epoch
()
record-layer.go:82
↓ 3 callers
Method
Init
(isClient bool)
conn.go:175
↓ 3 callers
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:68
↓ 3 callers
Method
Marshal
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 callers
Function
NewHandshakeLayerDTLS
(c *HandshakeContext, r RecordLayer)
handshake-layer.go:166
↓ 3 callers
Method
Rekey
(epoch Epoch, factory AEADFactory, keys *KeySet)
record-layer.go:76
↓ 3 callers
Method
SendKeyUpdate
(requestUpdate bool)
conn.go:839
↓ 3 callers
Method
SendQueuedMessages
()
handshake-layer.go:413
↓ 3 callers
Method
Unmarshal
(data []byte)
handshake-messages.go:350
↓ 3 callers
Function
VersionNegotiation
(offered, supported []uint16)
negotiation.go:10
↓ 3 callers
Method
Writable
()
conn.go:909
↓ 3 callers
Function
atoi
(a string)
syntax/tags.go:110
↓ 3 callers
Function
decodeUintFromBuffer
(buf []byte)
syntax/decode.go:199
↓ 3 callers
Method
headerLen
()
record-layer.go:110
↓ 3 callers
Function
messagesFromActions
TODO: Track instructions other than state changes
state-machine_test.go:25
↓ 3 callers
Function
mutuallyExclusive
(vals []bool)
syntax/tags.go:33
↓ 3 callers
Method
needed
()
frame-reader.go:47
↓ 3 callers
Function
newCipherStateNull
()
record-layer.go:125
↓ 3 callers
Method
nextRecord
(allowOldEpoch bool)
record-layer.go:337
↓ 3 callers
Method
noteMessageDelivered
(seq uint32)
handshake-layer.go:248
↓ 3 callers
Function
parseLogEnv
(env []string)
log.go:34
↓ 3 callers
Method
receivedEndOfFlight
()
dtls.go:164
↓ 3 callers
Function
wireVersion
(h *HandshakeLayer)
dtls.go:32
↓ 3 callers
Method
writeRecordWithPadding
(pt *TLSPlaintext, cipher *cipherState, padLen int)
record-layer.go:461
↓ 2 callers
Method
Check
(t *testing.T, hs []HandshakeType)
conn_test.go:1154
↓ 2 callers
Method
Clear
()
conn_test.go:160
↓ 2 callers
Method
ConnectionState
()
conn.go:892
↓ 2 callers
Method
Empty
()
conn_test.go:89
↓ 2 callers
Method
EncodeSignatureInput
(data []byte)
handshake-messages.go:354
↓ 2 callers
Method
HasIdentity
(id []byte)
extensions.go:442
↓ 2 callers
Function
HkdfExpand
(hash crypto.Hash, prk, info []byte, outLen int)
crypto.go:562
↓ 2 callers
Method
KeyUpdate
(request KeyUpdateRequest)
state-machine.go:113
↓ 2 callers
Method
Marshal
()
handshake-layer.go:557
↓ 2 callers
Function
NewConn
(conn net.Conn, config *Config, isClient bool)
conn.go:279
↓ 2 callers
Method
NewLayer
(conn io.ReadWriter, dir Direction)
record-layer.go:68
↓ 2 callers
Function
NewListener
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 callers
Function
NewSessionTicket
(ticketLen int, ticketLifetime uint32)
handshake-messages.go:416
↓ 2 callers
Method
NewToken
NewToken encodes data into a new token.
cookie-protector.go:42
↓ 2 callers
Method
PeekRecordType
(block bool)
record-layer.go:79
↓ 2 callers
Method
Put
(string, PreSharedKey)
conn.go:34
↓ 2 callers
Method
SetLabel
(s string)
record-layer.go:75
↓ 2 callers
Method
Sign
(privateKey crypto.Signer, handshakeHash []byte)
handshake-messages.go:365
↓ 2 callers
Method
Unmarshal
(data []byte)
handshake-messages.go:229
↓ 2 callers
Method
Unmarshal
(data []byte)
extensions.go:163
↓ 2 callers
Method
ValidForTLS
()
syntax/tags.go:12
↓ 2 callers
Method
WriteMessage
(hm *HandshakeMessage)
handshake-layer.go:496
↓ 2 callers
Method
WriteMessages
(hms []*HandshakeMessage)
handshake-layer.go:524
↓ 2 callers
Function
assertNil
(t *testing.T, x interface{}, msg string)
common_test.go:49
↓ 2 callers
Function
assertSameType
(t *testing.T, a, b interface{})
common_test.go:90
↓ 2 callers
Method
check
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 callers
Method
checkMessageAvailable
()
handshake-layer.go:296
↓ 2 callers
Method
combineSeq
(datagram bool)
record-layer.go:202
↓ 2 callers
Method
computeNonce
(seq uint64)
record-layer.go:210
↓ 2 callers
Method
createAEAD
(nonce []byte)
cookie-protector.go:67
↓ 2 callers
Function
decodeLength
(d *decodeState, opts fieldOptions)
syntax/decode.go:235
↓ 2 callers
Function
dup
(a []byte)
frame-reader.go:41
↓ 2 callers
Function
encodeLength
(e *encodeState, n int, opts fieldOptions)
syntax/encode.go:219
↓ 2 callers
Method
generateHRR
(cs CipherSuite, legacySessionId []byte, cookieExt *CookieExtension)
server-state-machine.go:406
↓ 2 callers
Method
headerLen
()
frame-reader.go:6
↓ 2 callers
Function
hkdfEncodeLabel
struct HkdfLabel { uint16 length; opaque label<9..255>; opaque hash_value<0..255>; };
crypto.go:546
↓ 2 callers
Function
newCipherStateAead
(epoch Epoch, factory AEADFactory, key []byte, iv []byte)
record-layer.go:129
↓ 2 callers
Function
newTestExtensionHandler
()
conn_test.go:1100
↓ 2 callers
Function
newTimerSet
()
timer.go:24
← previous
next →
101–200 of 581, ranked by callers