summaryrefslogtreecommitdiff
path: root/TestVectors
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2009-03-28 03:08:27 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2009-03-28 03:08:27 +0000
commitfcec4bd3021b0124d8a38c19246735340a0e1cd0 (patch)
treeedc665bb430df13f81c30b87dcc021223804c80a /TestVectors
parent56096382619053be6c753901ae3cf850606f3473 (diff)
downloadcryptopp-fcec4bd3021b0124d8a38c19246735340a0e1cd0.tar.gz
fix EC2N skipping of optional seed, switch to public domain MARS code, deliver vc80.pdb to OutDir
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@461 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'TestVectors')
-rw-r--r--TestVectors/all.txt1
-rw-r--r--TestVectors/mars.txt66
2 files changed, 67 insertions, 0 deletions
diff --git a/TestVectors/all.txt b/TestVectors/all.txt
index dcffeef..3f06e78 100644
--- a/TestVectors/all.txt
+++ b/TestVectors/all.txt
@@ -26,3 +26,4 @@ Test: TestVectors/ccm.txt
Test: TestVectors/gcm.txt
Test: TestVectors/cmac.txt
Test: TestVectors/eax.txt
+Test: TestVectors/mars.txt
diff --git a/TestVectors/mars.txt b/TestVectors/mars.txt
new file mode 100644
index 0000000..3ed5a10
--- /dev/null
+++ b/TestVectors/mars.txt
@@ -0,0 +1,66 @@
+AlgorithmType: SymmetricCipher
+Name: MARS/ECB
+Key: 80000000000000000000000000000000
+Plaintext: 00000000000000000000000000000000
+Ciphertext: B3E2AD5608AC1B6733A7CB4FDF8F9952
+Test: Encrypt
+Key: 00000000000000000000000000000000
+Plaintext: 00000000000000000000000000000000
+Ciphertext: DCC07B8DFB0738D6E30A22DFCF27E886
+Test: Encrypt
+Key: 00000000000000000000000000000000
+Plaintext: DCC07B8DFB0738D6E30A22DFCF27E886
+Ciphertext: 33CAFFBDDC7F1DDA0F9C15FA2F30E2FF
+Test: Encrypt
+Key: CB14A1776ABBC1CDAFE7243DEF2CEA02
+Plaintext: F94512A9B42D034EC4792204D708A69B
+Ciphertext: 225DA2CB64B73F79069F21A5E3CB8522
+Test: Encrypt
+Key: 86EDF4DA31824CABEF6A4637C40B0BAB
+Plaintext: 4DF955AD5B398D66408D620A2B27E1A9
+Ciphertext: A4B737340AE6D2CAFD930BA97D86129F
+Test: Encrypt
+Key: 000000000000000000000000000000000000000000000000
+Plaintext: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+Ciphertext: 97778747D60E425C2B4202599DB856FB
+Test: Encrypt
+Key: D158860838874D9500000000000000000000000000000000
+Plaintext: 93A953A82C10411DD158860838874D95
+Ciphertext: 4FA0E5F64893131712F01408D233E9F7
+Test: Encrypt
+Key: 791739A58B04581A93A953A82C10411DD158860838874D95
+Plaintext: 6761C42D3E6142D2A84FBFADB383158F
+Ciphertext: F706BC0FD97E28B6F1AF4E17D8755FFF
+Test: Encrypt
+Key: 0000000000000000000000000000000000000000000000000000000000000000
+Plaintext: 62E45B4CF3477F1DD65063729D9ABA8F
+Ciphertext: 0F4B897EA014D21FBC20F1054A42F719
+Test: Encrypt
+Key: FBA167983E7AEF22317CE28C02AAE1A3E8E5CC3CEDBEA82A99DBC39AD65E7227
+Plaintext: 1344ABA4D3C44708A8A72116D4F49384
+Ciphertext: 458335D95EA42A9F4DCCD41AECC2390D
+Test: Encrypt
+Key: 00000000000000000000000000000000
+Plaintext: 00000000000000000000000000000000
+Ciphertext: 3FE24DC09173D15F4616A849D396F7E3
+Test: EncryptionMCT
+Key: 00000000000000000000000000000000
+Plaintext: 24BD3D2FC6FEE152D1D64545E2230584
+Ciphertext: 00000000000000000000000000000000
+Test: DecryptionMCT
+Key: 000000000000000000000000000000000000000000000000
+Plaintext: 00000000000000000000000000000000
+Ciphertext: 34EC834E2F30741ECB476DA7E9662BBD
+Test: EncryptionMCT
+Key: 000000000000000000000000000000000000000000000000
+Plaintext: 7F27C3397A8CEEF1BDF859459690FEA8
+Ciphertext: 00000000000000000000000000000000
+Test: DecryptionMCT
+Key: 0000000000000000000000000000000000000000000000000000000000000000
+Plaintext: 00000000000000000000000000000000
+Ciphertext: EDE145C10E279501D921C5E3B04420A6
+Test: EncryptionMCT
+Key: 0000000000000000000000000000000000000000000000000000000000000000
+Plaintext: 95615ADB0DDF6613A5E84F849AC8C00D
+Ciphertext: 00000000000000000000000000000000
+Test: DecryptionMCT