Files
retroSoC/scripts/data
maksyuki 3c63fec8dc feat: refactor crypto test paths and add new tests for firmware validation
- Updated test paths in  to point to the new directory structure for crypto files.
- Introduced  to validate firmware identity and reject stale firmware based on source changes and simulation logs.
- Enhanced  to include additional memory status and control registers, ensuring alignment with RTL definitions.
2026-09-26 14:00:25 +08:00
..

Public Crypto constants

crypto_constants.json is the canonical software source for CRYC1: 528 AES bytes and 80 SHA words. scripts/crypto_constants.py pads these to the exact 8192-byte image and emits a compact 848-byte firmware header. Its frozen hash and CRC are checked against the independent mathematical oracle in tests/crypto_reference.py; production RTL contains no lookup tables.

The layout and identity are frozen in the Crypto specification.