Expand description
UnityCN’s AES vectors and in-place LZ4-token walk.
Tables and AES state live on the stack, or inline in the bundle handle whose charge covers them. Decryption allocates nothing; the caller pays for its mutable block copy. Each byte is visited at most once. Boost’s implicit trailing zero exists here as one local byte, never as a write beyond the slice. Reading after it is the documented Tier U refusal.
Structs§
- Unity
CnDecryptor - The per-bundle nibble tables. Debug deliberately omits their contents.
Functions§
- decrypt_
key_ bytes - Encrypt each AES-ECB vector block and XOR its prefix with the supplied data. The caller validates the AES key length; no key or decrypted table is retained.