I'm looking for some test-vectors for the DES algorithm. What I would like
most is an electronic version of the patterns described in "Validating the
correctness of hardware implementations of the DES" by Jason Gait. However,
all other documents are welcome.
Maybe someone knows the address of some ftp-server from which i can get
those patterns.
Regards,
Bartjan Wattel at Eindhoven University of Technology, the Netherlands
(Email: bar...@stack.urc.tue.nl)
--------------------------------------------------------------------------------
Keep America beautiful. Swallow your beer cans.
-> I'm looking for some test-vectors for the DES algorithm. What I would like
-> most is an electronic version of the patterns described in "Validating the
-> correctness of hardware implementations of the DES" by Jason Gait. However,
-> all other documents are welcome.
Sounds like it's time to post some old messages on this subject:
# Test vectors for DES Electronic Code Book (ECB)
# implementation, derived from:
# "Validating the Correctness of Hardware
# Implementations of the NBS Data Encryption Standard"
# NBS Special Publication 500-20, 1980.
#
# Initial Permutation and Expansion test
#
encrypt
#
0101010101010101 95F8A5E5DD31D900 8000000000000000
0101010101010101 DD7F121CA5015619 4000000000000000
0101010101010101 2E8653104F3834EA 2000000000000000
0101010101010101 4BD388FF6CD81D4F 1000000000000000
0101010101010101 20B9E767B2FB1456 0800000000000000
0101010101010101 55579380D77138EF 0400000000000000
0101010101010101 6CC5DEFAAF04512F 0200000000000000
0101010101010101 0D9F279BA5D87260 0100000000000000
0101010101010101 D9031B0271BD5A0A 0080000000000000
0101010101010101 424250B37C3DD951 0040000000000000
0101010101010101 B8061B7ECD9A21E5 0020000000000000
0101010101010101 F15D0F286B65BD28 0010000000000000
0101010101010101 ADD0CC8D6E5DEBA1 0008000000000000
0101010101010101 E6D5F82752AD63D1 0004000000000000
0101010101010101 ECBFE3BD3F591A5E 0002000000000000
0101010101010101 F356834379D165CD 0001000000000000
0101010101010101 2B9F982F20037FA9 0000800000000000
0101010101010101 889DE068A16F0BE6 0000400000000000
0101010101010101 E19E275D846A1298 0000200000000000
0101010101010101 329A8ED523D71AEC 0000100000000000
0101010101010101 E7FCE22557D23C97 0000080000000000
0101010101010101 12A9F5817FF2D65D 0000040000000000
0101010101010101 A484C3AD38DC9C19 0000020000000000
0101010101010101 FBE00A8A1EF8AD72 0000010000000000
0101010101010101 750D079407521363 0000008000000000
0101010101010101 64FEED9C724C2FAF 0000004000000000
0101010101010101 F02B263B328E2B60 0000002000000000
0101010101010101 9D64555A9A10B852 0000001000000000
0101010101010101 D106FF0BED5255D7 0000000800000000
0101010101010101 E1652C6B138C64A5 0000000400000000
0101010101010101 E428581186EC8F46 0000000200000000
0101010101010101 AEB5F5EDE22D1A36 0000000100000000
0101010101010101 E943D7568AEC0C5C 0000000080000000
0101010101010101 DF98C8276F54B04B 0000000040000000
0101010101010101 B160E4680F6C696F 0000000020000000
0101010101010101 FA0752B07D9C4AB8 0000000010000000
0101010101010101 CA3A2B036DBC8502 0000000008000000
0101010101010101 5E0905517BB59BCF 0000000004000000
0101010101010101 814EEB3B91D90726 0000000002000000
0101010101010101 4D49DB1532919C9F 0000000001000000
0101010101010101 25EB5FC3F8CF0621 0000000000800000
0101010101010101 AB6A20C0620D1C6F 0000000000400000
0101010101010101 79E90DBC98F92CCA 0000000000200000
0101010101010101 866ECEDD8072BB0E 0000000000100000
0101010101010101 8B54536F2F3E64A8 0000000000080000
0101010101010101 EA51D3975595B86B 0000000000040000
0101010101010101 CAFFC6AC4542DE31 0000000000020000
0101010101010101 8DD45A2DDF90796C 0000000000010000
0101010101010101 1029D55E880EC2D0 0000000000008000
0101010101010101 5D86CB23639DBEA9 0000000000004000
0101010101010101 1D1CA853AE7C0C5F 0000000000002000
0101010101010101 CE332329248F3228 0000000000001000
0101010101010101 8405D1ABE24FB942 0000000000000800
0101010101010101 E643D78090CA4207 0000000000000400
0101010101010101 48221B9937748A23 0000000000000200
0101010101010101 DD7C0BBD61FAFD54 0000000000000100
0101010101010101 2FBC291A570DB5C4 0000000000000080
0101010101010101 E07C30D7E4E26E12 0000000000000040
0101010101010101 0953E2258E8E90A1 0000000000000020
0101010101010101 5B711BC4CEEBF2EE 0000000000000010
0101010101010101 CC083F1E6D9E85F6 0000000000000008
0101010101010101 D2FD8867D50D2DFE 0000000000000004
0101010101010101 06E7EA22CE92708F 0000000000000002
0101010101010101 166B40B44ABA4BD6 0000000000000001
#
# Inverse Permutation and Expansion test
#
encrypt
#
0101010101010101 8000000000000000 95F8A5E5DD31D900
0101010101010101 4000000000000000 DD7F121CA5015619
0101010101010101 2000000000000000 2E8653104F3834EA
0101010101010101 1000000000000000 4BD388FF6CD81D4F
0101010101010101 0800000000000000 20B9E767B2FB1456
0101010101010101 0400000000000000 55579380D77138EF
0101010101010101 0200000000000000 6CC5DEFAAF04512F
0101010101010101 0100000000000000 0D9F279BA5D87260
0101010101010101 0080000000000000 D9031B0271BD5A0A
0101010101010101 0040000000000000 424250B37C3DD951
0101010101010101 0020000000000000 B8061B7ECD9A21E5
0101010101010101 0010000000000000 F15D0F286B65BD28
0101010101010101 0008000000000000 ADD0CC8D6E5DEBA1
0101010101010101 0004000000000000 E6D5F82752AD63D1
0101010101010101 0002000000000000 ECBFE3BD3F591A5E
0101010101010101 0001000000000000 F356834379D165CD
0101010101010101 0000800000000000 2B9F982F20037FA9
0101010101010101 0000400000000000 889DE068A16F0BE6
0101010101010101 0000200000000000 E19E275D846A1298
0101010101010101 0000100000000000 329A8ED523D71AEC
0101010101010101 0000080000000000 E7FCE22557D23C97
0101010101010101 0000040000000000 12A9F5817FF2D65D
0101010101010101 0000020000000000 A484C3AD38DC9C19
0101010101010101 0000010000000000 FBE00A8A1EF8AD72
0101010101010101 0000008000000000 750D079407521363
0101010101010101 0000004000000000 64FEED9C724C2FAF
0101010101010101 0000002000000000 F02B263B328E2B60
0101010101010101 0000001000000000 9D64555A9A10B852
0101010101010101 0000000800000000 D106FF0BED5255D7
0101010101010101 0000000400000000 E1652C6B138C64A5
0101010101010101 0000000200000000 E428581186EC8F46
0101010101010101 0000000100000000 AEB5F5EDE22D1A36
0101010101010101 0000000080000000 E943D7568AEC0C5C
0101010101010101 0000000040000000 DF98C8276F54B04B
0101010101010101 0000000020000000 B160E4680F6C696F
0101010101010101 0000000010000000 FA0752B07D9C4AB8
0101010101010101 0000000008000000 CA3A2B036DBC8502
0101010101010101 0000000004000000 5E0905517BB59BCF
0101010101010101 0000000002000000 814EEB3B91D90726
0101010101010101 0000000001000000 4D49DB1532919C9F
0101010101010101 0000000000800000 25EB5FC3F8CF0621
0101010101010101 0000000000400000 AB6A20C0620D1C6F
0101010101010101 0000000000200000 79E90DBC98F92CCA
0101010101010101 0000000000100000 866ECEDD8072BB0E
0101010101010101 0000000000080000 8B54536F2F3E64A8
0101010101010101 0000000000040000 EA51D3975595B86B
0101010101010101 0000000000020000 CAFFC6AC4542DE31
0101010101010101 0000000000010000 8DD45A2DDF90796C
0101010101010101 0000000000008000 1029D55E880EC2D0
0101010101010101 0000000000004000 5D86CB23639DBEA9
0101010101010101 0000000000002000 1D1CA853AE7C0C5F
0101010101010101 0000000000001000 CE332329248F3228
0101010101010101 0000000000000800 8405D1ABE24FB942
0101010101010101 0000000000000400 E643D78090CA4207
0101010101010101 0000000000000200 48221B9937748A23
0101010101010101 0000000000000100 DD7C0BBD61FAFD54
0101010101010101 0000000000000080 2FBC291A570DB5C4
0101010101010101 0000000000000040 E07C30D7E4E26E12
0101010101010101 0000000000000020 0953E2258E8E90A1
0101010101010101 0000000000000010 5B711BC4CEEBF2EE
0101010101010101 0000000000000008 CC083F1E6D9E85F6
0101010101010101 0000000000000004 D2FD8867D50D2DFE
0101010101010101 0000000000000002 06E7EA22CE92708F
0101010101010101 0000000000000001 166B40B44ABA4BD6
#
# Key Permutation tests
#
encrypt
#
8001010101010101 0000000000000000 95A8D72813DAA94D
4001010101010101 0000000000000000 0EEC1487DD8C26D5
2001010101010101 0000000000000000 7AD16FFB79C45926
1001010101010101 0000000000000000 D3746294CA6A6CF3
0801010101010101 0000000000000000 809F5F873C1FD761
0401010101010101 0000000000000000 C02FAFFEC989D1FC
0201010101010101 0000000000000000 4615AA1D33E72F10
0180010101010101 0000000000000000 2055123350C00858
0140010101010101 0000000000000000 DF3B99D6577397C8
0120010101010101 0000000000000000 31FE17369B5288C9
0110010101010101 0000000000000000 DFDD3CC64DAE1642
0108010101010101 0000000000000000 178C83CE2B399D94
0104010101010101 0000000000000000 50F636324A9B7F80
0102010101010101 0000000000000000 A8468EE3BC18F06D
0101800101010101 0000000000000000 A2DC9E92FD3CDE92
0101400101010101 0000000000000000 CAC09F797D031287
0101200101010101 0000000000000000 90BA680B22AEB525
0101100101010101 0000000000000000 CE7A24F350E280B6
0101080101010101 0000000000000000 882BFF0AA01A0B87
0101040101010101 0000000000000000 25610288924511C2
0101020101010101 0000000000000000 C71516C29C75D170
0101018001010101 0000000000000000 5199C29A52C9F059
0101014001010101 0000000000000000 C22F0A294A71F29F
0101012001010101 0000000000000000 EE371483714C02EA
0101011001010101 0000000000000000 A81FBD448F9E522F
0101010801010101 0000000000000000 4F644C92E192DFED
0101010401010101 0000000000000000 1AFA9A66A6DF92AE
0101010201010101 0000000000000000 B3C1CC715CB879D8
0101010180010101 0000000000000000 19D032E64AB0BD8B
0101010140010101 0000000000000000 3CFAA7A7DC8720DC
0101010120010101 0000000000000000 B7265F7F447AC6F3
0101010110010101 0000000000000000 9DB73B3C0D163F54
0101010108010101 0000000000000000 8181B65BABF4A975
0101010104010101 0000000000000000 93C9B64042EAA240
0101010102010101 0000000000000000 5570530829705592
0101010101800101 0000000000000000 8638809E878787A0
0101010101400101 0000000000000000 41B9A79AF79AC208
0101010101200101 0000000000000000 7A9BE42F2009A892
0101010101100101 0000000000000000 29038D56BA6D2745
0101010101080101 0000000000000000 5495C6ABF1E5DF51
0101010101040101 0000000000000000 AE13DBD561488933
0101010101020101 0000000000000000 024D1FFA8904E389
0101010101018001 0000000000000000 D1399712F99BF02E
0101010101014001 0000000000000000 14C1D7C1CFFEC79E
0101010101012001 0000000000000000 1DE5279DAE3BED6F
0101010101011001 0000000000000000 E941A33F85501303
0101010101010801 0000000000000000 DA99DBBC9A03F379
0101010101010401 0000000000000000 B7FC92F91D8E92E9
0101010101010201 0000000000000000 AE8E5CAA3CA04E85
0101010101010180 0000000000000000 9CC62DF43B6EED74
0101010101010140 0000000000000000 D863DBB5C59A91A0
0101010101010120 0000000000000000 A1AB2190545B91D7
0101010101010110 0000000000000000 0875041E64C570F7
0101010101010108 0000000000000000 5A594528BEBEF1CC
0101010101010104 0000000000000000 FCDB3291DE21F0C0
0101010101010102 0000000000000000 869EFD7F9F265A09
#
# Test of right-shifts in Decryption
#
decrypt
#
8001010101010101 95A8D72813DAA94D 0000000000000000
4001010101010101 0EEC1487DD8C26D5 0000000000000000
2001010101010101 7AD16FFB79C45926 0000000000000000
1001010101010101 D3746294CA6A6CF3 0000000000000000
0801010101010101 809F5F873C1FD761 0000000000000000
0401010101010101 C02FAFFEC989D1FC 0000000000000000
0201010101010101 4615AA1D33E72F10 0000000000000000
0180010101010101 2055123350C00858 0000000000000000
0140010101010101 DF3B99D6577397C8 0000000000000000
0120010101010101 31FE17369B5288C9 0000000000000000
0110010101010101 DFDD3CC64DAE1642 0000000000000000
0108010101010101 178C83CE2B399D94 0000000000000000
0104010101010101 50F636324A9B7F80 0000000000000000
0102010101010101 A8468EE3BC18F06D 0000000000000000
0101800101010101 A2DC9E92FD3CDE92 0000000000000000
0101400101010101 CAC09F797D031287 0000000000000000
0101200101010101 90BA680B22AEB525 0000000000000000
0101100101010101 CE7A24F350E280B6 0000000000000000
0101080101010101 882BFF0AA01A0B87 0000000000000000
0101040101010101 25610288924511C2 0000000000000000
0101020101010101 C71516C29C75D170 0000000000000000
0101018001010101 5199C29A52C9F059 0000000000000000
0101014001010101 C22F0A294A71F29F 0000000000000000
0101012001010101 EE371483714C02EA 0000000000000000
0101011001010101 A81FBD448F9E522F 0000000000000000
0101010801010101 4F644C92E192DFED 0000000000000000
0101010401010101 1AFA9A66A6DF92AE 0000000000000000
0101010201010101 B3C1CC715CB879D8 0000000000000000
0101010180010101 19D032E64AB0BD8B 0000000000000000
0101010140010101 3CFAA7A7DC8720DC 0000000000000000
0101010120010101 B7265F7F447AC6F3 0000000000000000
0101010110010101 9DB73B3C0D163F54 0000000000000000
0101010108010101 8181B65BABF4A975 0000000000000000
0101010104010101 93C9B64042EAA240 0000000000000000
0101010102010101 5570530829705592 0000000000000000
0101010101800101 8638809E878787A0 0000000000000000
0101010101400101 41B9A79AF79AC208 0000000000000000
0101010101200101 7A9BE42F2009A892 0000000000000000
0101010101100101 29038D56BA6D2745 0000000000000000
0101010101080101 5495C6ABF1E5DF51 0000000000000000
0101010101040101 AE13DBD561488933 0000000000000000
0101010101020101 024D1FFA8904E389 0000000000000000
0101010101018001 D1399712F99BF02E 0000000000000000
0101010101014001 14C1D7C1CFFEC79E 0000000000000000
0101010101012001 1DE5279DAE3BED6F 0000000000000000
0101010101011001 E941A33F85501303 0000000000000000
0101010101010801 DA99DBBC9A03F379 0000000000000000
0101010101010401 B7FC92F91D8E92E9 0000000000000000
0101010101010201 AE8E5CAA3CA04E85 0000000000000000
0101010101010180 9CC62DF43B6EED74 0000000000000000
0101010101010140 D863DBB5C59A91A0 0000000000000000
0101010101010120 A1AB2190545B91D7 0000000000000000
0101010101010110 0875041E64C570F7 0000000000000000
0101010101010108 5A594528BEBEF1CC 0000000000000000
0101010101010104 FCDB3291DE21F0C0 0000000000000000
0101010101010102 869EFD7F9F265A09 0000000000000000
#
# Data permutation test
#
encrypt
#
1046913489980131 0000000000000000 88D55E54F54C97B4
1007103489988020 0000000000000000 0C0CC00C83EA48FD
10071034C8980120 0000000000000000 83BC8EF3A6570183
1046103489988020 0000000000000000 DF725DCAD94EA2E9
1086911519190101 0000000000000000 E652B53B550BE8B0
1086911519580101 0000000000000000 AF527120C485CBB0
5107B01519580101 0000000000000000 0F04CE393DB926D5
1007B01519190101 0000000000000000 C9F00FFC74079067
3107915498080101 0000000000000000 7CFD82A593252B4E
3107919498080101 0000000000000000 CB49A2F9E91363E3
10079115B9080140 0000000000000000 00B588BE70D23F56
3107911598080140 0000000000000000 406A9A6AB43399AE
1007D01589980101 0000000000000000 6CB773611DCA9ADA
9107911589980101 0000000000000000 67FD21C17DBB5D70
9107D01589190101 0000000000000000 9592CB4110430787
1007D01598980120 0000000000000000 A6B7FF68A318DDD3
1007940498190101 0000000000000000 4D102196C914CA16
0107910491190401 0000000000000000 2DFA9F4573594965
0107910491190101 0000000000000000 B46604816C0E0774
0107940491190401 0000000000000000 6E7E6221A4F34E87
19079210981A0101 0000000000000000 AA85E74643233199
1007911998190801 0000000000000000 2E5A19DB4D1962D6
10079119981A0801 0000000000000000 23A866A809D30894
1007921098190101 0000000000000000 D812D961F017D320
100791159819010B 0000000000000000 055605816E58608F
1004801598190101 0000000000000000 ABD88E8B1B7716F1
1004801598190102 0000000000000000 537AC95BE69DA1E1
1004801598190108 0000000000000000 AED0F6AE3C25CDD8
1002911498100104 0000000000000000 B3E35A5EE53E7B8D
1002911598190104 0000000000000000 61C79C71921A2EF8
1002911598100201 0000000000000000 E2F5728F0995013C
1002911698100101 0000000000000000 1AEAC39A61F0A464
#
# S-Box test
#
encrypt
#
7CA110454A1A6E57 01A1D6D039776742 690F5B0D9A26939B
0131D9619DC1376E 5CD54CA83DEF57DA 7A389D10354BD271
07A1133E4A0B2686 0248D43806F67172 868EBB51CAB4599A
3849674C2602319E 51454B582DDF440A 7178876E01F19B2A
04B915BA43FEB5B6 42FD443059577FA2 AF37FB421F8C4095
0113B970FD34F2CE 059B5E0851CF143A 86A560F10EC6D85B
0170F175468FB5E6 0756D8E0774761D2 0CD3DA020021DC09
43297FAD38E373FE 762514B829BF486A EA676B2CB7DB2B7A
07A7137045DA2A16 3BDD119049372802 DFD64A815CAF1A0F
04689104C2FD3B2F 26955F6835AF609A 5C513C9C4886C088
37D06BB516CB7546 164D5E404F275232 0A2AEEAE3FF4AB77
1F08260D1AC2465E 6B056E18759F5CCA EF1BF03E5DFA575A
584023641ABA6176 004BD6EF09176062 88BF0DB6D70DEE56
025816164629B007 480D39006EE762F2 A1F9915541020B56
49793EBC79B3258F 437540C8698F3CFA 6FBF1CAFCFFD0556
4FB05E1515AB73A7 072D43A077075292 2F22E49BAB7CA1AC
49E95D6D4CA229BF 02FE55778117F12A 5A6B612CC26CCE4A
018310DC409B26D6 1D9D5C5018F728C2 5F4C038ED12B2E41
1C587F1C13924FEF 305532286D6F295A 63FAC0D034D9F793
================================================================
Article 1605 of sci.crypt:
Path: ai-lab!snorkelwacker!tut.cis.ohio-state.edu!ucbvax!ulysses!ulysses.att.com!smb
From: s...@ulysses.att.com (Steven Bellovin)
Newsgroups: sci.crypt
Subject: Re: Weak DES keys
Message-ID: <13...@ulysses.att.com>
Date: 25 Jul 90 18:10:46 GMT
References: <12...@surf.sics.bu.oz>
Sender: net...@ulysses.att.com
Lines: 44
In article <12...@surf.sics.bu.oz>, e...@surf.sics.bu.oz (Eric the Young) writes:
> The manual makes references to weak des keys. Can anyone out there
> tell me which keys are considered weak?
The weak keys are
01 01 01 01 01 01 01 01
FE FE FE FE FE FE FE FE
1F 1F 1F 1F 1F 1F 1F 1F
E0 E0 E0 E0 E0 E0 E0 E0
There are also ``semi-weak'' keys:
01 FE 01 FE 01 FE 01 FE
FE 01 FE 01 FE 01 FE 01
1F E0 1F E0 0E F1 0E F1
E0 1F E0 1F F1 0E F1 0E
01 E0 01 E0 01 F1 01 F1
E0 01 E0 01 F1 01 F1 01
1F FE 1F FE 0E FE 0E FE
FE 1F FE 1F FE 0E FE 0E
01 1F 01 1F 01 0E 01 0E
1F 01 1F 01 0E 01 0E 01
E0 FE E0 FE F1 FE F1 FE
FE E0 FE E0 FE F1 FE F1
These are taken from:
%A D.W. Davies
%A W.L. Price
%T Security for Computer Networks
%I John Wiley & Sons
%D 1984
for an explanation. (That book also gives the validation tests that
the Kerberos folks used to test their code.)
Note, btw, that the first weak key shown demonstrates which bit
is the parity bit in each byte.
================================================================
Article 1215 of sci.crypt:
Path: ai-lab!snorkelwacker!think!samsung!cs.utexas.edu!news-server.csri.toronto.edu!utgpu!utzoo!censor!geac!alias!dcoskun
From: dco...@alias.UUCP (Denis Coskun)
Newsgroups: sci.crypt
Subject: Re: Testing DES
Message-ID: <1990Apr5.2...@alias.uucp>
Date: 5 Apr 90 20:16:41 GMT
References: <16...@krafla.rhi.hi.is> <12...@smoke.BRL.MIL>
Sender: ne...@alias.uucp (USENET News)
Organization: Alias Research Inc., Toronto Canada
Lines: 210
In article <12...@smoke.BRL.MIL> gw...@brl.arpa (Doug Gwyn) writes:
> >Is there any semi-official validation suite for DES implementations ?
>
> As I recall, the DES spec itself contains some examples for validation
> purposes.
Not in the DES spec itself (NBS FIPS 46 or ANSI X3.92), but in a special
publication from the National Bureau of Standards (now known as NIST):
NBS SP-500 "Validating the Correctness of Hardware Implementations of
the NBS Data Encryption Standard". Like the title says, this was
intended for validating hardware (the NBS never validated software
implementations). But it does contain an appendix listing 171 triplets
of <key,plaintext,ciphertext> which would be useful to verify DES in
software. I typed these in at one time to test my own and other DES
routines. The NBS standard test performs the IP/E and PC1/PC2 tests as
shown below, and then a second time reversing the data in the plaintext
and ciphertext columns and decrypting instead. This gives a total of
291 fixed test cases. Incidentally, the NBS publication has a mistake
on line 30 of the IP/E test (no kidding!) which I've corrected in my
listing below.
Key Plain Cipher
/* IP and E Test */
0101010101010101 95F8A5E5DD31D900 8000000000000000
0101010101010101 DD7F121CA5015619 4000000000000000
0101010101010101 2E8653104F3834EA 2000000000000000
0101010101010101 4BD388FF6CD81D4F 1000000000000000
0101010101010101 20B9E767B2FB1456 0800000000000000
0101010101010101 55579380D77138EF 0400000000000000
0101010101010101 6CC5DEFAAF04512F 0200000000000000
0101010101010101 0D9F279BA5D87260 0100000000000000
0101010101010101 D9031B0271BD5A0A 0080000000000000
0101010101010101 424250B37C3DD951 0040000000000000
0101010101010101 B8061B7ECD9A21E5 0020000000000000
0101010101010101 F15D0F286B65BD28 0010000000000000
0101010101010101 ADD0CC8D6E5DEBA1 0008000000000000
0101010101010101 E6D5F82752AD63D1 0004000000000000
0101010101010101 ECBFE3BD3F591A5E 0002000000000000
0101010101010101 F356834379D165CD 0001000000000000
0101010101010101 2B9F982F20037FA9 0000800000000000
0101010101010101 889DE068A16F0BE6 0000400000000000
0101010101010101 E19E275D846A1298 0000200000000000
0101010101010101 329A8ED523D71AEC 0000100000000000
0101010101010101 E7FCE22557D23C97 0000080000000000
0101010101010101 12A9F5817FF2D65D 0000040000000000
0101010101010101 A484C3AD38DC9C19 0000020000000000
0101010101010101 FBE00A8A1EF8AD72 0000010000000000
0101010101010101 750D079407521363 0000008000000000
0101010101010101 64FEED9C724C2FAF 0000004000000000
0101010101010101 F02B263B328E2B60 0000002000000000
0101010101010101 9D64555A9A10B852 0000001000000000
0101010101010101 D106FF0BED5255D7 0000000800000000
0101010101010101 E1652C6B138C64A5 0000000400000000
0101010101010101 E428581186EC8F46 0000000200000000
0101010101010101 AEB5F5EDE22D1A36 0000000100000000
0101010101010101 E943D7568AEC0C5C 0000000080000000
0101010101010101 DF98C8276F54B04B 0000000040000000
0101010101010101 B160E4680F6C696F 0000000020000000
0101010101010101 FA0752B07D9C4AB8 0000000010000000
0101010101010101 CA3A2B036DBC8502 0000000008000000
0101010101010101 5E0905517BB59BCF 0000000004000000
0101010101010101 814EEB3B91D90726 0000000002000000
0101010101010101 4D49DB1532919C9F 0000000001000000
0101010101010101 25EB5FC3F8CF0621 0000000000800000
0101010101010101 AB6A20C0620D1C6F 0000000000400000
0101010101010101 79E90DBC98F92CCA 0000000000200000
0101010101010101 866ECEDD8072BB0E 0000000000100000
0101010101010101 8B54536F2F3E64A8 0000000000080000
0101010101010101 EA51D3975595B86B 0000000000040000
0101010101010101 CAFFC6AC4542DE31 0000000000020000
0101010101010101 8DD45A2DDF90796C 0000000000010000
0101010101010101 1029D55E880EC2D0 0000000000008000
0101010101010101 5D86CB23639DBEA9 0000000000004000
0101010101010101 1D1CA853AE7C0C5F 0000000000002000
0101010101010101 CE332329248F3228 0000000000001000
0101010101010101 8405D1ABE24FB942 0000000000000800
0101010101010101 E643D78090CA4207 0000000000000400
0101010101010101 48221B9937748A23 0000000000000200
0101010101010101 DD7C0BBD61FAFD54 0000000000000100
0101010101010101 2FBC291A570DB5C4 0000000000000080
0101010101010101 E07C30D7E4E26E12 0000000000000040
0101010101010101 0953E2258E8E90A1 0000000000000020
0101010101010101 5B711BC4CEEBF2EE 0000000000000010
0101010101010101 CC083F1E6D9E85F6 0000000000000008
0101010101010101 D2FD8867D50D2DFE 0000000000000004
0101010101010101 06E7EA22CE92708F 0000000000000002
0101010101010101 166B40B44ABA4BD6 0000000000000001
/* PC1 and PC2 test */
8001010101010101 0000000000000000 95A8D72813DAA94D
4001010101010101 0000000000000000 0EEC1487DD8C26D5
2001010101010101 0000000000000000 7AD16FFB79C45926
1001010101010101 0000000000000000 D3746294CA6A6CF3
0801010101010101 0000000000000000 809F5F873C1FD761
0401010101010101 0000000000000000 C02FAFFEC989D1FC
0201010101010101 0000000000000000 4615AA1D33E72F10
0180010101010101 0000000000000000 2055123350C00858
0140010101010101 0000000000000000 DF3B99D6577397C8
0120010101010101 0000000000000000 31FE17369B5288C9
0110010101010101 0000000000000000 DFDD3CC64DAE1642
0108010101010101 0000000000000000 178C83CE2B399D94
0104010101010101 0000000000000000 50F636324A9B7F80
0102010101010101 0000000000000000 A8468EE3BC18F06D
0101800101010101 0000000000000000 A2DC9E92FD3CDE92
0101400101010101 0000000000000000 CAC09F797D031287
0101200101010101 0000000000000000 90BA680B22AEB525
0101100101010101 0000000000000000 CE7A24F350E280B6
0101080101010101 0000000000000000 882BFF0AA01A0B87
0101040101010101 0000000000000000 25610288924511C2
0101020101010101 0000000000000000 C71516C29C75D170
0101018001010101 0000000000000000 5199C29A52C9F059
0101014001010101 0000000000000000 C22F0A294A71F29F
0101012001010101 0000000000000000 EE371483714C02EA
0101011001010101 0000000000000000 A81FBD448F9E522F
0101010801010101 0000000000000000 4F644C92E192DFED
0101010401010101 0000000000000000 1AFA9A66A6DF92AE
0101010201010101 0000000000000000 B3C1CC715CB879D8
0101010180010101 0000000000000000 19D032E64AB0BD8B
0101010140010101 0000000000000000 3CFAA7A7DC8720DC
0101010120010101 0000000000000000 B7265F7F447AC6F3
0101010110010101 0000000000000000 9DB73B3C0D163F54
0101010108010101 0000000000000000 8181B65BABF4A975
0101010104010101 0000000000000000 93C9B64042EAA240
0101010102010101 0000000000000000 5570530829705592
0101010101800101 0000000000000000 8638809E878787A0
0101010101400101 0000000000000000 41B9A79AF79AC208
0101010101200101 0000000000000000 7A9BE42F2009A892
0101010101100101 0000000000000000 29038D56BA6D2745
0101010101080101 0000000000000000 5495C6ABF1E5DF51
0101010101040101 0000000000000000 AE13DBD561488933
0101010101020101 0000000000000000 024D1FFA8904E389
0101010101018001 0000000000000000 D1399712F99BF02E
0101010101014001 0000000000000000 14C1D7C1CFFEC79E
0101010101012001 0000000000000000 1DE5279DAE3BED6F
0101010101011001 0000000000000000 E941A33F85501303
0101010101010801 0000000000000000 DA99DBBC9A03F379
0101010101010401 0000000000000000 B7FC92F91D8E92E9
0101010101010201 0000000000000000 AE8E5CAA3CA04E85
0101010101010180 0000000000000000 9CC62DF43B6EED74
0101010101010140 0000000000000000 D863DBB5C59A91A0
0101010101010120 0000000000000000 A1AB2190545B91D7
0101010101010110 0000000000000000 0875041E64C570F7
0101010101010108 0000000000000000 5A594528BEBEF1CC
0101010101010104 0000000000000000 FCDB3291DE21F0C0
0101010101010102 0000000000000000 869EFD7F9F265A09
/* P Test */
1046913489980131 0000000000000000 88D55E54F54C97B4
1007103489988020 0000000000000000 0C0CC00C83EA48FD
10071034C8980120 0000000000000000 83BC8EF3A6570183
1046103489988020 0000000000000000 DF725DCAD94EA2E9
1086911519190101 0000000000000000 E652B53B550BE8B0
1086911519580101 0000000000000000 AF527120C485CBB0
5107B01519580101 0000000000000000 0F04CE393DB926D5
1007B01519190101 0000000000000000 C9F00FFC74079067
3107915498080101 0000000000000000 7CFD82A593252B4E
3107919498080101 0000000000000000 CB49A2F9E91363E3
10079115B9080140 0000000000000000 00B588BE70D23F56
3107911598090140 0000000000000000 406A9A6AB43399AE
1007D01589980101 0000000000000000 6CB773611DCA9ADA
9107911589980101 0000000000000000 67FD21C17DBB5D70
9107D01589190101 0000000000000000 9592CB4110430787
1007D01598980120 0000000000000000 A6B7FF68A318DDD3
1007940498190101 0000000000000000 4D102196C914CA16
0107910491190401 0000000000000000 2DFA9F4573594965
0107910491190101 0000000000000000 B46604816C0E0774
0107940491190401 0000000000000000 6E7E6221A4F34E87
19079210981A0101 0000000000000000 AA85E74643233199
1007911998190801 0000000000000000 2E5A19DB4D1962D6
10079119981A0801 0000000000000000 23A866A809D30894
1007921098190101 0000000000000000 D812D961F017D320
100791159819010B 0000000000000000 055605816E58608F
1004801598190101 0000000000000000 ABD88E8B1B7716F1
1004801598190102 0000000000000000 537AC95BE69DA1E1
1004801598190108 0000000000000000 AED0F6AE3C25CDD8
1002911598100104 0000000000000000 B3E35A5EE53E7B8D
1002911598190104 0000000000000000 61C79C71921A2EF8
1002911598100201 0000000000000000 E2F5728F0995013C
1002911698100101 0000000000000000 1AEAC39A61F0A464
/* S-box test */
7CA110454A1A6E57 01A1D6D039776742 690F5B0D9A26939B
0131D9619DC1376E 5CD54CA83DEF57DA 7A389D10354BD271
07A1133E4A0B2686 0248D43806F67172 868EBB51CAB4599A
3849674C2602319E 51454B582DDF440A 7178876E01F19B2A
04B915BA43FEB5B6 42FD443059577FA2 AF37FB421F8C4095
0113B970FD34F2CE 059B5E0851CF143A 86A560F10EC6D85B
0170F175468FB5E6 0756D8E0774761D2 0CD3DA020021DC09
43297FAD38E373FE 762514B829BF486A EA676B2CB7DB2B7A
07A7137045DA2A16 3BDD119049372802 DFD64A815CAF1A0F
04689104C2FD3B2F 26955F6835AF609A 5C513C9C4886C088
37D06BB516CB7546 164D5E404F275232 0A2AEEAE3FF4AB77
1F08260D1AC2465E 6B056E18759F5CCA EF1BF03E5DFA575A
584023641ABA6176 004BD6EF09176062 88BF0DB6D70DEE56
025816164629B007 480D39006EE762F2 A1F9915541020B56
49793EBC79B3258F 437540C8698F3CFA 6FBF1CAFCFFD0556
4FB05E1515AB73A7 072D43A077075292 2F22E49BAB7CA1AC
49E95D6D4CA229BF 02FE55778117F12A 5A6B612CC26CCE4A
018310DC409B26D6 1D9D5C5018F728C2 5F4C038ED12B2E41
1C587F1C13924FEF 305532286D6F295A 63FAC0D034D9F793
Denis Coskun BELL: (416) 362-9181
Alias Research Inc. ARPA: dcoskun%al...@csri.utoronto.ca
Toronto, Ont., Canada UUCP: utcsri!alias!dcoskun
================================================================
Article 1234 of sci.crypt:
Path: ai-lab!snorkelwacker!bloom-beacon!bloom-beacon.mit.edu!jtkohl
From: jtk...@MIT.EDU (John T Kohl)
Newsgroups: sci.crypt
Subject: Re: NBS SP-500 (validating DES) has a bad parity key
Message-ID: <JTKOHL.90A...@podge.MIT.EDU>
Date: 20 Apr 90 22:57:29 GMT
Sender: ne...@athena.mit.edu (News system)
Organization: MIT Project Athena
Lines: 24
This didn't make it on the poster's local try, so I'll post it, edited a
bit to cut down the quotes of my previous posting.
From: li...@zendia.dec.com
Newsgroups: sci.crypt
Subject: Re: NBS SP-500 (validating DES) has a bad parity key
Date: 20 APR 90 13:29:12
Organization: Digital Equipment Corporation
-Message-Text-Follows-
In article <JTKOHL.90A...@quicksilver.MIT.EDU>, jtk...@MIT.EDU (John T Kohl) writes...
>The line is in the P Test section:
>
>3107911598090140 0000000000000000 406A9A6AB43399AE
> ^^ this byte does not have odd DES parity.
My copy of SP-500 says Revised, September 1980, and has a '08' in place of the
suspect '09' byte (PTEST table on page 32).
--jl
--
John Kohl <jtk...@ATHENA.MIT.EDU> or <jtk...@MIT.EDU>
Digital Equipment Corporation/Project Athena
(The above opinions are MINE. Don't put my words in somebody else's mouth!)
================================================================
Article 1192 of sci.crypt:
Path: ai-lab!snorkelwacker!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!samsung!noose.ecn.purdue.edu!cidmac.ecn.purdue.edu!3ksnn64
From: 3ks...@cidmac.ecn.purdue.edu (Joe Cychosz)
Newsgroups: sci.crypt
Subject: Re: Testing DES
Message-ID: <1990Apr4.0...@ecn.purdue.edu>
Date: 4 Apr 90 05:23:46 GMT
References: <16...@krafla.rhi.hi.is>
Sender: ne...@ecn.purdue.edu (USENET news)
Organization: Purdue University Engineering Computer Network
Lines: 47
In article <16...@krafla.rhi.hi.is> fr...@rhi.hi.is (Fridrik Skulason) writes:
>Is there any semi-official validation suite for DES implementations ?
>I need to test a version I have just written for 80386.
This was posted to the net some time ago. I have not validated its
integrety. Originaly posted by:
John Woods, Charles River Data Systems, Framingham MA, (617) 626-1101
...!decvax!frog!john, ...!mit-eddie!jfw, j...@eddie.mit.edu
The following are NBS's validation triplets:
key plaintext ciphertext
0000000000000000 0000000000000000 8CA64DE9C1B123A7
FFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFF 7359B2163E4EDC58
3000000000000000 1000000000000001 958E6E627A05557B
1111111111111111 1111111111111111 F40379AB9E0EC533
0123456789ABCDEF 1111111111111111 17668DFC7292532D
1111111111111111 0123456789ABCDEF 8A5AE1F81AB8F2DD
0000000000000000 0000000000000000 8CA64DE9C1B123A7
FEDCBA9876543210 0123456789ABCDEF ED39D950FA74BCC4
7CA110454A1A6E57 01A1D6D039776742 690F5B0D9A26939B
0131D9619DC1376E 5CD54CA83DEF57DA 7A389D10354BD271
07A1133E4A0B2686 0248D43806F67172 868EBB51CAB4599A
3849674C2602319E 51454B582DDF440A 7178876E01F19B2A
04B915BA43FEB5B6 42FD443059577FA2 AF37FB421F8C4095
0113B970FD34F2CE 059B5E0851CF143A 86A560F10EC6D85B
0170F175468FB5E6 0756D8E0774761D2 0CD3DA020021DC09
43297FAD38E373FE 762514B829BF486A EA676B2CB7DB2B7A
07A7137045DA2A16 3BDD119049372802 DFD64A815CAF1A0F
04689104C2FD3B2F 26955F6835AF609A 5C513C9C4886C088
37D06BB516CB7546 164D5E404F275232 0A2AEEAE3FF4AB77
1F08260D1AC2465E 6B056E18759F5CCA EF1BF03E5DFA575A
584023641ABA6176 004BD6EF09176062 88BF0DB6D70DEE56
025816164629B007 480D39006EE762F2 A1F9915541020B56
49793EBC79B3258F 437540C8698F3CFA 6FBF1CAFCFFD0556
4FB05E1515AB73A7 072D43A077075292 2F22E49BAB7CA1AC
49E95D6D4CA229BF 02FE55778117F12A 5A6B612CC26CCE4A
018310DC409B26D6 1D9D5C5018F728C2 5F4C038ED12B2E41
1C587F1C13924FEF 305532286D6F295A 63FAC0D034D9F793
0101010101010101 0123456789ABCDEF 617B3A0CE8F07100
1F1F1F1F0E0E0E0E 0123456789ABCDEF DB958605F8C8C606
E0FEE0FEF1FEF1FE 0123456789ABCDEF EDBFD1C66C29CCC7
0000000000000000 FFFFFFFFFFFFFFFF 355550B2150E2451
FFFFFFFFFFFFFFFF 0000000000000000 CAAAAF4DEAF1DBAE
0123456789ABCDEF 0000000000000000 D5D44FF720683D0D
FEDCBA9876543210 FFFFFFFFFFFFFFFF 2A2BB008DF97C2F2