aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/primitives/vectors/ciphers/Blowfish/bf-cbc.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/hazmat/primitives/vectors/ciphers/Blowfish/bf-cbc.txt')
-rw-r--r--tests/hazmat/primitives/vectors/ciphers/Blowfish/bf-cbc.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/hazmat/primitives/vectors/ciphers/Blowfish/bf-cbc.txt b/tests/hazmat/primitives/vectors/ciphers/Blowfish/bf-cbc.txt
new file mode 100644
index 00000000..184d9565
--- /dev/null
+++ b/tests/hazmat/primitives/vectors/ciphers/Blowfish/bf-cbc.txt
@@ -0,0 +1,11 @@
+# Reformatted from https://www.schneier.com/code/vectors.txt
+# to look like the NIST vectors
+
+[ENCRYPT]
+
+COUNT = 0
+KEY = 0123456789ABCDEFF0E1D2C3B4A59687
+IV = FEDCBA9876543210
+# this pt is implicitly padded with null bytes for CBC
+PLAINTEXT = 37363534333231204E6F77206973207468652074696D6520666F722000000000
+CIPHERTEXT = 6B77B4D63006DEE605B156E27403979358DEB9E7154616D959F1652BD5FF92CC