Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 949 Bytes

File metadata and controls

32 lines (21 loc) · 949 Bytes

IDEA vector creation

This page documents the code that was used to generate the IDEA CBC, CFB, and OFB test vectors as well as the code used to verify them against another implementation. The vectors were generated using OpenSSL and verified with Botan.

Creation

cryptography was modified to support IDEA in CBC, CFB, and OFB modes. Then the following python script was run to generate the vector files.

/development/custom-vectors/idea/generate_idea.py

Download link: generate_idea.py </development/custom-vectors/idea/generate_idea.py>

Verification

The following Python code was used to verify the vectors using the Botan project's Python bindings.

/development/custom-vectors/idea/verify_idea.py

Download link: verify_idea.py </development/custom-vectors/idea/verify_idea.py>