1IDEA vector creation 2===================== 3 4This page documents the code that was used to generate the IDEA CBC, CFB, and 5OFB test vectors as well as the code used to verify them against another 6implementation. The vectors were generated using OpenSSL and verified with 7`Botan`_. 8 9Creation 10-------- 11 12``cryptography`` was modified to support IDEA in CBC, CFB, and OFB modes. Then 13the following python script was run to generate the vector files. 14 15.. literalinclude:: /development/custom-vectors/idea/generate_idea.py 16 17Download link: :download:`generate_idea.py 18</development/custom-vectors/idea/generate_idea.py>` 19 20 21Verification 22------------ 23 24The following Python code was used to verify the vectors using the `Botan`_ 25project's Python bindings. 26 27.. literalinclude:: /development/custom-vectors/idea/verify_idea.py 28 29Download link: :download:`verify_idea.py 30</development/custom-vectors/idea/verify_idea.py>` 31 32.. _`Botan`: https://botan.randombit.net 33