aboutsummaryrefslogtreecommitdiffstats
path: root/src/test-data/fail.dat
diff options
context:
space:
mode:
Diffstat (limited to 'src/test-data/fail.dat')
-rw-r--r--src/test-data/fail.dat100
1 files changed, 100 insertions, 0 deletions
diff --git a/src/test-data/fail.dat b/src/test-data/fail.dat
new file mode 100644
index 000000000..e7be16f86
--- /dev/null
+++ b/src/test-data/fail.dat
@@ -0,0 +1,100 @@
+# Botan validation file: expected failures
+
+# Each sequence in here should induce an exception on the part of the
+# filter, or produce the wrong output, or something like that.
+
+# This needs a lot more work
+
+# MARKER: Block Ciphers
+
+[Blowfish]
+0000000000000000:245946885754369B:
+0000000000000000:245946885754369B:AA
+0000000000000000:24594688575436:AA
+
+00000000000000:24594688575436:
+
+0000000000000000:245946885754369B:\
+AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+
+0000000000000000:245946885754369B:\
+AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+
+[CAST5]
+0123456789ABCDEF:238B4FE5847E44B2:0123456712
+
+# MARKER: Hash Functions
+
+[SHA-1]
+A9:19DA91F2603889267DFD77786E07A5B8F067D6
+A8:19DA91F2603889267DFD77786E07A5B8F067D62A
+
+# MARKER: Cipher Modes (Encryption)
+
+[DES/CBC/CTS]
+9F8789F30E3ED728:48C597491E0C3C1706:9076D5A743FC9721:A9A6C2AD38E682C1
+
+9F8789F30E3ED72800:48C597491E0C3C1706:9076D5A743FC9721:A9A6C2AD38E682
+
+9F8789F30E3ED72800:48C597491E0C3C1706:76D5A743FC9721:A9A6C2AD38E682
+
+# MARKER: Cipher Modes (Decryption)
+
+[DES/CBC/PKCS7]
+E5C7CDDE872BF27C43E934008C389C0F683788499A7C05F662C16A27E4FCF276:\
+4E6F77206973207468652074696D6520666F7220616C6C20:\
+0123456789ABCDEF:1234567890ABCDEF
+
+E5C7CDDE872BF27C43E934008C389C0788499A7C05F662C16A27E4FCF276:\
+4E6F77206973207468652074696D6520666F7220616C6C20:\
+0123456789ABCDEF:1234567890ABCDEF
+
+E5C7CDDE872BF27C43E934008C389C0F683788499A7C05F662C16A27E4FCF276:\
+4E6F77206973207468652074696D6520666F7220616C6C20:\
+1123456789ABCDEF:1234567890ABCDEF
+
+E5C7CDDE872BF27C43E934008C389C0F683788499A7C05F662C16A27E4FCF276:\
+4E6F77206973207468652074696D6520666F7220616C6C20:\
+0123456789ABCDEF:1234567890ABCDEE
+
+1D2FECD6F0F733F1:AA:DC3A72A9BA8138EC:67E51C4F8403BF6F
+
+D90246C39C191E98:AA:45AAF3A76E729062:53C1F28656B05986
+
+[DES/CBC/OneAndZeros]
+28582FD8797D3DB5:AA:D404FD15970CB207:88269176E292DE0A
+A2C23F6A496C7BE9:AA:829E7BE8C8A9B326:106E9D2E19FE874D
+
+[DES/CBC/CTS]
+1F807F8FB9678124B8:9E1CA14BE6538A35DB:88B23AFD0683D337:BAC170D943D262CE
+
+[DES/CFB(1)]
+105EFAA6251E7659:C5A1343F4AC4DD7B:C42B0F47482DABA0:48848E073CF89946
+105EFAA6251E7659:C5A1343F4AC4DD7B:C42B0F47482DABA0:48848E073CF899
+
+[Base64_Decode]
+3D514D3E:31
+
+[Bzip_Compress <EXTENSION>]
+64484953204953204120425A49503220544553540A:\
+525A6839314159265359FDAED210000009DE0000104000100032604C1020\
+0021A4D1EA0FD2840D03401E19B4D4B254EE89F177245385090FDAED2105
+
+[Bzip_Decompress <EXTENSION>]
+523A683917724538509000000110:
+
+425A6839314159265359FDAED210000009DE0000104000100032604C1020\
+0021A4D1EA0FD2840D03401E19B4D4B254EE89F167245385090FDAED2100:\
+54484953204953204120425A49503220544553540A
+
+123A6839314159265359FDAED210000009DE0000104000100032604C1020\
+0121A4D1EA0FD2840D03401E19B4D4B254EE89F166245385090FDAED2100:\
+54484953204953204120425A49503220544553540A
+
+[Zlib_Decompress <EXTENSION>]
+68DA734C4A76042247C7A4A4246710D3392D3F3F29B1880B106C380868:\
+416263416263414141626262436341626343666F6F6261720A
+
+78DA73742416700100E0260AB5:\
+3141414141414141414141414141414141414141414141414141414141414141\
+414141414141414141410A