DES.txt at [c5f7dd0630]

File tests/test_vectors/Symetric_Block/DES.txt artifact 95c3c92714 part of check-in c5f7dd0630


# DES-CBC
# From NBS SP 500-20 and NIST SP 800-20


# NIST 800-17
Klen = 8
Len = 8
Key = 10316E028C8F3B4A
Plaintext = 0000000000000000
Ciphertext = 82DCBAFBDEAB6602

# SP 500-20 Appendix B: The DES Test Set
# SP 800-20 Table A.1
Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = 95F8A5E5DD31D900
Ciphertext = 8000000000000000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = DD7F121CA5015619
Ciphertext = 4000000000000000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = 2E8653104F3834EA
Ciphertext = 2000000000000000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = 4BD388FF6CD81D4F
Ciphertext = 1000000000000000

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = CC083F1E6D9E85F6
Ciphertext = 0000000000000008

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = D2FD8867D50D2DFE
Ciphertext = 0000000000000004

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = 06E7EA22CE92708F
Ciphertext = 0000000000000002

Klen = 8
Len = 8
Key = 0101010101010101
Plaintext = 166B40B44ABA4BD6
Ciphertext = 0000000000000001


# NIST SP 800-20 Table A.2
Count = 0
Klen = 8
Len = 8
Key = 8001010101010101
Plaintext = 0000000000000000
Ciphertext = 95A8D72813DAA94D

Count = 1
Klen = 8
Len = 8
Key = 4001010101010101
Plaintext = 0000000000000000
Ciphertext = 0EEC1487DD8C26D5

Count = 2
Klen = 8
Len = 8
Key = 2001010101010101
Plaintext = 0000000000000000
Ciphertext = 7AD16FFB79C45926

Count = 3
Klen = 8
Len = 8
Key = 1001010101010101
Plaintext = 0000000000000000
Ciphertext = D3746294CA6A6CF3

Count = 4
Klen = 8
Len = 8
Key = 0801010101010101
Plaintext = 0000000000000000
Ciphertext = 809F5F873C1FD761

Count = 5
Klen = 8
Len = 8
Key = 0401010101010101
Plaintext = 0000000000000000
Ciphertext = C02FAFFEC989D1FC

Count = 6
Klen = 8
Len = 8
Key = 0201010101010101
Plaintext = 0000000000000000
Ciphertext = 4615AA1D33E72F10

Count = 7
Klen = 8
Len = 8
Key = 0180010101010101
Plaintext = 0000000000000000
Ciphertext = 2055123350C00858

Count = 8
Klen = 8
Len = 8
Key = 0140010101010101
Plaintext = 0000000000000000
Ciphertext = DF3B99D6577397C8

Count = 9
Klen = 8
Len = 8
Key = 0120010101010101
Plaintext = 0000000000000000
Ciphertext = 31FE17369B5288C9

Count = 10
Klen = 8
Len = 8
Key = 0110010101010101
Plaintext = 0000000000000000
Ciphertext = DFDD3CC64DAE1642

Count = 11
Klen = 8
Len = 8
Key = 0108010101010101
Plaintext = 0000000000000000
Ciphertext = 178C83CE2B399D94

Count = 12
Klen = 8
Len = 8
Key = 0104010101010101
Plaintext = 0000000000000000
Ciphertext = 50F636324A9B7F80

Count = 13
Klen = 8
Len = 8
Key = 0102010101010101
Plaintext = 0000000000000000
Ciphertext = A8468EE3BC18F06D

Count = 14
Klen = 8
Len = 8
Key = 0101800101010101
Plaintext = 0000000000000000
Ciphertext = A2DC9E92FD3CDE92

Count = 15
Klen = 8
Len = 8
Key = 0101400101010101
Plaintext = 0000000000000000
Ciphertext = CAC09F797D031287

Count = 16
Klen = 8
Len = 8
Key = 0101200101010101
Plaintext = 0000000000000000
Ciphertext = 90BA680B22AEB525

Count = 17
Klen = 8
Len = 8
Key = 0101100101010101
Plaintext = 0000000000000000
Ciphertext = CE7A24F350E280B6

Count = 18
Klen = 8
Len = 8
Key = 0101080101010101
Plaintext = 0000000000000000
Ciphertext = 882BFF0AA01A0B87

Count = 19
Klen = 8
Len = 8
Key = 0101040101010101
Plaintext = 0000000000000000
Ciphertext = 25610288924511C2

Count = 20
Klen = 8
Len = 8
Key = 0101020101010101
Plaintext = 0000000000000000
Ciphertext = C71516C29C75D170

Count = 21
Klen = 8
Len = 8
Key = 0101018001010101
Plaintext = 0000000000000000
Ciphertext = 5199C29A52C9F059

Count = 22
Klen = 8
Len = 8
Key = 0101014001010101
Plaintext = 0000000000000000
Ciphertext = C22F0A294A71F29F

Count = 23
Klen = 8
Len = 8
Key = 0101012001010101
Plaintext = 0000000000000000
Ciphertext = EE371483714C02EA

Count = 24
Klen = 8
Len = 8
Key = 0101011001010101
Plaintext = 0000000000000000
Ciphertext = A81FBD448F9E522F

Count = 25
Klen = 8
Len = 8
Key = 0101010801010101
Plaintext = 0000000000000000
Ciphertext = 4F644C92E192DFED

Count = 26
Klen = 8
Len = 8
Key = 0101010401010101
Plaintext = 0000000000000000
Ciphertext = 1AFA9A66A6DF92AE

Count = 27
Klen = 8
Len = 8
Key = 0101010201010101
Plaintext = 0000000000000000
Ciphertext = B3C1CC715CB879D8

Count = 28
Klen = 8
Len = 8
Key = 0101010180010101
Plaintext = 0000000000000000
Ciphertext = 19D032E64AB0BD8B

Count = 29
Klen = 8
Len = 8
Key = 0101010140010101
Plaintext = 0000000000000000
Ciphertext = 3CFAA7A7DC8720DC

Count = 30
Klen = 8
Len = 8
Key = 0101010120010101
Plaintext = 0000000000000000
Ciphertext = B7265F7F447AC6F3

Count = 31
Klen = 8
Len = 8
Key = 0101010110010101
Plaintext = 0000000000000000
Ciphertext = 9DB73B3C0D163F54

Count = 32
Klen = 8
Len = 8
Key = 0101010108010101
Plaintext = 0000000000000000
Ciphertext = 8181B65BABF4A975

Count = 33
Klen = 8
Len = 8
Key = 0101010104010101
Plaintext = 0000000000000000
Ciphertext = 93C9B64042EAA240

Count = 34
Klen = 8
Len = 8
Key = 0101010102010101
Plaintext = 0000000000000000
Ciphertext = 5570530829705592

Count = 35
Klen = 8
Len = 8
Key = 0101010101800101
Plaintext = 0000000000000000
Ciphertext = 8638809E878787A0

Count = 36
Klen = 8
Len = 8
Key = 0101010101400101
Plaintext = 0000000000000000
Ciphertext = 41B9A79AF79AC208

Count = 37
Klen = 8
Len = 8
Key = 0101010101200101
Plaintext = 0000000000000000
Ciphertext = 7A9BE42F2009A892

Count = 38
Klen = 8
Len = 8
Key = 0101010101100101
Plaintext = 0000000000000000
Ciphertext = 29038D56BA6D2745

Count = 39
Klen = 8
Len = 8
Key = 0101010101080101
Plaintext = 0000000000000000
Ciphertext = 5495C6ABF1E5DF51

Count = 40
Klen = 8
Len = 8
Key = 0101010101040101
Plaintext = 0000000000000000
Ciphertext = AE13DBD561488933

Count = 41
Klen = 8
Len = 8
Key = 0101010101020101
Plaintext = 0000000000000000
Ciphertext = 024D1FFA8904E389

Count = 42
Klen = 8
Len = 8
Key = 0101010101018001
Plaintext = 0000000000000000
Ciphertext = D1399712F99BF02E

Count = 43
Klen = 8
Len = 8
Key = 0101010101014001
Plaintext = 0000000000000000
Ciphertext = 14C1D7C1CFFEC79E

Count = 44
Klen = 8
Len = 8
Key = 0101010101012001
Plaintext = 0000000000000000
Ciphertext = 1DE5279DAE3BED6F

Count = 45
Klen = 8
Len = 8
Key = 0101010101011001
Plaintext = 0000000000000000
Ciphertext = E941A33F85501303

Count = 46
Klen = 8
Len = 8
Key = 0101010101010801
Plaintext = 0000000000000000
Ciphertext = DA99DBBC9A03F379

Count = 47
Klen = 8
Len = 8
Key = 0101010101010401
Plaintext = 0000000000000000
Ciphertext = B7FC92F91D8E92E9

Count = 48
Klen = 8
Len = 8
Key = 0101010101010201
Plaintext = 0000000000000000
Ciphertext = AE8E5CAA3CA04E85

Count = 49
Klen = 8
Len = 8
Key = 0101010101010180
Plaintext = 0000000000000000
Ciphertext = 9CC62DF43B6EED74

Count = 50
Klen = 8
Len = 8
Key = 0101010101010140
Plaintext = 0000000000000000
Ciphertext = D863DBB5C59A91A0

Count = 51
Klen = 8
Len = 8
Key = 0101010101010120
Plaintext = 0000000000000000
Ciphertext = A1AB2190545B91D7

Count = 52
Klen = 8
Len = 8
Key = 0101010101010110
Plaintext = 0000000000000000
Ciphertext = 0875041E64C570F7

Count = 53
Klen = 8
Len = 8
Key = 0101010101010108
Plaintext = 0000000000000000
Ciphertext = 5A594528BEBEF1CC

Count = 54
Klen = 8
Len = 8
Key = 0101010101010104
Plaintext = 0000000000000000
Ciphertext = FCDB3291DE21F0C0

Count = 55
Klen = 8
Len = 8
Key = 0101010101010102
Plaintext = 0000000000000000
Ciphertext = 869EFD7F9F265A09


# NIST SP 800-20 Table A.3
Count = 0
Klen = 8
Len = 8
Key = 1046913489980131
Plaintext = 0000000000000000
Ciphertext = 88D55E54F54C97B4

Count = 1
Klen = 8
Len = 8
Key = 1007103489988020
Plaintext = 0000000000000000
Ciphertext = 0C0CC00C83EA48FD

Count = 2
Klen = 8
Len = 8
Key = 10071034C8980120
Plaintext = 0000000000000000
Ciphertext = 83BC8EF3A6570183

Count = 3
Klen = 8
Len = 8
Key = 1046103489988020
Plaintext = 0000000000000000
Ciphertext = DF725DCAD94EA2E9

Count = 4
Klen = 8
Len = 8
Key = 1086911519190101
Plaintext = 0000000000000000
Ciphertext = E652B53B550BE8B0

Count = 5
Klen = 8
Len = 8
Key = 1086911519580101
Plaintext = 0000000000000000
Ciphertext = AF527120C485CBB0

Count = 6
Klen = 8
Len = 8
Key = 5107B01519580101
Plaintext = 0000000000000000
Ciphertext = 0F04CE393DB926D5

Count = 7
Klen = 8
Len = 8
Key = 1007B01519190101
Plaintext = 0000000000000000
Ciphertext = C9F00FFC74079067

Count = 8
Klen = 8
Len = 8
Key = 3107915498080101
Plaintext = 0000000000000000
Ciphertext = 7CFD82A593252B4E

Count = 9
Klen = 8
Len = 8
Key = 3107919498080101
Plaintext = 0000000000000000
Ciphertext = CB49A2F9E91363E3

Count = 10
Klen = 8
Len = 8
Key = 10079115B9080140
Plaintext = 0000000000000000
Ciphertext = 00B588BE70D23F56

Count = 11
Klen = 8
Len = 8
Key = 3107911598080140
Plaintext = 0000000000000000
Ciphertext = 406A9A6AB43399AE

Count = 12
Klen = 8
Len = 8
Key = 1007D01589980101
Plaintext = 0000000000000000
Ciphertext = 6CB773611DCA9ADA

Count = 13
Klen = 8
Len = 8
Key = 9107911589980101
Plaintext = 0000000000000000
Ciphertext = 67FD21C17DBB5D70

Count = 14
Klen = 8
Len = 8
Key = 9107D01589190101
Plaintext = 0000000000000000
Ciphertext = 9592CB4110430787

Count = 15
Klen = 8
Len = 8
Key = 1007D01598980120
Plaintext = 0000000000000000
Ciphertext = A6B7FF68A318DDD3

Count = 16
Klen = 8
Len = 8
Key = 1007940498190101
Plaintext = 0000000000000000
Ciphertext = 4D102196C914CA16

Count = 17
Klen = 8
Len = 8
Key = 0107910491190401
Plaintext = 0000000000000000
Ciphertext = 2DFA9F4573594965

Count = 18
Klen = 8
Len = 8
Key = 0107910491190101
Plaintext = 0000000000000000
Ciphertext = B46604816C0E0774

Count = 19
Klen = 8
Len = 8
Key = 0107940491190401
Plaintext = 0000000000000000
Ciphertext = 6E7E6221A4F34E87

Count = 20
Klen = 8
Len = 8
Key = 19079210981A0101
Plaintext = 0000000000000000
Ciphertext = AA85E74643233199

Count = 21
Klen = 8
Len = 8
Key = 1007911998190801
Plaintext = 0000000000000000
Ciphertext = 2E5A19DB4D1962D6

Count = 22
Klen = 8
Len = 8
Key = 10079119981A0801
Plaintext = 0000000000000000
Ciphertext = 23A866A809D30894

Count = 23
Klen = 8
Len = 8
Key = 1007921098190101
Plaintext = 0000000000000000
Ciphertext = D812D961F017D320

Count = 24
Klen = 8
Len = 8
Key = 100791159819010B
Plaintext = 0000000000000000
Ciphertext = 055605816E58608F

Count = 25
Klen = 8
Len = 8
Key = 1004801598190101
Plaintext = 0000000000000000
Ciphertext = ABD88E8B1B7716F1

Count = 26
Klen = 8
Len = 8
Key = 1004801598190102
Plaintext = 0000000000000000
Ciphertext = 537AC95BE69DA1E1

Count = 27
Klen = 8
Len = 8
Key = 1004801598190108
Plaintext = 0000000000000000
Ciphertext = AED0F6AE3C25CDD8

Count = 28
Klen = 8
Len = 8
Key = 1002911598100104
Plaintext = 0000000000000000
Ciphertext = B3E35A5EE53E7B8D

Count = 29
Klen = 8
Len = 8
Key = 1002911598190104
Plaintext = 0000000000000000
Ciphertext = 61C79C71921A2EF8

Count = 30
Klen = 8
Len = 8
Key = 1002911598100201
Plaintext = 0000000000000000
Ciphertext = E2F5728F0995013C

Count = 31
Klen = 8
Len = 8
Key = 1002911698100101
Plaintext = 0000000000000000
Ciphertext = 1AEAC39A61F0A464


# 19 Key data pairs which exercise every S-box entry.
# NIST SP 800-20 Table A.4
Klen = 8
Len = 8
Key = 7CA110454A1A6E57
Plaintext = 01A1D6D039776742
Ciphertext = 690F5B0D9A26939B

Klen = 8
Len = 8
Key = 0131D9619DC1376E
Plaintext = 5CD54CA83DEF57DA
Ciphertext = 7A389D10354BD271

Klen = 8
Len = 8
Key = 07A1133E4A0B2686
Plaintext = 0248D43806F67172
Ciphertext = 868EBB51CAB4599A

Klen = 8
Len = 8
Key = 3849674C2602319E
Plaintext = 51454B582DDF440A
Ciphertext = 7178876E01F19B2A

Klen = 8
Len = 8
Key = 04B915BA43FEB5B6
Plaintext = 42FD443059577FA2
Ciphertext = AF37FB421F8C4095

Klen = 8
Len = 8
Key = 0113B970FD34F2CE
Plaintext = 059B5E0851CF143A
Ciphertext = 86A560F10EC6D85B

Klen = 8
Len = 8
Key = 0170F175468FB5E6
Plaintext = 0756D8E0774761D2
Ciphertext = 0CD3DA020021DC09

Klen = 8
Len = 8
Key = 43297FAD38E373FE
Plaintext = 762514B829BF486A
Ciphertext = EA676B2CB7DB2B7A

Klen = 8
Len = 8
Key = 07A7137045DA2A16
Plaintext = 3BDD119049372802
Ciphertext = DFD64A815CAF1A0F

Klen = 8
Len = 8
Key = 04689104C2FD3B2F
Plaintext = 26955F6835AF609A
Ciphertext = 5C513C9C4886C088

Klen = 8
Len = 8
Key = 37D06BB516CB7546
Plaintext = 164D5E404F275232
Ciphertext = 0A2AEEAE3FF4AB77

Klen = 8
Len = 8
Key = 1F08260D1AC2465E
Plaintext = 6B056E18759F5CCA
Ciphertext = EF1BF03E5DFA575A

Klen = 8
Len = 8
Key = 584023641ABA6176
Plaintext = 004BD6EF09176062
Ciphertext = 88BF0DB6D70DEE56

Klen = 8
Len = 8
Key = 025816164629B007
Plaintext = 480D39006EE762F2
Ciphertext = A1F9915541020B56

Klen = 8
Len = 8
Key = 49793EBC79B3258F
Plaintext = 437540C8698F3CFA
Ciphertext = 6FBF1CAFCFFD0556

Klen = 8
Len = 8
Key = 4FB05E1515AB73A7
Plaintext = 072D43A077075292
Ciphertext = 2F22E49BAB7CA1AC

Klen = 8
Len = 8
Key = 49E95D6D4CA229BF
Plaintext = 02FE55778117F12A
Ciphertext = 5A6B612CC26CCE4A

Klen = 8
Len = 8
Key = 018310DC409B26D6
Plaintext = 1D9D5C5018F728C2
Ciphertext = 5F4C038ED12B2E41

Klen = 8
Len = 8
Key = 1C587F1C13924FEF
Plaintext = 305532286D6F295A
Ciphertext = 63FAC0D034D9F793