MCPcopy Create free account

hub / github.com/bifurcation/mint / functions

Functions581 in github.com/bifurcation/mint

↓ 309 callersFunctionlogf
(tag string, format string, args ...interface{})
log.go:50
↓ 248 callersFunctionassertEquals
(t *testing.T, a, b interface{})
common_test.go:59
↓ 152 callersFunctionassertNotError
(t *testing.T, err error, msg string)
common_test.go:41
↓ 127 callersFunctionassertError
(t *testing.T, err error, msg string)
common_test.go:36
↓ 106 callersFunctionunhex
(h string)
common_test.go:13
↓ 90 callersFunctionassertByteEquals
(t *testing.T, a, b []byte)
common_test.go:64
↓ 86 callersMethodHandshake
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 callersMethodMarshal
()
extensions.go:11
↓ 66 callersFunctionassertTrue
(t *testing.T, test bool, msg string)
common_test.go:21
↓ 60 callersMethodWrite
Write application data
conn.go:471
↓ 39 callersMethodType
()
extensions.go:10
↓ 39 callersFunctionassertDeepEquals
(t *testing.T, a, b interface{})
common_test.go:85
↓ 35 callersFunctionServer
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 callersFunctionClient
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 callersFunctionUnmarshal
(data []byte, v interface{})
syntax/decode.go:10
↓ 33 callersFunctionpipe
()
conn_test.go:29
↓ 32 callersFunctionMarshal
(v interface{})
syntax/encode.go:11
↓ 32 callersFunctionunhex
(encoded string)
syntax/success_test.go:12
↓ 29 callersMethodGetHsState
()
conn.go:868
↓ 29 callersMethodSize
()
conn.go:35
↓ 28 callersMethodAdd
(src ExtensionBody)
extensions.go:53
↓ 24 callersFunctionnewBufferedConn
(p net.Conn)
conn_test.go:164
↓ 21 callersMethodPublic
()
crypto_test.go:44
↓ 21 callersMethodRead
Read application data up to the size of buffer. Handshake and alert records are consumed by the Conn object directly.
conn.go:414
↓ 21 callersMethodReadMessage
()
conn.go:696
↓ 21 callersFunctionderiveSecret
(params CipherSuiteParams, secret []byte, label string, messageHash []byte)
crypto.go:593
↓ 20 callersFunctionNewRecordLayerTLS
(conn io.ReadWriter, dir Direction)
record-layer.go:138
↓ 19 callersMethodReadRecord
()
record-layer.go:80
↓ 19 callersMethodaddFragment
(in *HandshakeMessage, expected *HandshakeMessage)
handshake-layer_test.go:322
↓ 18 callersMethodHandshakeMessageFromBody
(body HandshakeMessageBody)
handshake-layer.go:103
↓ 17 callersMethodWrite
(data []byte)
conn_test.go:66
↓ 17 callersFunctionmakeTrafficKeys
(params CipherSuiteParams, secret []byte)
crypto.go:609
↓ 15 callersMethodFlush
()
conn_test.go:142
↓ 15 callersMethodRead
(data []byte)
conn_test.go:51
↓ 15 callersFunctiontestRekeyHelper
(r RecordLayer, key []byte, iv []byte)
record-layer_test.go:28
↓ 14 callersMethodNext
(handshakeMessageReader)
state-machine.go:39
↓ 14 callersMethodSetAutoflush
()
conn_test.go:134
↓ 14 callersMethodWriteRecord
(pt *TLSPlaintext)
record-layer.go:81
↓ 14 callersFunctionbuffer
(size int)
syntax/success_test.go:20
↓ 14 callersFunctionhsUntilBlocked
(t *testing.T, c *Conn, b *bufferedConn)
conn_test.go:1457
↓ 14 callersFunctionverify
(alg SignatureScheme, publicKey crypto.PublicKey, sigInput []byte, sig []byte)
crypto.go:387
↓ 13 callersMethodClose
Close closes the connection.
conn.go:539
↓ 13 callersFunctionkeyExchangeSizeFromNamedGroup
(group NamedGroup)
crypto.go:143
↓ 13 callersFunctionsafeUnmarshal
(pdu marshalledPDU, data []byte)
handshake-layer.go:561
↓ 12 callersFunctionHkdfExtract
0 | v PSK -> HKDF-Extract = Early Secret | +-----> Derive-Secret(., | "ext binder" | | "res binder", |
crypto.go:505
↓ 11 callersFunctionHkdfExpandLabel
(hash crypto.Hash, secret []byte, label string, hashValue []byte, outLen int)
crypto.go:580
↓ 11 callersMethodLen
()
syntax/encode.go:317
↓ 11 callersMethodToBody
()
handshake-layer.go:70
↓ 10 callersMethodError
()
alert.go:99
↓ 10 callersMethodParse
(dsts []ExtensionBody)
extensions.go:79
↓ 10 callersMethodUnmarshal
([]byte)
fuzz_test.go:65
↓ 10 callersFunctionassertNotNil
(t *testing.T, x interface{}, msg string)
common_test.go:54
↓ 10 callersFunctioncomputeExporter
(t *testing.T, c *Conn, label string, context []byte, length int)
conn_test.go:334
↓ 10 callersFunctionnewKeyShare
(group NamedGroup)
crypto.go:214
↓ 10 callersFunctionnewSigningKey
(sig SignatureScheme)
crypto.go:313
↓ 10 callersMethodsendAlert
sendAlert sends a TLS alert message. c.out.Mutex <= L.
conn.go:512
↓ 10 callersFunctionsign
(alg SignatureScheme, privateKey crypto.Signer, sigInput []byte)
crypto.go:336
↓ 9 callersMethodLock
()
record-layer.go:72
↓ 9 callersMethodUnlock
()
record-layer.go:73
↓ 9 callersMethodUnmarshal
(data []byte)
handshake-messages.go:81
↓ 9 callersFunctionkeyAgreement
(group NamedGroup, pub []byte, priv []byte)
crypto.go:262
↓ 9 callersFunctionnewRecordLayerFromBytes
(b []byte)
record-layer_test.go:24
↓ 9 callersFunctionnewTestHandshakeMessage
(t HandshakeType, m []byte)
handshake-layer_test.go:89
↓ 8 callersFunctionNewHandshakeLayerTLS
(c *HandshakeContext, r RecordLayer)
handshake-layer.go:156
↓ 8 callersMethodUnmarshal
(data []byte)
extensions.go:259
↓ 8 callersMethodValidForType
(t reflect.Type)
syntax/tags.go:71
↓ 8 callersFunctioncheckTimersEqualLabels
(t *testing.T, c *Conn, labels []string)
conn_test.go:1435
↓ 8 callersFunctionencodeUint
(v uint64, size int, out []byte)
handshake-layer.go:538
↓ 7 callersMethodFind
(dst ExtensionBody)
extensions.go:102
↓ 7 callersMethodSetVersion
(v uint16)
record-layer.go:74
↓ 7 callersMethodString
()
alert.go:91
↓ 7 callersMethodTruncated
TODO: File a spec bug to clarify this
handshake-messages.go:128
↓ 7 callersMethodUnmarshal
(data []byte)
handshake-messages.go:311
↓ 7 callersMethodUnmarshal
(data []byte)
extensions.go:410
↓ 7 callersMethodaddChunk
(in []byte)
frame-reader.go:55
↓ 7 callersFunctionassert
(b bool)
common.go:262
↓ 7 callersFunctionassertCipherSuiteParamsEquals
(t *testing.T, a, b CipherSuiteParams)
common_test.go:74
↓ 7 callersFunctionassertNotByteEquals
(t *testing.T, a, b []byte)
common_test.go:69
↓ 7 callersMethodlabel
()
conn.go:923
↓ 7 callersFunctionnewFrameReader
(d framing)
frame-reader.go:28
↓ 7 callersFunctionnewHsFragment
(full []byte, seq uint32, offset uint32, fragLen uint32)
handshake-layer_test.go:310
↓ 7 callersFunctionparseTag
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 callersMethodprocess
()
frame-reader.go:61
↓ 7 callersFunctiontypeDecoder
(t reflect.Type)
syntax/decode.go:64
↓ 7 callersFunctiontypeEncoder
(t reflect.Type)
syntax/encode.go:59
↓ 7 callersFunctionwriteUint
(e *encodeState, u uint64, len int)
syntax/encode.go:191
↓ 6 callersMethodAccept
Accept waits for and returns the next incoming TLS connection. The returned connection c is a *tls.Conn.
tls.go:36
↓ 6 callersFunctionCertificateSelection
(serverName *string, signatureSchemes []SignatureScheme, certs []*Certificate)
negotiation.go:137
↓ 6 callersFunctionNewDefaultCookieProtector
NewDefaultCookieProtector creates a source for source address tokens
cookie-protector.go:33
↓ 6 callersMethodSign
(io.Reader, []byte, crypto.SignerOpts)
crypto_test.go:48
↓ 6 callersMethodVerify
(publicKey crypto.PublicKey, handshakeHash []byte)
handshake-messages.go:372
↓ 6 callersFunctioncheckConsistency
(t *testing.T, client *Conn, server *Conn)
conn_test.go:341
↓ 6 callersFunctioncomputeFinishedData
(params CipherSuiteParams, baseKey []byte, input []byte)
crypto.go:597
↓ 6 callersFunctiondecodeUint
(in []byte, size int)
handshake-layer.go:546
↓ 6 callersFunctionnewHandshakeLayerFromBytes
(d []byte)
handshake-layer_test.go:172
↓ 6 callersFunctionnewTestReassembleFixture
(t *testing.T)
handshake-layer_test.go:280
↓ 6 callersFunctionrecordHeaderHex
(data []byte)
handshake-layer_test.go:20
↓ 5 callersFunctionALPNNegotiation
(psk *PreSharedKey, offered, supported []string)
negotiation.go:197
↓ 5 callersMethodClone
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 callersFunctionDHNegotiation
(keyShares []KeyShareEntry, groups []NamedGroup)
negotiation.go:25
next →1–100 of 581, ranked by callers