diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2014-02-16 19:54:10 -0800 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2014-02-16 19:54:10 -0800 |
commit | 3c93e511eed890d397b21fdb6040d252061268ea (patch) | |
tree | 7fa40778e253b080124564e7ed7ce184282a33e3 /tests/hazmat/primitives/vectors | |
parent | f4c1429a705f0d77ea860f0a765602cb97a2d35a (diff) | |
parent | e1dbd3a3ca82d5f6aa3c5da6f7e29d0d487a9c61 (diff) | |
download | cryptography-3c93e511eed890d397b21fdb6040d252061268ea.tar.gz cryptography-3c93e511eed890d397b21fdb6040d252061268ea.tar.bz2 cryptography-3c93e511eed890d397b21fdb6040d252061268ea.zip |
Merge pull request #626 from reaperhulk/cast5-ctr-vectors
CAST5 CTR vectors
Diffstat (limited to 'tests/hazmat/primitives/vectors')
-rw-r--r-- | tests/hazmat/primitives/vectors/ciphers/CAST5/cast5-ctr.txt | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/hazmat/primitives/vectors/ciphers/CAST5/cast5-ctr.txt b/tests/hazmat/primitives/vectors/ciphers/CAST5/cast5-ctr.txt new file mode 100644 index 00000000..2bcdb4d6 --- /dev/null +++ b/tests/hazmat/primitives/vectors/ciphers/CAST5/cast5-ctr.txt @@ -0,0 +1,22 @@ +# CAST5 CTR vectors built for https://github.com/pyca/cryptography +# Derived from the RFC 3686 test vectors for AES CTR +# Verified against the Go crypto packages +# Key Length : 128 + +COUNT = 0 +KEY = AE6852F8121067CC4BF7A5765577F39E +IV = 0000003000000000 +PLAINTEXT = 53696E676C6520626C6F636B206D7367 +CIPHERTEXT = 1f5483baa07a68abccfed68179e84ac0 + +COUNT = 1 +KEY = 7E24067817FAE0D743D6CE1F32539163 +IV = 006CB6DBC0543B59 +PLAINTEXT = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F +CIPHERTEXT = 07c52bc5f858c5b1a21ee4e27f7b1ac90c17087d1e6ae0fd81c72e248cce329b + +COUNT = 2 +KEY = 7691BE035E5020A8AC6E618529F9A0DC +IV = 00E0017B27777F3F +PLAINTEXT = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F20212223 +CIPHERTEXT = 612aec9151e753cc1f8b086ece5343737697cda52122e1d9d2294cb43e7547bb81b50939 |