MCPcopy Create free account

hub / github.com/bifurcation/mint / functions

Functions581 in github.com/bifurcation/mint

↓ 2 callersFunctionprimeFromNamedGroup
(group NamedGroup)
crypto.go:168
↓ 2 callersMethodprocessAck
(data []byte)
dtls.go:87
↓ 2 callersFunctionrandomBytes
(n int, rand *rand.Rand)
fuzz_test.go:56
↓ 2 callersFunctionreadPartial
(in *[]byte, buffer []byte)
conn.go:403
↓ 2 callersFunctionreadVarint
(d *decodeState)
syntax/decode.go:178
↓ 2 callersFunctionrunParametrizedTest
This is the function you call.
common_test.go:135
↓ 2 callersFunctionwriteVarint
(e *encodeState, u uint64)
syntax/encode.go:173
↓ 1 callersMethodComputeExporter
(label string, context []byte, keyLength int)
conn.go:875
↓ 1 callersMethodConsistent
()
syntax/tags.go:43
↓ 1 callersMethodDecodeToken
DecodeToken decodes a token
cookie-protector.go:19
↓ 1 callersMethodEncode
(e *encodeState)
syntax/encode.go:336
↓ 1 callersMethodGenerate
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 callersMethodHandshakeSetup
()
conn.go:645
↓ 1 callersMethodLose
(m int)
conn_test.go:156
↓ 1 callersMethodMarshal
()
handshake-messages.go:58
↓ 1 callersMethodMarshalTLS
()
syntax/encode.go:23
↓ 1 callersMethodNewSessionTicket
(length int, lifetime, earlyDataLifetime uint32)
state-machine.go:139
↓ 1 callersMethodNewToken
NewToken creates a new token
cookie-protector.go:17
↓ 1 callersFunctionParseCertificatesPEM
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 callersFunctionParseOneCertificateFromPEM
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 callersFunctionParsePrivateKeyPEM
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 callersMethodProcessMessage
(hm *HandshakeMessage)
state-machine.go:185
↓ 1 callersMethodQueueMessage
(hm *HandshakeMessage)
handshake-layer.go:403
↓ 1 callersMethodReadRecordAnyEpoch
()
record-layer.go:327
↓ 1 callersMethodRemoteAddr
RemoteAddr returns the remote network address.
conn.go:551
↓ 1 callersMethodResetClear
(seq uint64)
record-layer.go:77
↓ 1 callersMethodSetVersion
(version uint16)
state-machine.go:81
↓ 1 callersMethodSize
()
syntax/encode.go:328
↓ 1 callersMethodState
()
state-machine.go:40
↓ 1 callersMethodType
()
handshake-messages.go:54
↓ 1 callersMethodUnmarshal
(data []byte)
handshake-layer.go:558
↓ 1 callersMethodUnmarshal
(data []byte)
handshake-messages.go:256
↓ 1 callersMethodUnmarshal
(data []byte)
handshake-messages.go:395
↓ 1 callersMethodUnmarshal
(data []byte)
handshake-messages.go:464
↓ 1 callersMethodUnmarshal
(data []byte)
handshake-messages.go:479
↓ 1 callersMethodUnmarshal
(data []byte)
extensions.go:538
↓ 1 callersMethodUnmarshalTLS
([]byte)
syntax/decode.go:25
↓ 1 callersMethodValidForServer
()
conn.go:201
↓ 1 callersMethodValidate
Validate is called when receiving a ClientHello containing a Cookie. If validation failed, the handshake is aborted.
conn.go:47
↓ 1 callersMethodWrite
(data []byte)
record-layer_test.go:353
↓ 1 callersMethodWrite
(p []byte)
handshake-layer_test.go:16
↓ 1 callersMethodconsumeRecord
Read up
conn.go:307
↓ 1 callersMethoddecrypt
(seq uint64, header []byte, pt *TLSPlaintext)
record-layer.go:265
↓ 1 callersFunctiondtlsConvertVersion
(version uint16)
dtls.go:39
↓ 1 callersMethodencode
(e *encodeState, v reflect.Value, opts fieldOptions)
syntax/encode.go:343
↓ 1 callersMethodencrypt
(cipher *cipherState, seq uint64, header []byte, pt *TLSPlaintext, padLen int)
record-layer.go:244
↓ 1 callersFunctionffdheKeyShareFromPrime
(p *big.Int)
crypto.go:196
↓ 1 callersMethodfragmentAcked
(seq uint32, offset int, fraglen int)
dtls.go:196
↓ 1 callersMethodframeLen
(hdr []byte)
frame-reader.go:8
↓ 1 callersMethodgetAllTimers
()
timer.go:106
↓ 1 callersMethodgetTimer
(label string)
timer.go:97
↓ 1 callersFunctionhandleClient
(conn net.Conn)
bin/mint-server/main.go:50
↓ 1 callersMethodheaderLen
()
handshake-layer.go:137
↓ 1 callersMethodmarshal
(v interface{}, opts fieldOptions)
syntax/encode.go:30
↓ 1 callersFunctionnewArrayDecoder
(t reflect.Type)
syntax/decode.go:228
↓ 1 callersFunctionnewArrayEncoder
(t reflect.Type)
syntax/encode.go:212
↓ 1 callersMethodnewFragmentReceived
(hm *HandshakeMessage)
handshake-layer.go:260
↓ 1 callersFunctionnewMapDecoder
(t reflect.Type)
syntax/decode.go:350
↓ 1 callersFunctionnewMapEncoder
(t reflect.Type)
syntax/encode.go:366
↓ 1 callersFunctionnewPointerDecoder
(t reflect.Type)
syntax/decode.go:433
↓ 1 callersFunctionnewPointerEncoder
(t reflect.Type)
syntax/encode.go:398
↓ 1 callersFunctionnewSliceDecoder
(t reflect.Type)
syntax/decode.go:304
↓ 1 callersFunctionnewSliceEncoder
(t reflect.Type)
syntax/encode.go:260
↓ 1 callersFunctionnewStructDecoder
(t reflect.Type)
syntax/decode.go:376
↓ 1 callersFunctionnewStructEncoder
(t reflect.Type)
syntax/encode.go:278
↓ 1 callersFunctionnewTypeDecoder
(t reflect.Type)
syntax/decode.go:73
↓ 1 callersFunctionnewTypeEncoder
(t reflect.Type)
syntax/encode.go:68
↓ 1 callersFunctionnewValidatorDecoder
(raw decoderFunc)
syntax/decode.go:132
↓ 1 callersFunctionnewValidatorEncoder
(raw encoderFunc)
syntax/encode.go:137
↓ 1 callersMethodreadRecord
()
handshake-layer.go:176
↓ 1 callersMethodreceivedFinalFlight
()
dtls.go:183
↓ 1 callersMethodreceivedHandshakeMessage
()
dtls.go:135
↓ 1 callersMethodreflectValue
(v reflect.Value, opts fieldOptions)
syntax/encode.go:46
↓ 1 callersMethodremaining
Returns the next time any of the timers would fire.
timer.go:79
↓ 1 callersFunctionrunAllTimers
(t *testing.T, c *Conn)
conn_test.go:1513
↓ 1 callersFunctionrunParametrizedInner
Helper function.
common_test.go:102
↓ 1 callersFunctionschemeValidForKey
(alg SignatureScheme, key crypto.Signer)
crypto.go:184
↓ 1 callersMethodsendAck
()
dtls.go:63
↓ 1 callersMethodsendAlert
sendAlert sends a TLS alert message.
handshake-layer.go:232
↓ 1 callersFunctionsetUintFromBuffer
(v reflect.Value, buf []byte)
syntax/decode.go:208
↓ 1 callersFunctiontestConnReadNonzeroAndEOF
(t *testing.T, delay time.Duration)
tls_test.go:99
↓ 1 callersMethodtime
()
conn.go:212
↓ 1 callersMethodunmarshal
(v interface{})
syntax/decode.go:32
↓ 1 callersMethodvalue
(v reflect.Value)
syntax/decode.go:54
↓ 1 callersFunctionvalueDecoder
(v reflect.Value)
syntax/decode.go:60
↓ 1 callersFunctionvalueEncoder
(v reflect.Value)
syntax/encode.go:52
↓ 1 callersFunctionvarintDecoder
(d *decodeState, v reflect.Value, opts fieldOptions)
syntax/decode.go:165
↓ 1 callersFunctionvarintEncoder
(e *encodeState, v reflect.Value, opts fieldOptions)
syntax/encode.go:169
↓ 1 callersMethodwriteFragment
(hm *HandshakeMessage, start int, room int)
handshake-layer.go:427
MethodClose
()
conn_test.go:125
FunctionDISABLEDTestConnReadNonzeroAndEOF
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
MethodDiscardReadKey
(epoch Epoch)
record-layer.go:78
MethodDiscardReadKey
TODO(ekr@rtfm.com): This is never used, which is a bug.
record-layer.go:192
MethodEmpty
()
conn_test.go:137
MethodEpoch
()
record-layer.go:171
MethodError
()
tls.go:81
MethodError
()
record-layer.go:21
MethodFragment
()
record-layer.go:55
MethodGet
(key string)
conn.go:52
MethodImpl
()
record-layer.go:102
← previousnext →201–300 of 581, ranked by callers