diff options
author | Jack Lloyd <[email protected]> | 2018-09-12 14:05:08 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-09-12 14:05:08 -0400 |
commit | 101513906ad8729603b8b78bb7488d1ffb029b0d (patch) | |
tree | eee7adf9151c8cf6f5f16e651a87bd59b2e89e00 /src/tests/data | |
parent | bc7e11343eed29cf2ff123f6e49b7dc038886cda (diff) |
Create proper KATs for cryptobox function
Diffstat (limited to 'src/tests/data')
-rw-r--r-- | src/tests/data/cryptobox.vec | 92 |
1 files changed, 92 insertions, 0 deletions
diff --git a/src/tests/data/cryptobox.vec b/src/tests/data/cryptobox.vec new file mode 100644 index 000000000..cb397f92b --- /dev/null +++ b/src/tests/data/cryptobox.vec @@ -0,0 +1,92 @@ + +# Generated by Botan 2.0 + +Input = +Salt = 42434041464744454A4B +Passphrase = passphrase_0 +Output = EFC2240042434041464744454A4B791BEF092F976AF5F1B9219C1F2B71BE7B247647 + +Input = 67 +Salt = 434041464744454A4B48 +Passphrase = passphrase_1 +Output = EFC22400434041464744454A4B48AAA3FCA400FF22A576D5A20C638CB5080831AB269D + +Input = 6465 +Salt = 4041464744454A4B4849 +Passphrase = passphrase_2 +Output = EFC224004041464744454A4B484981121406F83782EBCAAE06FDB1B0A8599DE6D721C279 + +Input = 656263 +Salt = 41464744454A4B48494E +Passphrase = passphrase_3 +Output = EFC2240041464744454A4B48494EF50B4430A0E524651EC7088EBA195E25F60D342A4D1839 + +Input = 62636061 +Salt = 464744454A4B48494E4F +Passphrase = passphrase_4 +Output = EFC22400464744454A4B48494E4FA1842DE30D76A586A4BFE958FC777178128A31BF836327C8 + +Input = 6360616E6F +Salt = 4744454A4B48494E4F4C +Passphrase = passphrase_5 +Output = EFC224004744454A4B48494E4F4CE6584DF80422FC28A9AB39BCDBDFD72988CC93404A6DF39C43 + +Input = 60616E6F6C6D +Salt = 44454A4B48494E4F4C4D +Passphrase = passphrase_6 +Output = EFC2240044454A4B48494E4F4C4D0A52AB379B7EB45CF9917E63582A9F958563CF21159D2350308A + +Input = 616E6F6C6D6A6B +Salt = 454A4B48494E4F4C4D52 +Passphrase = passphrase_7 +Output = EFC22400454A4B48494E4F4C4D5288055EC1F9BC81734F96CDCDCF879E939484B7A41F26AABD992CDA + +Input = 6E6F6C6D6A6B6869 +Salt = 4A4B48494E4F4C4D5253 +Passphrase = passphrase_8 +Output = EFC224004A4B48494E4F4C4D525348B8CBF00F22DACFEE8BCC1034EB41DA0CB1901F85BFED87E6C1F70C + +Input = 6F6C6D6A6B68697677 +Salt = 4B48494E4F4C4D525350 +Passphrase = passphrase_9 +Output = EFC224004B48494E4F4C4D525350C2B4D2E37730AD85D87DB14C446DEC8F32CC8FB95C90BFC8BA76B41A68 + +Input = 6C6D6A6B686976777475 +Salt = 48494E4F4C4D52535051 +Passphrase = passphrase_10 +Output = EFC2240048494E4F4C4D525350514D0A851CB9B98EAB808A159865A578008366EAE7D71AF33B018B56B3D8EE + +Input = 6D6A6B6869767774757273 +Salt = 494E4F4C4D5253505156 +Passphrase = passphrase_11 +Output = EFC22400494E4F4C4D525350515620390098C6708307789436F586FE45B6F6E5D93F4A623A4CD7F64D3A4799DA + +Input = 6A6B68697677747572737071 +Salt = 4E4F4C4D525350515657 +Passphrase = passphrase_12 +Output = EFC224004E4F4C4D52535051565761C7CC345DD0900264648975F99051996CCE0EE29F082DB8F39CBC20E2FD5C82 + +Input = 6B686976777475727370717E7F +Salt = 4F4C4D52535051565754 +Passphrase = passphrase_13 +Output = EFC224004F4C4D52535051565754C537DE170C00AD72BFF5542481B19FC89C048723170CE58BD9183714897B8BE012 + +Input = 686976777475727370717E7F7C7D +Salt = 4C4D5253505156575455 +Passphrase = passphrase_14 +Output = EFC224004C4D5253505156575455E2F9CED9F76669C5CBD91383AE80C9F653567038A71A3D59081E1CA89A1A1843BF1E + +Input = 6976777475727370717E7F7C7D7A7B +Salt = 4D52535051565754555A +Passphrase = passphrase_15 +Output = EFC224004D52535051565754555A91AC3715C0C9F6735566794D29D76157381D17F1FC3D303370011ABDD4513D93CD5128 + +Input = 76777475727370717E7F7C7D7A7B7879 +Salt = 52535051565754555A5B +Passphrase = passphrase_16 +Output = EFC2240052535051565754555A5B9B0F0B4189AC0AC3E8E0587135AEC109256C8964B01095AD8A2715B1EE51C6A54F850804 + +Input = 7946474445424340414E4F4C4D4A4B484956575455525350515E5F5C5D5A5B +Salt = 5D62636061666764656A +Passphrase = passphrase_31 +Output = EFC224005D62636061666764656A5272C74FD3E21444CC93423B7FA86172063741E0504078B25584C32B275D792C4B6B3BD3F517C1116D45F4F6238AC1112E93A0 |