aboutsummaryrefslogtreecommitdiffstats
path: root/vectors/cryptography_vectors/ciphers/CAST5/cast5-ctr.txt
diff options
context:
space:
mode:
authorAlex Stapleton <alexs@prol.etari.at>2014-03-14 20:03:12 +0000
committerAlex Stapleton <alexs@prol.etari.at>2014-03-24 09:46:47 +0000
commita39a319b096b1b2b1775ae1a91117c19422a6c81 (patch)
treeda7d4dbf73d815f835dcf38a4d62d73b742480d2 /vectors/cryptography_vectors/ciphers/CAST5/cast5-ctr.txt
parent68e77c752b94c2531f83589c1bb2060c5ed0d886 (diff)
downloadcryptography-a39a319b096b1b2b1775ae1a91117c19422a6c81.tar.gz
cryptography-a39a319b096b1b2b1775ae1a91117c19422a6c81.tar.bz2
cryptography-a39a319b096b1b2b1775ae1a91117c19422a6c81.zip
Move cryptography.vectors to cryptography_vectors
All vectors are now stored in the subpackage in the vectors/ folder. This package is automatically installed by setup.py test and will also be uploaded with a matching version number by the PyPI upload task.
Diffstat (limited to 'vectors/cryptography_vectors/ciphers/CAST5/cast5-ctr.txt')
-rw-r--r--vectors/cryptography_vectors/ciphers/CAST5/cast5-ctr.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/vectors/cryptography_vectors/ciphers/CAST5/cast5-ctr.txt b/vectors/cryptography_vectors/ciphers/CAST5/cast5-ctr.txt
new file mode 100644
index 00000000..2bcdb4d6
--- /dev/null
+++ b/vectors/cryptography_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