summaryrefslogtreecommitdiff
path: root/TestVectors/simon.txt
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2017-12-01 07:10:42 -0500
committerJeffrey Walton <noloader@gmail.com>2017-12-01 07:10:42 -0500
commit3c1914b02083c0eb27cb4e3c3a1fbcf3dd8c0ef3 (patch)
tree2285bf5e929d9ea3e4627acb3cca311f1dfbe467 /TestVectors/simon.txt
parent4792578f09521968b88a9747c00eb4b462074100 (diff)
downloadcryptopp-git-3c1914b02083c0eb27cb4e3c3a1fbcf3dd8c0ef3.tar.gz
Add SIMON-64 and SIMON-128 large block tests
The tests were generated using Crypto++ and the straight C++ implementation. It should allow us to test the SSE and NEON impelmentations and multiple blocks
Diffstat (limited to 'TestVectors/simon.txt')
-rw-r--r--TestVectors/simon.txt100
1 files changed, 100 insertions, 0 deletions
diff --git a/TestVectors/simon.txt b/TestVectors/simon.txt
index d4ab969a..15cd0af8 100644
--- a/TestVectors/simon.txt
+++ b/TestVectors/simon.txt
@@ -142,6 +142,37 @@ Ciphertext: 970ee248 5aee1c5b
Test: Encrypt
AlgorithmType: SymmetricCipher
+Name: SIMON-64/CBC
+#
+Source: Crypto++ 5.6.5 generated
+Comment: Simon64/96, large block
+Key: 13121110 0b0a0908 03020100
+IV: 33323130 2b2a2928
+Plaintext: 6f722067 6e696c63 6f722067 6e696c63 6f722067 6e696c63 6f722067 6e696c63 \
+ 6f722067 6e696c63 6f722067 6e696c63 6f722067 6e696c63 6f722067 6e696c63 \
+ 6f722067 6e696c63 6f722067 6e696c63 6f722067 6e696c63 6f722067 6e696c63 \
+ 6f722067 6e696c63 6f722067 6e696c63 6f722067 6e696c63 6f722067 6e696c63
+Ciphertext: 30ECC72B 76BF8E68 FA9F97F1 D5029672 7AA7A036 C9500D1B 8FDC2027 7B1CBFE0 \
+ 5B2EE0AA 62086FC4 88A5C8B3 8A945935 205A0F1D AAC74C7E 59B32DAC 908F2216 \
+ DA6579D1 8CA56234 2EB12E1A 9AAD489B 1D47385E FB9C684E 9E8D61D8 54E7AB84 \
+ 76FFDA5A FE455A8E A25EBF40 D7E69E86 3D3F5CFD 5D230078 8E66F68B 76D3AE2D
+Test: Encrypt
+#
+Source: Crypto++ 5.6.5 generated
+Comment: Simon64/128, large block
+Key: 1b1a1918 13121110 0b0a0908 03020100
+IV: 33323130 2b2a2928
+Plaintext: 6f722067 6e696c63 6f722067 6e696c63 6f722067 6e696c63 6f722067 6e696c63 \
+ 6f722067 6e696c63 6f722067 6e696c63 6f722067 6e696c63 6f722067 6e696c63 \
+ 6f722067 6e696c63 6f722067 6e696c63 6f722067 6e696c63 6f722067 6e696c63 \
+ 6f722067 6e696c63 6f722067 6e696c63 6f722067 6e696c63 6f722067 6e696c63
+Ciphertext: E53FE324 78573A58 635176CE B3CF68A8 DAAA10AB A41D4826 026C535A 86F0D277 \
+ B6E1598F F295C8C4 3D48EBEC 19157DE4 DC166534 D4BE1754 C57394A1 A2435E32 \
+ DA441E87 1B1548CD 16444167 D0A92B4C B17F3D91 F7A7C708 4BE7D31D 436DD8DC \
+ 0F47BA6A BD9EE20D 7DB9F200 6D75D542 D3428E3E B99A5AF1 0F7362BD 1AFA4C01
+Test: Encrypt
+
+AlgorithmType: SymmetricCipher
Name: SIMON-128/ECB
#
Source: Simon and Speck paper, Appendix B
@@ -353,3 +384,72 @@ Key: 2a961d8c82821dd2 46c773cbdb3993ee c4a9bcd05a20b620 64e295107fadbbd8
Plaintext: a789f976c69298e4 46f1410221141876
Ciphertext: 64514d1256a05d9b ca261545f94af135
Test: Encrypt
+
+AlgorithmType: SymmetricCipher
+Name: SIMON-128/CBC
+#
+Source: Crypto++ 5.6.5 generated
+Comment: Simon128/128, large block
+Key: 0f0e0d0c0b0a0908 0706050403020100
+IV: 2f2e2d2c2b2a2928 2726252423222120
+Plaintext: 6373656420737265 6c6c657661727420 6373656420737265 6c6c657661727420 \
+ 6373656420737265 6c6c657661727420 6373656420737265 6c6c657661727420 \
+ 6373656420737265 6c6c657661727420 6373656420737265 6c6c657661727420 \
+ 6373656420737265 6c6c657661727420 6373656420737265 6c6c657661727420 \
+ 6373656420737265 6c6c657661727420 6373656420737265 6c6c657661727420 \
+ 6373656420737265 6c6c657661727420 6373656420737265 6c6c657661727420 \
+ 6373656420737265 6c6c657661727420 6373656420737265 6c6c657661727420 \
+ 6373656420737265 6c6c657661727420 6373656420737265 6c6c657661727420
+Ciphertext: C7D52B8F3FFB4897 8452F49A94E85D93 39A969245D226982 0B3D2B653C7F4185 \
+ A1B51DA44C2046DC C009A863548AF65E F44ECA6E96AFFAB4 BA206FF65C493C0A \
+ 35899B8010A270A4 A8B1D7084EB76794 84D38FDA07E35564 517961B8F4ABDED8 \
+ 5B740E2C616C22D3 94D23A002CCD9021 B63DD493B86407E9 7C30572B028C4DEB \
+ 293E847DA1C93025 AB636CEBC25AE234 B467C6D22370BED4 4148445C0E08838E \
+ EC9FFCC168471FD2 B4BB0A7956F453FA 271BCCE16FB837D4 BFB7F6D751B7FD78 \
+ C166B5CBD81BC0F6 93675F7B066FD6DB 49F3925626634088 1BA502A1CBA53854 \
+ 883DD63E5E0397BC A3D74D4C3442CEB2 7A59C1BC8CB7EC6C 7B07287AC370627B
+Test: Encrypt
+#
+Source: Crypto++ 5.6.5 generated
+Comment: Simon128/192, large block
+Key: 1716151413121110 0f0e0d0c0b0a0908 0706050403020100
+IV: 2f2e2d2c2b2a2928 2726252423222120
+Plaintext: 6373656420737265 6c6c657661727420 6373656420737265 6c6c657661727420 \
+ 6373656420737265 6c6c657661727420 6373656420737265 6c6c657661727420 \
+ 6373656420737265 6c6c657661727420 6373656420737265 6c6c657661727420 \
+ 6373656420737265 6c6c657661727420 6373656420737265 6c6c657661727420 \
+ 6373656420737265 6c6c657661727420 6373656420737265 6c6c657661727420 \
+ 6373656420737265 6c6c657661727420 6373656420737265 6c6c657661727420 \
+ 6373656420737265 6c6c657661727420 6373656420737265 6c6c657661727420 \
+ 6373656420737265 6c6c657661727420 6373656420737265 6c6c657661727420
+Ciphertext: C4E8A46ECAA39BF2 BA84C13A840F1CD4 0310A1AA41C82FE9 0E7919B8AC503264 \
+ 905697BF3D991CE7 C7EF61C66363ED71 E10FCFF811444269 AAE1DCB6B587AA2D \
+ 7E6AA057DEAF4107 54EA82B799EC6A6F 330AD442B502174D ABF3A1FBFA718F45 \
+ 0A0839AA0F43C011 1611992D80866E70 4DAE45FDED8AB37C 2D06F958ECD05AE3 \
+ 7F92AE098669A6F5 888FF4AA3A7AD48A CED8DA7469C563BD EBF5003520062916 \
+ 857840F31100556D 7ED5C6224F314BE7 6C73ECF11F096407 37BF24C1480B95EF \
+ F8A22F1F1BF02736 C7949FB6B8931F65 826E4D9AA2028F4A 62CF64A372957D26 \
+ 201AC3B724EE28EF E9096A01DA17B46D 219B77BC38B08EF5 E9C471E20D2F06FB
+Test: Encrypt
+#
+Source: Crypto++ 5.6.5 generated
+Comment: Simon128/256, large block
+Key: 1f1e1d1c1b1a1918 1716151413121110 0f0e0d0c0b0a0908 0706050403020100
+IV: 2f2e2d2c2b2a2928 2726252423222120
+Plaintext: 6373656420737265 6c6c657661727420 6373656420737265 6c6c657661727420 \
+ 6373656420737265 6c6c657661727420 6373656420737265 6c6c657661727420 \
+ 6373656420737265 6c6c657661727420 6373656420737265 6c6c657661727420 \
+ 6373656420737265 6c6c657661727420 6373656420737265 6c6c657661727420 \
+ 6373656420737265 6c6c657661727420 6373656420737265 6c6c657661727420 \
+ 6373656420737265 6c6c657661727420 6373656420737265 6c6c657661727420 \
+ 6373656420737265 6c6c657661727420 6373656420737265 6c6c657661727420 \
+ 6373656420737265 6c6c657661727420 6373656420737265 6c6c657661727420
+Ciphertext: A644E82271C97948 32DB00733519C10F 14F72D9627F8F420 31C62154A29A6071 \
+ BC330B973A086F41 D628A43982402FAF B7C72D2CCBE22C4B E47FF196FF55D004 \
+ 66CB5E996C195FBC A3164EB0CE3675BE 55371385A1FFEB39 6CAC581D5F18CB25 \
+ 6A8A038E75C4E2B7 B8C6DD03C2534D29 4D1B77A41706D65D F2B3CBDEDF905245 \
+ EDD4D3149F45A5B9 3EBC3FBA7196DBD5 73381E27974464DE 1279322D0C216C74 \
+ 1405717ED0416FF1 11E02294D09733E1 DDD5264F0CEC7B5A 0EBD7D1CD2EFE950 \
+ 6513A4C9E4811E48 3F32EB8B907C1589 255F223D362E0C43 F637274666FDF73D \
+ A734250B84267C31 F45470CA6CB2BB34 9B41301B4228A92A F08994353148EACD
+Test: Encrypt