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_aes128_sha1.go
Search
History
278 lines
|
ISO-8859-1
|
6 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
hmacMethod
hashDigestMethod
init
()
authAES128Function
salt
:
string
hmac
:
hmacMethod
hashDigest
:
hashDigestMethod
authAES128
Base
authData
authAES128Function
userData
iv
:
[]byte
hasSentHeader
:
bool
rawTrans
:
bool
packID
:
uint32
recvID
:
uint32
newAuthAES128SHA1
(b *Base)
:
Protocol
trapezoidRandom
(max int, d float64)
:
int
*authAES128
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
packData
(poolBuf *bytes.Buffer, data []byte, fullDataLength int)
getRandDataLengthForPackData
(dataLength, fullDataLength int)
:
int
packAuthData
(poolBuf *bytes.Buffer, data []byte)
getRandDataLengthForPackAuthData
(size int)
:
int
packRandData
(poolBuf *bytes.Buffer, size int)
All occurrences
Please wait...
Page is in error, reload to recover