1SEED vector creation
2=====================
3
4This page documents the code that was used to generate the SEED CFB and OFB
5test vectors as well as the code used to verify them against another
6implementation. The vectors were generated using OpenSSL and verified
7with `Botan`_.
8
9Creation
10--------
11
12``cryptography`` was modified to support SEED in CFB and OFB modes. Then
13the following python script was run to generate the vector files.
14
15.. literalinclude:: /development/custom-vectors/seed/generate_seed.py
16
17Download link: :download:`generate_seed.py
18</development/custom-vectors/seed/generate_seed.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/seed/verify_seed.py
28
29Download link: :download:`verify_seed.py
30</development/custom-vectors/seed/verify_seed.py>`
31
32.. _`Botan`: https://botan.randombit.net
33