diff --git a/internal/encryption/t544/encryption.go b/internal/encryption/t544/encryption.go index 89b09c0..1c2f3e4 100644 --- a/internal/encryption/t544/encryption.go +++ b/internal/encryption/t544/encryption.go @@ -23,25 +23,35 @@ var crc32Table = func() (tab crc32.Table) { return }() +//go:noescape func tencentCrc32(tab *crc32.Table, b []byte) uint32 +//go:noescape func sub_a([]byte, []uint32) +//go:noescape func sub_b([]byte, []uint32) +//go:noescape func sub_c(*[16][16]byte, []byte) +//go:noescape func sub_d(*[16]byte, []byte) +//go:noescape func sub_e(*[256][6]byte, []byte) +//go:noescape func sub_f(*[16]byte, *[15]uint32, *[16][16]byte) (w [44]uint32) func sub_aa(int, *[16][2][16][16]byte, *[16]byte, []byte) byte // transformInner see com/tencent/mobileqq/dt/model/FEBound +// +//go:noescape func transformInner(*[0x15]byte, *[32][16]byte) +//go:noescape func initState(*state, []byte, []byte, uint64) func (c *state) init(key []byte, data []byte, counter uint64, nr uint8) { @@ -50,4 +60,5 @@ func (c *state) init(key []byte, data []byte, counter uint64, nr uint8) { initState(c, key, data, counter) } +//go:noescape func refreshState(c *state)