mirror of
https://github.com/libretro/RetroArch.git
synced 2026-11-21 12:29:43 -10:00
Use libretro-common AES in all builds and retain the expanded key across CBC and CTR calls. Keep an AES-only build for targets without the full crypto feature. Preserve full-width CTR carry and remove the duplicate cipher implementation. Share digest formatting and endian operations. Handle incomplete swap tails without overrunning the buffer. Validate frozen cipher vectors, unaligned primitives and disc/ZIP identification.