Rearrange the file tree.
[u/mdw/catacomb] / symm / t / skipjack
1 # Test vectors for Skipjack
2
3 # --- From the Skipjack definition ---
4
5 skipjack {
6
7 # --- The official Skipjack test vector ---
8 #
9 # It's a bit piss-poor that they only provide one test-vector here.
10
11 00998877665544332211 33221100ddccbbaa 2587cae27a12d300;
12
13 # --- From KEA test vectors ---
14 #
15 # The Skipjack algorithm is used by the KEA to derive the final key.
16 # Unfortunately, the test vectors given in the Skipjack/KEA spec don't
17 # match my (or anyone else's!) implementation. These are the values
18 # which seem to be generally agreed.
19
20 e7496e99e4628b7f9ffb 99ccfe2b90fd550b 60a73d387b517fca;
21 e7496e99e4628b7f9ffb 60a73d387b517fca 24c90cb05d668b27;
22 e5caf4dcc70e55f1dd90 b71cb0d009af2765 64f4877ae68a8a62;
23 e5caf4dcc70e55f1dd90 64f4877ae68a8a62 fee778a838a601cd;
24
25 # --- These are the results expected from the KEA spec ---
26 #
27 # A `?' indicates that I don't know what that digit's meant to be. I've
28 # derived the top 16 bits of the intermediate results from the spec.
29
30 # e7496e99e4628b7f9ffb 99ccfe2b90fd550b 2f30????????????;
31 # e7496e99e4628b7f9ffb 2f30???????????? 740839dee833add4;
32 # e5caf4dcc70e55f1dd90 b71cb0d009af2765 8e27????????????;
33 # e5caf4dcc70e55f1dd90 8e27???????????? 97fd1c6bd86bc439;
34
35 # --- Some more test vectors ---
36 #
37 # These are dreamed up by me. The above tests don't actually exhaustively
38 # test the F-table. There are 16 entries unaccounted for. The keys and
39 # plaintexts were generated using fibrand with seed 0.
40
41 cde4bef260d7bcda1635 47d348b7551195e7 f17b3070144aebea;
42 7022907dd1dff7dac5c9 941d26d0c6eb14ad a055d02c5e0eae8d;
43 568f86edd1dc9268eeee 533285a6ed810c9b b4c22f4fb74c35dc;
44 689daaa9060d2d4b6003 062365b0a54364c7 08698d8786f80d16;
45 6c160f11896c4794846e cfa14a7130c9f137 d6db848b7cecdd39;
46
47 # --- And some more, posted to Usenet ---
48 #
49 # Message-id <8m7slq$1i1$1@hecate.umd.edu>
50
51 f8da02647722f7103adf 1ddf39abf5cd711e c92d22324c6b31ae;
52 82760ac137948821eee4 dd6c6cce8f83e69e e32877c1d9527fff;
53 843c1687d3cdca5fc5c3 beaacf177fa41a11 4745783f75b8861a;
54 ae870cd7ff33a995f7e5 c4c09f216c1bc60a 5c101636b8a57a72;
55 5ccbd913ea8b73bd6391 d3f814b000245856 b4fc0f8e54728f91;
56 f65e74cd599c68a40cc7 356ec7d93832329c 93b750608f5701f8;
57 aa106e46d7087c4e93dc 209ecf1c537ad56c d823d45510099e61;
58 a93f9789a20c3cc34fea 892eea9d64e17d66 0959e231b275d95f;
59 88b163cbd61616888899 991390fd760fc91b e7700209886767ae;
60 fb6cd1ff70487561df10 daebc947ddca9c9e e7cc49a56bd6a322;
61 5edc1ac0c4e7ef5f002c 6419ddefe2cd8f2e e48a05cf26e242fd;
62 8e3090c19aa32f94496a 322998ecbd068112 62c0e537b14df2c1;
63 b96e3fd46fa4263f9092 3aae2aee20da93cc 54d1e58a6b624d71;
64 9e6635baee28c5bce2bc 14311112ca11f727 5d0f235a9d221ce0;
65 04127ce16dc1b1726a66 300e4313e7ad6796 8e5b03522e68cbeb;
66 f0b89d75e979ccc9b172 09cd1c1accbe7797 572c9b4025a9134b;
67 f9bfc78798cbf1bcd4b5 31b30ca354af3cd8 8c959c904789fbda;
68 f43a51b4273bde27d2b0 08c59b0db99ec267 b7d7f5fa342988fb;
69 cd51f0a75aa73c48edd2 9784b1e3e7e60e60 763aa8ee109397b3;
70 b3319a3f6622aa726bb3 f65216373d4b43c7 0325600337b8ad3c;
71 493254c9596e993f5f9c cba4c1215d5d36ce 68e1c551c59108c0;
72 76150c2c3ced1c7ca021 82294851288e75cb 7eb6325d82a2096c;
73 7140d6c5486305872df6 c3a7b7e4a52e407b 2483f385a42ee3c6;
74 3c2c3901f0ee9a3b2b0e 1bfde32ab559e13a d6fa9db8685fd88a;
75 606a8b4bdfaae8a0ba51 d205f7486c782838 0330489170b85293;
76 7847a47a0fe79ab770ce d96ff1f7c7fc60e0 1f9b3301c9b2708c;
77 73b9ab0c36c99e91a891 241d4bde19a75f8f 2b86c57ffe168895;
78 a37f2ad5a85e170741f5 7be1b8d58321c619 5af7ceb3eed9dca1;
79 f7b0c2a8170e3c4e48b3 c9214ea01ec14948 1b587736e116c04b;
80 a1fc67e44eacacf4a902 e2a3091feb581588 f3ecf0f1789a3923;
81 f14430affc5fe82a9ae9 3cb466d301b60854 e8d114c20ffa1c79;
82 fd26df50486a4cd96d9b b0684f8a5e63d935 222903994d64fe3a;
83 a6d46d46ca287e1a332a ba1f37e88edec55f 91f2baad6fa0de55;
84 83c3f1cb8d06efc6196b e9fed8501b7a6579 83f9f08f89a854ee;
85 0edfa44c7d4a4ef0725e eb5ca8b3fa1fcdbb 2b1b6670a6be0324;
86 b8edcf167d99a711ccee b8b525c6382af277 211a695da473766f;
87 4f639e0d5a5d2ad7e9a4 9162e781ff683853 eb2976370d22ef22;
88 37e006256a4ae6d320c4 c9f23a20a39ded11 dba4c0ef0ea098c0;
89 e41d0bd25f931ba1d85c 5a6f12f32f7eefdf 923daee8000709f9;
90 fdf65bbc5fe600f3cd68 cad5414c1c64f194 d5771e78b6f1fe1e;
91 1c269af2ff166acb27ef 063a58a20b45378f 634f7a3861af97a1;
92 1179f64acb6122ccf649 08fbf42b4313347b 3a803a4bd0e8c3e6;
93 078c87265eb8da323e90 6d4ed0e9930532d1 f4fa372e7e1441a1;
94 2fff35f8eb774c843bb0 40b699812345661d 63a9197f7b75f53f;
95 09f77346a4393ce99856 22ed54626a51e505 e91a050a7481b3dd;
96 5b878e0b22a705acf8fb 0c489b66e2da531b 6e9370a91b994878;
97 9d72c1ab2092c1b10877 c64b10f8b191bc2c 5bdecded96d656c9;
98 72865f289725e1b55502 91fdf7236f85bdd6 1a5680e51736026f;
99 06e3c0e541f4aae6fe93 40009f8a465a9feb 0e7aace421bc79d8;
100 2ea09f1cc89e064f09bc 543208b05bfa3858 a95d87fad12c3593;
101 }