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
↓ 2 callers
Function
primeFromNamedGroup
(group NamedGroup)
crypto.go:168
↓ 2 callers
Method
processAck
(data []byte)
dtls.go:87
↓ 2 callers
Function
randomBytes
(n int, rand *rand.Rand)
fuzz_test.go:56
↓ 2 callers
Function
readPartial
(in *[]byte, buffer []byte)
conn.go:403
↓ 2 callers
Function
readVarint
(d *decodeState)
syntax/decode.go:178
↓ 2 callers
Function
runParametrizedTest
This is the function you call.
common_test.go:135
↓ 2 callers
Function
writeVarint
(e *encodeState, u uint64)
syntax/encode.go:173
↓ 1 callers
Method
ComputeExporter
(label string, context []byte, keyLength int)
conn.go:875
↓ 1 callers
Method
Consistent
()
syntax/tags.go:43
↓ 1 callers
Method
DecodeToken
DecodeToken decodes a token
cookie-protector.go:19
↓ 1 callers
Method
Encode
(e *encodeState)
syntax/encode.go:336
↓ 1 callers
Method
Generate
Generate a byte string that is sent as a part of a cookie to the client in the HelloRetryRequest If Generate returns nil, mint will not send a HelloRe
conn.go:44
↓ 1 callers
Method
HandshakeSetup
()
conn.go:645
↓ 1 callers
Method
Lose
(m int)
conn_test.go:156
↓ 1 callers
Method
Marshal
()
handshake-messages.go:58
↓ 1 callers
Method
MarshalTLS
()
syntax/encode.go:23
↓ 1 callers
Method
NewSessionTicket
(length int, lifetime, earlyDataLifetime uint32)
state-machine.go:139
↓ 1 callers
Method
NewToken
NewToken creates a new token
cookie-protector.go:17
↓ 1 callers
Function
ParseCertificatesPEM
ParseCertificatesPEM parses a sequence of PEM-encoded certificate and returns them, can handle PEM encoded PKCS #7 structures. XXX: Inlined from githu
bin/mint-server-https/main.go:91
↓ 1 callers
Function
ParseOneCertificateFromPEM
ParseOneCertificateFromPEM attempts to parse one PEM encoded certificate object, either a raw x509 certificate or a PKCS #7 structure possibly contain
bin/mint-server-https/main.go:77
↓ 1 callers
Function
ParsePrivateKeyPEM
ParsePrivateKeyDER parses a PKCS #1, PKCS #8, or elliptic curve PEM-encoded private key. XXX: Inlined from github.com/cloudflare/cfssl because of buil
bin/mint-server-https/main.go:40
↓ 1 callers
Method
ProcessMessage
(hm *HandshakeMessage)
state-machine.go:185
↓ 1 callers
Method
QueueMessage
(hm *HandshakeMessage)
handshake-layer.go:403
↓ 1 callers
Method
ReadRecordAnyEpoch
()
record-layer.go:327
↓ 1 callers
Method
RemoteAddr
RemoteAddr returns the remote network address.
conn.go:551
↓ 1 callers
Method
ResetClear
(seq uint64)
record-layer.go:77
↓ 1 callers
Method
SetVersion
(version uint16)
state-machine.go:81
↓ 1 callers
Method
Size
()
syntax/encode.go:328
↓ 1 callers
Method
State
()
state-machine.go:40
↓ 1 callers
Method
Type
()
handshake-messages.go:54
↓ 1 callers
Method
Unmarshal
(data []byte)
handshake-layer.go:558
↓ 1 callers
Method
Unmarshal
(data []byte)
handshake-messages.go:256
↓ 1 callers
Method
Unmarshal
(data []byte)
handshake-messages.go:395
↓ 1 callers
Method
Unmarshal
(data []byte)
handshake-messages.go:464
↓ 1 callers
Method
Unmarshal
(data []byte)
handshake-messages.go:479
↓ 1 callers
Method
Unmarshal
(data []byte)
extensions.go:538
↓ 1 callers
Method
UnmarshalTLS
([]byte)
syntax/decode.go:25
↓ 1 callers
Method
ValidForServer
()
conn.go:201
↓ 1 callers
Method
Validate
Validate is called when receiving a ClientHello containing a Cookie. If validation failed, the handshake is aborted.
conn.go:47
↓ 1 callers
Method
Write
(data []byte)
record-layer_test.go:353
↓ 1 callers
Method
Write
(p []byte)
handshake-layer_test.go:16
↓ 1 callers
Method
consumeRecord
Read up
conn.go:307
↓ 1 callers
Method
decrypt
(seq uint64, header []byte, pt *TLSPlaintext)
record-layer.go:265
↓ 1 callers
Function
dtlsConvertVersion
(version uint16)
dtls.go:39
↓ 1 callers
Method
encode
(e *encodeState, v reflect.Value, opts fieldOptions)
syntax/encode.go:343
↓ 1 callers
Method
encrypt
(cipher *cipherState, seq uint64, header []byte, pt *TLSPlaintext, padLen int)
record-layer.go:244
↓ 1 callers
Function
ffdheKeyShareFromPrime
(p *big.Int)
crypto.go:196
↓ 1 callers
Method
fragmentAcked
(seq uint32, offset int, fraglen int)
dtls.go:196
↓ 1 callers
Method
frameLen
(hdr []byte)
frame-reader.go:8
↓ 1 callers
Method
getAllTimers
()
timer.go:106
↓ 1 callers
Method
getTimer
(label string)
timer.go:97
↓ 1 callers
Function
handleClient
(conn net.Conn)
bin/mint-server/main.go:50
↓ 1 callers
Method
headerLen
()
handshake-layer.go:137
↓ 1 callers
Method
marshal
(v interface{}, opts fieldOptions)
syntax/encode.go:30
↓ 1 callers
Function
newArrayDecoder
(t reflect.Type)
syntax/decode.go:228
↓ 1 callers
Function
newArrayEncoder
(t reflect.Type)
syntax/encode.go:212
↓ 1 callers
Method
newFragmentReceived
(hm *HandshakeMessage)
handshake-layer.go:260
↓ 1 callers
Function
newMapDecoder
(t reflect.Type)
syntax/decode.go:350
↓ 1 callers
Function
newMapEncoder
(t reflect.Type)
syntax/encode.go:366
↓ 1 callers
Function
newPointerDecoder
(t reflect.Type)
syntax/decode.go:433
↓ 1 callers
Function
newPointerEncoder
(t reflect.Type)
syntax/encode.go:398
↓ 1 callers
Function
newSliceDecoder
(t reflect.Type)
syntax/decode.go:304
↓ 1 callers
Function
newSliceEncoder
(t reflect.Type)
syntax/encode.go:260
↓ 1 callers
Function
newStructDecoder
(t reflect.Type)
syntax/decode.go:376
↓ 1 callers
Function
newStructEncoder
(t reflect.Type)
syntax/encode.go:278
↓ 1 callers
Function
newTypeDecoder
(t reflect.Type)
syntax/decode.go:73
↓ 1 callers
Function
newTypeEncoder
(t reflect.Type)
syntax/encode.go:68
↓ 1 callers
Function
newValidatorDecoder
(raw decoderFunc)
syntax/decode.go:132
↓ 1 callers
Function
newValidatorEncoder
(raw encoderFunc)
syntax/encode.go:137
↓ 1 callers
Method
readRecord
()
handshake-layer.go:176
↓ 1 callers
Method
receivedFinalFlight
()
dtls.go:183
↓ 1 callers
Method
receivedHandshakeMessage
()
dtls.go:135
↓ 1 callers
Method
reflectValue
(v reflect.Value, opts fieldOptions)
syntax/encode.go:46
↓ 1 callers
Method
remaining
Returns the next time any of the timers would fire.
timer.go:79
↓ 1 callers
Function
runAllTimers
(t *testing.T, c *Conn)
conn_test.go:1513
↓ 1 callers
Function
runParametrizedInner
Helper function.
common_test.go:102
↓ 1 callers
Function
schemeValidForKey
(alg SignatureScheme, key crypto.Signer)
crypto.go:184
↓ 1 callers
Method
sendAck
()
dtls.go:63
↓ 1 callers
Method
sendAlert
sendAlert sends a TLS alert message.
handshake-layer.go:232
↓ 1 callers
Function
setUintFromBuffer
(v reflect.Value, buf []byte)
syntax/decode.go:208
↓ 1 callers
Function
testConnReadNonzeroAndEOF
(t *testing.T, delay time.Duration)
tls_test.go:99
↓ 1 callers
Method
time
()
conn.go:212
↓ 1 callers
Method
unmarshal
(v interface{})
syntax/decode.go:32
↓ 1 callers
Method
value
(v reflect.Value)
syntax/decode.go:54
↓ 1 callers
Function
valueDecoder
(v reflect.Value)
syntax/decode.go:60
↓ 1 callers
Function
valueEncoder
(v reflect.Value)
syntax/encode.go:52
↓ 1 callers
Function
varintDecoder
(d *decodeState, v reflect.Value, opts fieldOptions)
syntax/decode.go:165
↓ 1 callers
Function
varintEncoder
(e *encodeState, v reflect.Value, opts fieldOptions)
syntax/encode.go:169
↓ 1 callers
Method
writeFragment
(hm *HandshakeMessage, start int, room int)
handshake-layer.go:427
Method
Close
()
conn_test.go:125
Function
DISABLEDTestConnReadNonzeroAndEOF
tests that Conn.Read returns (non-zero, io.EOF) instead of (non-zero, nil) when a Close (alertCloseNotify) is sitting right behind the application dat
tls_test.go:80
Method
DiscardReadKey
(epoch Epoch)
record-layer.go:78
Method
DiscardReadKey
TODO(ekr@rtfm.com): This is never used, which is a bug.
record-layer.go:192
Method
Empty
()
conn_test.go:137
Method
Epoch
()
record-layer.go:171
Method
Error
()
tls.go:81
Method
Error
()
record-layer.go:21
Method
Fragment
()
record-layer.go:55
Method
Get
(key string)
conn.go:52
Method
Impl
()
record-layer.go:102
← previous
next →
201–300 of 581, ranked by callers