diff options
Diffstat (limited to 'docs/development/custom-vectors/idea.rst')
-rw-r--r-- | docs/development/custom-vectors/idea.rst | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/docs/development/custom-vectors/idea.rst b/docs/development/custom-vectors/idea.rst new file mode 100644 index 00000000..097819ed --- /dev/null +++ b/docs/development/custom-vectors/idea.rst @@ -0,0 +1,25 @@ +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. For IDEA the vectors were generated using OpenSSL and verified +with Go. + +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. + +.. literalinclude:: /development/custom-vectors/idea/generate_idea.py + +Download link: :download:`generate_idea.py </development/custom-vectors/idea/generate_idea.py>` + + +Verification +------------ + +The following go code was used to verify the vectors. + +TODO: verify the vectors. |