crash.software
Projects
Pull Requests
Issues
Builds
sing-box
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
sing-box
Files
🤬
Sign In
1353a432
ROOT
/
transport
/
clashssr
/
protocol
/
auth_chain_a.go
Search
History
307 lines
|
ISO-8859-1
|
7 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
init
()
randDataLengthMethod
authChainA
Base
authData
userData
iv
:
[]byte
salt
:
string
hasSentHeader
:
bool
rawTrans
:
bool
lastClientHash
:
[]byte
lastServerHash
:
[]byte
encrypter
:
cipher.Stream
decrypter
:
cipher.Stream
randomClient
:
tools.XorShift128Plus
randomServer
:
tools.XorShift128Plus
randDataLength
:
randDataLengthMethod
packID
:
uint32
recvID
:
uint32
newAuthChainA
(b *Base)
:
Protocol
getRandStartPos
(length int, random *tools.XorShift128Plus)
:
int
udpGetRandLength
(lastHash []byte, random *tools.XorShift128Plus)
:
int
*authChainA
initUserData
()
StreamConn
(c net.Conn, iv []byte)
:
net.Conn
PacketConn
(c net.PacketConn)
:
net.PacketConn
Decode
(dst, src *bytes.Buffer)
:
error
Encode
(buf *bytes.Buffer, b []byte)
:
error
DecodePacket
(b []byte)
:
([]byte, error)
EncodePacket
(buf *bytes.Buffer, b []byte)
:
error
packAuthData
(poolBuf *bytes.Buffer, data []byte)
packData
(poolBuf *bytes.Buffer, data []byte)
putMixedRandDataAndData
(poolBuf *bytes.Buffer, data []byte)
getRandLength
(length int, lastHash []byte, random *tools.XorShift128Plus)
:
int
initRC4Cipher
()
All occurrences
Please wait...
Page is in error, reload to recover