This page documents the code that was used to generate the AES-GCM-SIV test vectors for key lengths not available in the OpenSSL test vectors. All the vectors were generated using OpenSSL and verified with Rust.
The following Python script was run to generate the vector files. The OpenSSL test vectors were used as a base and modified to have 192-bit key length.
/development/custom-vectors/aes-192-gcm-siv/generate_aes192gcmsiv.py
Download link: generate_aes192gcmsiv.py
</development/custom-vectors/aes-192-gcm-siv/generate_aes192gcmsiv.py>
The following Rust program was used to verify the vectors.
/development/custom-vectors/aes-192-gcm-siv/verify-aes192gcmsiv/src/main.rs
Download link: main.rs
</development/custom-vectors/aes-192-gcm-siv/verify-aes192gcmsiv/src/main.rs>