Description
Steps To Reproduce
I am teaching an undergraduate crypto course and I want to cover Mini-AES from R. C.-W. Phan. Mini advanced encryption standard (mini-AES): a testbed for cryptanalysis students. Cryptologia, 26(4):283–306, 2002.
This is implemented in sagemath. However, outputs in sagemath version 4.5.1, which you can find here http://fe.math.kobe-u.ac.jp/icms2010-..., are different from outputs in sagemath version 10.3, which you can find here https://doc.sagemath.org/html/en/refe...
Expected Behavior
The correct answers should always be the ones from v4.5.1.
Actual Behavior
The discrepancies between the two version can be seen in the very first box 'Encrypt a plaintext'. Compare the two values of C (v4.5.1 and v10.3), with the same input P and key.
This is particularly problematic in the computation of the round_key(key, n). Once could see that with the same input, the answers of each version differs.
Additional Information
R. C.-W. Phan. Mini advanced encryption standard (mini-AES): a testbed for cryptanalysis students. Cryptologia, 26(4):283–306, 2002.
Environment
- **OS**: MacOS Sonoma 14.5
- **Sage Version**: 10.3
Checklist
- I have searched the existing issues for a bug report that matches the one I want to file, without success.
- I have read the documentation and troubleshoot guide