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
↓ 309 callers
Function
logf
(tag string, format string, args ...interface{})
log.go:50
↓ 248 callers
Function
assertEquals
(t *testing.T, a, b interface{})
common_test.go:59
↓ 152 callers
Function
assertNotError
(t *testing.T, err error, msg string)
common_test.go:41
↓ 127 callers
Function
assertError
(t *testing.T, err error, msg string)
common_test.go:36
↓ 106 callers
Function
unhex
(h string)
common_test.go:13
↓ 90 callers
Function
assertByteEquals
(t *testing.T, a, b []byte)
common_test.go:64
↓ 86 callers
Method
Handshake
Handshake causes a TLS handshake on the connection. The `isClient` member determines whether a client or server handshake is performed. If a handsha
conn.go:728
↓ 82 callers
Method
Marshal
()
extensions.go:11
↓ 66 callers
Function
assertTrue
(t *testing.T, test bool, msg string)
common_test.go:21
↓ 60 callers
Method
Write
Write application data
conn.go:471
↓ 39 callers
Method
Type
()
extensions.go:10
↓ 39 callers
Function
assertDeepEquals
(t *testing.T, a, b interface{})
common_test.go:85
↓ 35 callers
Function
Server
Server returns a new TLS server side connection using conn as the underlying transport. The configuration config must be non-nil and must include at l
tls.go:16
↓ 34 callers
Function
Client
Client returns a new TLS client side connection using conn as the underlying transport. The config cannot be nil: users must set either ServerName or
tls.go:24
↓ 33 callers
Function
Unmarshal
(data []byte, v interface{})
syntax/decode.go:10
↓ 33 callers
Function
pipe
()
conn_test.go:29
↓ 32 callers
Function
Marshal
(v interface{})
syntax/encode.go:11
↓ 32 callers
Function
unhex
(encoded string)
syntax/success_test.go:12
↓ 29 callers
Method
GetHsState
()
conn.go:868
↓ 29 callers
Method
Size
()
conn.go:35
↓ 28 callers
Method
Add
(src ExtensionBody)
extensions.go:53
↓ 24 callers
Function
newBufferedConn
(p net.Conn)
conn_test.go:164
↓ 21 callers
Method
Public
()
crypto_test.go:44
↓ 21 callers
Method
Read
Read application data up to the size of buffer. Handshake and alert records are consumed by the Conn object directly.
conn.go:414
↓ 21 callers
Method
ReadMessage
()
conn.go:696
↓ 21 callers
Function
deriveSecret
(params CipherSuiteParams, secret []byte, label string, messageHash []byte)
crypto.go:593
↓ 20 callers
Function
NewRecordLayerTLS
(conn io.ReadWriter, dir Direction)
record-layer.go:138
↓ 19 callers
Method
ReadRecord
()
record-layer.go:80
↓ 19 callers
Method
addFragment
(in *HandshakeMessage, expected *HandshakeMessage)
handshake-layer_test.go:322
↓ 18 callers
Method
HandshakeMessageFromBody
(body HandshakeMessageBody)
handshake-layer.go:103
↓ 17 callers
Method
Write
(data []byte)
conn_test.go:66
↓ 17 callers
Function
makeTrafficKeys
(params CipherSuiteParams, secret []byte)
crypto.go:609
↓ 15 callers
Method
Flush
()
conn_test.go:142
↓ 15 callers
Method
Read
(data []byte)
conn_test.go:51
↓ 15 callers
Function
testRekeyHelper
(r RecordLayer, key []byte, iv []byte)
record-layer_test.go:28
↓ 14 callers
Method
Next
(handshakeMessageReader)
state-machine.go:39
↓ 14 callers
Method
SetAutoflush
()
conn_test.go:134
↓ 14 callers
Method
WriteRecord
(pt *TLSPlaintext)
record-layer.go:81
↓ 14 callers
Function
buffer
(size int)
syntax/success_test.go:20
↓ 14 callers
Function
hsUntilBlocked
(t *testing.T, c *Conn, b *bufferedConn)
conn_test.go:1457
↓ 14 callers
Function
verify
(alg SignatureScheme, publicKey crypto.PublicKey, sigInput []byte, sig []byte)
crypto.go:387
↓ 13 callers
Method
Close
Close closes the connection.
conn.go:539
↓ 13 callers
Function
keyExchangeSizeFromNamedGroup
(group NamedGroup)
crypto.go:143
↓ 13 callers
Function
safeUnmarshal
(pdu marshalledPDU, data []byte)
handshake-layer.go:561
↓ 12 callers
Function
HkdfExtract
0 | v PSK -> HKDF-Extract = Early Secret | +-----> Derive-Secret(., | "ext binder" | | "res binder", |
crypto.go:505
↓ 11 callers
Function
HkdfExpandLabel
(hash crypto.Hash, secret []byte, label string, hashValue []byte, outLen int)
crypto.go:580
↓ 11 callers
Method
Len
()
syntax/encode.go:317
↓ 11 callers
Method
ToBody
()
handshake-layer.go:70
↓ 10 callers
Method
Error
()
alert.go:99
↓ 10 callers
Method
Parse
(dsts []ExtensionBody)
extensions.go:79
↓ 10 callers
Method
Unmarshal
([]byte)
fuzz_test.go:65
↓ 10 callers
Function
assertNotNil
(t *testing.T, x interface{}, msg string)
common_test.go:54
↓ 10 callers
Function
computeExporter
(t *testing.T, c *Conn, label string, context []byte, length int)
conn_test.go:334
↓ 10 callers
Function
newKeyShare
(group NamedGroup)
crypto.go:214
↓ 10 callers
Function
newSigningKey
(sig SignatureScheme)
crypto.go:313
↓ 10 callers
Method
sendAlert
sendAlert sends a TLS alert message. c.out.Mutex <= L.
conn.go:512
↓ 10 callers
Function
sign
(alg SignatureScheme, privateKey crypto.Signer, sigInput []byte)
crypto.go:336
↓ 9 callers
Method
Lock
()
record-layer.go:72
↓ 9 callers
Method
Unlock
()
record-layer.go:73
↓ 9 callers
Method
Unmarshal
(data []byte)
handshake-messages.go:81
↓ 9 callers
Function
keyAgreement
(group NamedGroup, pub []byte, priv []byte)
crypto.go:262
↓ 9 callers
Function
newRecordLayerFromBytes
(b []byte)
record-layer_test.go:24
↓ 9 callers
Function
newTestHandshakeMessage
(t HandshakeType, m []byte)
handshake-layer_test.go:89
↓ 8 callers
Function
NewHandshakeLayerTLS
(c *HandshakeContext, r RecordLayer)
handshake-layer.go:156
↓ 8 callers
Method
Unmarshal
(data []byte)
extensions.go:259
↓ 8 callers
Method
ValidForType
(t reflect.Type)
syntax/tags.go:71
↓ 8 callers
Function
checkTimersEqualLabels
(t *testing.T, c *Conn, labels []string)
conn_test.go:1435
↓ 8 callers
Function
encodeUint
(v uint64, size int, out []byte)
handshake-layer.go:538
↓ 7 callers
Method
Find
(dst ExtensionBody)
extensions.go:102
↓ 7 callers
Method
SetVersion
(v uint16)
record-layer.go:74
↓ 7 callers
Method
String
()
alert.go:91
↓ 7 callers
Method
Truncated
TODO: File a spec bug to clarify this
handshake-messages.go:128
↓ 7 callers
Method
Unmarshal
(data []byte)
handshake-messages.go:311
↓ 7 callers
Method
Unmarshal
(data []byte)
extensions.go:410
↓ 7 callers
Method
addChunk
(in []byte)
frame-reader.go:55
↓ 7 callers
Function
assert
(b bool)
common.go:262
↓ 7 callers
Function
assertCipherSuiteParamsEquals
(t *testing.T, a, b CipherSuiteParams)
common_test.go:74
↓ 7 callers
Function
assertNotByteEquals
(t *testing.T, a, b []byte)
common_test.go:69
↓ 7 callers
Method
label
()
conn.go:923
↓ 7 callers
Function
newFrameReader
(d framing)
frame-reader.go:28
↓ 7 callers
Function
newHsFragment
(full []byte, seq uint32, offset uint32, fragLen uint32)
handshake-layer_test.go:310
↓ 7 callers
Function
parseTag
parseTag parses a struct field's "tls" tag as a comma-separated list of name=value pairs, where the values MUST be unsigned integers, or in the specia
syntax/tags.go:121
↓ 7 callers
Method
process
()
frame-reader.go:61
↓ 7 callers
Function
typeDecoder
(t reflect.Type)
syntax/decode.go:64
↓ 7 callers
Function
typeEncoder
(t reflect.Type)
syntax/encode.go:59
↓ 7 callers
Function
writeUint
(e *encodeState, u uint64, len int)
syntax/encode.go:191
↓ 6 callers
Method
Accept
Accept waits for and returns the next incoming TLS connection. The returned connection c is a *tls.Conn.
tls.go:36
↓ 6 callers
Function
CertificateSelection
(serverName *string, signatureSchemes []SignatureScheme, certs []*Certificate)
negotiation.go:137
↓ 6 callers
Function
NewDefaultCookieProtector
NewDefaultCookieProtector creates a source for source address tokens
cookie-protector.go:33
↓ 6 callers
Method
Sign
(io.Reader, []byte, crypto.SignerOpts)
crypto_test.go:48
↓ 6 callers
Method
Verify
(publicKey crypto.PublicKey, handshakeHash []byte)
handshake-messages.go:372
↓ 6 callers
Function
checkConsistency
(t *testing.T, client *Conn, server *Conn)
conn_test.go:341
↓ 6 callers
Function
computeFinishedData
(params CipherSuiteParams, baseKey []byte, input []byte)
crypto.go:597
↓ 6 callers
Function
decodeUint
(in []byte, size int)
handshake-layer.go:546
↓ 6 callers
Function
newHandshakeLayerFromBytes
(d []byte)
handshake-layer_test.go:172
↓ 6 callers
Function
newTestReassembleFixture
(t *testing.T)
handshake-layer_test.go:280
↓ 6 callers
Function
recordHeaderHex
(data []byte)
handshake-layer_test.go:20
↓ 5 callers
Function
ALPNNegotiation
(psk *PreSharedKey, offered, supported []string)
negotiation.go:197
↓ 5 callers
Method
Clone
Clone returns a shallow clone of c. It is safe to clone a Config that is being used concurrently by a TLS client or server.
conn.go:141
↓ 5 callers
Function
DHNegotiation
(keyShares []KeyShareEntry, groups []NamedGroup)
negotiation.go:25
next →
1–100 of 581, ranked by callers