Command chosen: Z 
Command chosen: - 
Command chosen: 1 
Command chosen: - 
Command chosen: - 
Command chosen: K 
Command chosen: X 
Command chosen: T 

 printing plaintext now .... 
  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0
  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0
  0  0  0  0  0  0  0  0
 40 bytes of plaintext printed. 

  0  0x 1 
  1  0x30 
  2  0xc5 
  3  0x6f 
  4  0x6b 
  5  0xf2 
  6  0x7b 
  7  0x77 
  8  0x7c 
  9  0x63 
 ECRYPT_keysetup done. 
Key:0x 
  1 30 c5 6f 6b f2 7b 77 7c 63
Initialization ....... 
  0   0 
  1   0 
  2   0 
  3   0 
  4   0 
  5   0 
  6   0 
  7   0 
  8   0 
  9   0 
 10   0 
 11   0 
 12   0 
 13   0 
 14   0 
 15   0 
 16   0 
 17   0 
 18   0 
 19   0 
 ECRYPT_ivsetup done. 
  0  0x8d 
  1  0xe0 
  2  0xc9 
  3  0xf8 
  4  0xef 
  5  0x b 
  6  0x1b 
  7  0xe8 
  8  0x c 
  9  0x8d 
 10  0x42 
 11  0x 8 
 12  0x92 
 13  0x88 
 14  0x5c 
 15  0xfb 
 16  0x3f 
 17  0x95 
 18  0x22 
 19  0x80 
 ECRYPT_initialization done. 

IV: 0x 
  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0
Initialization done. 
State: 0x 
 8d e0 c9 f8 ef  b 1b e8  c 8d 42  8 92 88 5c fb 3f 95 22 80
Key:0x 
 d7 41 bb 16 11 17 c3 91 88 ea
STREAM start  accu=0x88  p1=14 p2=8 scr=5  round=10 

 printing ciphertext now .... 
 c8 22 ae 1e 76 a9  3 fa 1a 4b b4 3b ec 1a f6 b2
 3e 17 70 89 82 b6 ce a7 b2 63 da 8c e2  d 41 63
 eb 4c b0 23 b7 87 b1 e7 a3  5 fd b8 dc dc d2 7d
 5a 89 7b 58 fa 93 29 15 ec 7b 61  0 81 28 79 18
  b e6 f9 e5 82 d6 7f 40 f3 d8 26 94 6c c1 53 84
  6 a2 a2 da 99 9c bc ef 4d b7 70 b0 60 e6 8c ac
 51 f4 4c 9b 22 68 bd fc dc 94 73 14 5c  a d8 e8
 3b  9 46 41 b1 85 e2 b0 6a bf b7 e3 4a 7c 1b ef
 87 2f 38 1e 74 bf 3f be cb e8 a4 28 61 8c 79 94
 eb b3 c2 22 da b6 1e 32 1b 1c 67 b9 cd 93 f8 24
 55 4d b0 c8 35 e2 35 75 4c b0 ea 36 95 9a 6f 19
 f1 f2 de 5f e7 83 67 da 58 58 b1  0 1f a5 84 5a
 5d f1 b5 2a ee bc ad 44 f3 67 85 6f 9e d4 1c 2c
 66  d e8 6c 21 4b 36 7c 2d 83 28 ef dc 15 d8 79
 37 f8 41 10 e1 76 49 9d  d 34 54 f4 2f d2 b8 3a
 f7 2f ce b7 ac 4b ab 50 a5 1d ea 9d 2b  5 f6 f4
 e7 96 9e 90 54 76 aa c0 ef 29 3e 15 12  e 7c a6
 bd 58 1d 53 67 dd 7c f4 b5 9a 1a 6b 2c  9  1 7d
 40 39 17 72 cb c6 be 24 77 71 f9 e2 74  e b7 e1
 30 94 a3 61 5a 38 22 ba 96 b3 ea 97 e4 5b de  0

 320 bytes of ciphertext printed. 

final state and key: 
State: 0x 
 40 eb b1  7 36 b9 95 69 ca  0 53 e4 61 44 46 16 89 40 74 c8
Key:0x 
 ff fe 74 c7 91 a9 da 66 70 22

 printing plaintext now .... 
  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0
  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0
  0  0  0  0  0  0  0  0
 40 bytes of plaintext printed. 


Command chosen: - 
Command chosen: - 
Command chosen: K 
Command chosen: X 
Command chosen: T 

 printing plaintext now .... 
  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0
  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0
  0  0  0  0  0  0  0  0
 40 bytes of plaintext printed. 

  0  0x63 
  1  0x7c 
  2  0x77 
  3  0x7b 
  4  0xf2 
  5  0x6b 
  6  0x6f 
  7  0xc5 
  8  0x30 
  9  0x 1 
 ECRYPT_keysetup done. 
Key:0x 
 63 7c 77 7b f2 6b 6f c5 30  1
Initialization ....... 
  0   0 
  1   0 
  2   0 
  3   0 
  4   0 
  5   0 
  6   0 
  7   0 
  8   0 
  9   0 
 10   0 
 11   0 
 12   0 
 13   0 
 14   0 
 15   0 
 16   0 
 17   0 
 18   0 
 19   0 
 ECRYPT_ivsetup done. 
  0  0xac 
  1  0xc2 
  2  0x e 
  3  0x4e 
  4  0x27 
  5  0x14 
  6  0x16 
  7  0x1b 
  8  0x8c 
  9  0xa2 
 10  0xd6 
 11  0x4e 
 12  0x6c 
 13  0x5f 
 14  0x8b 
 15  0x75 
 16  0xc1 
 17  0xd1 
 18  0x68 
 19  0xb2 
 ECRYPT_initialization done. 

IV: 0x 
  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0
Initialization done. 
State: 0x 
 ac c2  e 4e 27 14 16 1b 8c a2 d6 4e 6c 5f 8b 75 c1 d1 68 b2
Key:0x 
 dc e6 ff 4d 43 1a 83 b3 a2 a4
STREAM start  accu=0x4e  p1=12 p2=8 scr=3  round=10 

 printing ciphertext now .... 
  5 c8 5f 97 c5 48 f0 14 9b 51 42 1a 72 86 ac d9
 95 bd 70 98 96 20 68 c7 8f 66 c2 e5 eb 3b d4 18
 24 fe 7d 8d 78 dc cf 2a 2e 23 ca c4 3e 5f 34 89
 fe 4d 96 f9 e6 b9 3f 95 e8 16 18 c9 56 3a 4f 54
 19 f0 94 8f 90 cc 80 8b 7e 7b d4 55 47 49 52 fa
 9b fb 15 f8 6a ec ce 74  8 95 31  4 6b 8a a1 44
 30 59  6 70 89 aa 82 c6 65 79 a7 b4 93 42 fb 1d
 51 8f 41 c5 6a 97 6a 78 6b d3 f6 60 77 f8  4 d5
 eb a4 7c 15  5 ef 55 5c 9e b3 de 3b e8 41 ba b9
  7 26 96 a0 ee 67 60  0 90 41 14 90 d3 32 99 1e
 cc 92 e8 3f eb 95 74 d1 a5 7c 4f 5c 9e ff 1f 21
 67 5e 2a f7 a8 d4 6b 89 c6 1d  f 6b f1 e4 7d  3
 63 ee 57 3f 87 af c6 4e 1f 27 6f 6f  2 2f f2 a3
 48 cb 64 1b 38 80 85 f1 d0  a 6d 86 4d a7 bd 51
 e8 30 75 8a c8 ba 79 57 fa 6d ea 77 a9 41 77 37
 5a 89 da  e 1b  f a8 45 af b1 68 5c 3e f3 46 2a
 93 ad 4d 80 60 6e a0 b3 45 45 c3 ef 9e fe f3 ef
 11  f db 1c 22 3f 8c c8 68 41 67 39  5  3 df ed
 4e 98 f5 ba 94 30 12 f9 30 3f 50  6 ba 9a c3 18
 56 4a 6a e7 a7 50 9f 1d c0 39 24 d9 6f f3 13 64

 320 bytes of ciphertext printed. 

final state and key: 
State: 0x 
 51 4a b1 37 79 11 b9 9a  1 ed 4c 18 d8  d 79 a4 9f  d b5 ad
Key:0x 
 6a b0 94 78 9c 71 1f e1  f e7

 printing plaintext now .... 
  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0
  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0
  0  0  0  0  0  0  0  0
 40 bytes of plaintext printed. 


Command chosen: - 
Command chosen: - 
Command chosen: K 
Command chosen: X 
Command chosen: T 

 printing plaintext now .... 
  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0
  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0
  0  0  0  0  0  0  0  0
 40 bytes of plaintext printed. 

  0  0xaa 
  1  0xaa 
  2  0xaa 
  3  0xaa 
  4  0xaa 
  5  0xaa 
  6  0xaa 
  7  0xaa 
  8  0xaa 
  9  0xaa 
 ECRYPT_keysetup done. 
Key:0x 
 aa aa aa aa aa aa aa aa aa aa
Initialization ....... 
  0   0 
  1   0 
  2   0 
  3  aa 
  4  aa 
  5  aa 
  6  aa 
  7  aa 
  8  aa 
  9  aa 
 10  aa 
 11  aa 
 12  aa 
 13  aa 
 14  aa 
 15  aa 
 16  aa 
 17  aa 
 18  aa 
 19  aa 
 ECRYPT_ivsetup done. 
  0  0x28 
  1  0x43 
  2  0x68 
  3  0xa6 
  4  0x89 
  5  0xb1 
  6  0x1e 
  7  0xde 
  8  0x37 
  9  0xad 
 10  0x 2 
 11  0x91 
 12  0x7c 
 13  0x8f 
 14  0xb2 
 15  0x7b 
 16  0x 6 
 17  0xaa 
 18  0x84 
 19  0x54 
 ECRYPT_initialization done. 

IV: 0x 
  0  0  0 aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa
Initialization done. 
State: 0x 
 28 43 68 a6 89 b1 1e de 37 ad  2 91 7c 8f b2 7b  6 aa 84 54
Key:0x 
 e5 2d 6d 52 d9 95 5f 20 f4 91
STREAM start  accu=0x37  p1=9 p2=2 scr=1  round=10 

 printing ciphertext now .... 
 3c eb  5 1a 96 37 cd e4 eb f2 48  4  d 3c dc 65
 18 4c 9f 40 3d 79 3a dd e7 4f c5 d5 8b 4f c3 ee
 5a be  f b5 dd  f 11 d8 75 e3 32 e2 43 c5 ec a8
 83 77 3b ba ec 6f  9 be 68 ab 7e 44 76 aa f6 36
  f 4b e6 f0 41 47 dd 98 ce e3 ab b8 b7 6d ff 73
 c2 d6 e7 a5 6f 5d f9 a7 ce e3 b3 78  b 85 6e  1
 1b 74 6b 80 ab b4 e3 ea c1 9b c6  c 51 aa 96 d4
 98 2a 3d d4 48 26 4d 59 c7 24 a6 53 a1 22 ce b8
 78 19  b 88 2a c1 25 a3 dc f8 fb a7 2a 29 1f 17
  2 cc af 94 d6 28 73 1d 8d 1b a1 ce 81 33  e b7
 7c c0 77 df 2f 74 73 58 7c 58 f3 da 2a fb  b c7
 6c 5e 3f db 38 1c 2e  5 81 9d  8 e5 60 38 e3 f2
  d e7 9e 27 7d bc 56 50 12 86 91 e9 79 a2 a4 db
 e3 78  c 34 99 b1 4e bc d4  c ff b8 bf b8 44 f3
 40 31 c9 92 59 f8 d5 b1 ab bf 65  3 c7 73 be a1
 55 ab 49 b4 67  b 3d 3e b8 d2 68 a3 67 89 9d 77
 2d 56 cf c7 cb 91 63 db 2e 45 db 68 c8 23 91 d5
 7d 52 64 60 42 f8 61 bb 8b 4d b3 a8 7a 3f 1d ec
 1b b6 53 15 74 3e c0 d2 a6 ad e3 d8 bc a6  0 24
  7 82 1b 27 6c c3 6f b7 95 fe e9 5d a2  2 33 5f

 320 bytes of ciphertext printed. 

final state and key: 
State: 0x 
 18 dd 81 63 f9 67 dc 8a 33 6a c4 9f c4 f8 7e fb 94 cc ef 7b
Key:0x 
 1a 1b cb 15 2a 34 e3  0 60 fe

 printing plaintext now .... 
  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0
  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0
  0  0  0  0  0  0  0  0
 40 bytes of plaintext printed. 


Command chosen: - 
Command chosen: - 
Command chosen: K 
Command chosen: T 

 printing plaintext now .... 
  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0
  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0
  0  0  0  0  0  0  0  0
 40 bytes of plaintext printed. 

  0  0x55 
  1  0x55 
  2  0x55 
  3  0x55 
  4  0x55 
  5  0x55 
  6  0x55 
  7  0x55 
  8  0x55 
  9  0x55 
 ECRYPT_keysetup done. 
Key:0x 
 55 55 55 55 55 55 55 55 55 55
Initialization ....... 
  0   0 
  1   0 
  2   0 
  3  aa 
  4  aa 
  5  aa 
  6  aa 
  7  aa 
  8  aa 
  9  aa 
 10  aa 
 11  aa 
 12  aa 
 13  aa 
 14  aa 
 15  aa 
 16  aa 
 17  aa 
 18  aa 
 19  aa 
 ECRYPT_ivsetup done. 
  0  0xa0 
  1  0x91 
  2  0x4a 
  3  0x72 
  4  0x 8 
  5  0x6d 
  6  0xf7 
  7  0x67 
  8  0x8e 
  9  0x c 
 10  0xa7 
 11  0x c 
 12  0x4d 
 13  0x25 
 14  0xed 
 15  0x79 
 16  0xa2 
 17  0x90 
 18  0x47 
 19  0xcc 
 ECRYPT_initialization done. 

IV: 0x 
  0  0  0 aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa
Initialization done. 
State: 0x 
 a0 91 4a 72  8 6d f7 67 8e  c a7  c 4d 25 ed 79 a2 90 47 cc
Key:0x 
 5f d8  6 98 de e1 9f 8f d9 5c
STREAM start  accu=0x79  p1=16 p2=7 scr=0  round=10 

 printing ciphertext now .... 
 7b fa 3a 28 73 a0 76 34 74 28 99 5e f0 45 66 ca
 a1 55 ae 17 16 1a 8b 38 2f b4 51 cb dc ee d4 34
 4d f3  3 da 4b 6c c2 88 70 e8 95 c1 24 cb ff e9
 b4 d0 ed 18 e2 80 ca 5c e8 41 56 4d cf da 28 e0
 f3 6a c0 ca 5b 9a 25 f3 dc  9 2a af c9 af 23 7e
 a9 a6 ba 6c  1  3 b0 e0 97 86 11 9f 37 e1 40 68
 ca 78  a fc 69 65 1b 37 f7 33 9e 5d 24 30 1d 6f
 6a 29 ed 5c 4c 17 ba 20 76  5 ff cf  7 64 ac e7
 21 50 a5 25 63 16 b5 8e 53 78 ca 9d 8e 41 b8 e2
 12 8e f2 d0 82 12 26 96 5a 91 91 d1 c2 80 5c 89
 b8 e6 4e 10 50 ba f6 b5 28 67 f0 1f 9e 90 e2 6d
 3a dc 29 4b 97 36 7f a4 da 7e 56 ad e7 96 25 90
 9e eb 2a 8d f4 8d a8 52 a2 fc 4a df d5 c0 71 4a
 a5 f2 4e 27 a3 43 44 9f f4 1d f0 34 cf 20 9e c5
 23 a8 1f d8 f6 5d 5c 76 92 e4 44 15 91 17 2f 24
 3b dc 39 ae 58 19 62 23 f6 ca 14  3 9a 63 75 32
 3c 2c d9 6a 43 19 e3 48 76 3a ae 9e 5d fd  b 39
 3d f3 19 c8 21 1c f2 8e c2 b2 b9 6c b4 8d 52 50
 31 89 ae 4d 6b 4e 94 20 1f 4f 5d c8 ad b1 69  e
 ba d8 2d 8d 1c 33  0 5c da 9b 7e 75 2f 7b c2 2f

 320 bytes of ciphertext printed. 

final state and key: 
State: 0x 
 54 ef d7 a0 43 3a 1c 65  f 2c b3 c7 bb 57 19 5a 25 d1 df 44
Key:0x 
 3a 18 ba 3d 13 c3  a 40 b3 86

 printing plaintext now .... 
  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0
  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0
  0  0  0  0  0  0  0  0
 40 bytes of plaintext printed. 


Command chosen: - 
Command chosen: - 
Command chosen: X 
Command chosen: T 

 printing plaintext now .... 
  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0
  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0
  0  0  0  0  0  0  0  0
 40 bytes of plaintext printed. 

  0  0x55 
  1  0x55 
  2  0x55 
  3  0x55 
  4  0x55 
  5  0x55 
  6  0x55 
  7  0x55 
  8  0x55 
  9  0x55 
 ECRYPT_keysetup done. 
Key:0x 
 55 55 55 55 55 55 55 55 55 55
Initialization ....... 
  0   0 
  1   0 
  2   0 
  3  55 
  4  55 
  5  55 
  6  55 
  7  55 
  8  55 
  9  55 
 10  55 
 11  55 
 12  55 
 13  55 
 14  55 
 15  55 
 16  55 
 17  55 
 18  55 
 19  55 
 ECRYPT_ivsetup done. 
  0  0xd8 
  1  0xfd 
  2  0x49 
  3  0x41 
  4  0x10 
  5  0x 0 
  6  0x 9 
  7  0x61 
  8  0x81 
  9  0xc6 
 10  0xe1 
 11  0xc5 
 12  0xfd 
 13  0x7f 
 14  0xc4 
 15  0x91 
 16  0x74 
 17  0x69 
 18  0x4f 
 19  0x d 
 ECRYPT_initialization done. 

IV: 0x 
  0  0  0 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55 55
Initialization done. 
State: 0x 
 d8 fd 49 41 10  0  9 61 81 c6 e1 c5 fd 7f c4 91 74 69 4f  d
Key:0x 
 5f d8  6 98 de e1 9f 8f d9 5c
STREAM start  accu=0x91  p1=16 p2=7 scr=0  round=10 

 printing ciphertext now .... 
 39 16 90 31 d3 bb aa 34 aa 93 31 2f e4 ec 71 cf
 d3 a0  b 54  9 2f 9b 43 33 4c d8 79 65 9b 5b d8
 27 22 5f 1d 48  e 9f 98 fb a0 b0 d7 3d 70 1a c0
 98 7d 4a 2b 98 59 5f  b 42 ab 7c a4 c2 20 d7  a
 c8 8a 67 85 94 9d d5 af  7 cd 79 e0 4c 9c df  f
 8d 66 da d0 61 bb  a 57 ba 4d 94 ea 6e 72 dd 88
 67  b 28 a8 fa 6b 84 bc 49 61 d0 a1 e8 70 73 50
 75 cf fb f7 cf c6 98 7e ef d3 6d ab f9 db 66 32
 75 13 6c a3 84 71 e6 17 34 b7 30 ef ec cf 41 41
 b4 ea 5b  6 77 d1 f5 1a  0 d2 a5 a9 c5 26 39 7c
 e6 8a 4b ea 30 fd 75  0  5 af 68 69 17 77 ac 9a
 ba c0 d7 7d a4 52 ae 3b e5 85 7e 7b a0 9a 7e eb
 e8 24 30 50 8c 7c 21  c 25 fa b6  9 af d6 bf e9
 c9 ee c4 77 be 81 fd 93 f3 b6 55 54 15 53 20 5e
 b6  1 fe 7e a4 91 9c be  a 25 1d 7c 75 10 5d e0
 45 b5 21 43 7a ea 50 47 f0  5 1d ea 57 1e 8d 29
 95 5e  2 18 7b c9 c1 ab 58 87 9e 7d 37 b4 31 3c
 e7 37 ba 6b b8 5f fb 98 cb 50 44 21 a2 9e fa bd
  e e3 5c 68 70 ca bc 8f 85 8e 20 8e f6 1d d7 70
 6a a1 17 ca 89 3e 51 aa 40 45 d7 6c 1b 26 c8 c5

 320 bytes of ciphertext printed. 

final state and key: 
State: 0x 
 ea be 2d 27 21 ce 20  5 34 90 7a c9 9a 54  b f6 6b af 7b 7e
Key:0x 
 3a 18 ba 3d 13 c3  a 40 b3 86

 printing plaintext now .... 
  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0
  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0
  0  0  0  0  0  0  0  0
 40 bytes of plaintext printed. 


Command chosen: . 
#!/bin/csh

# UK 20050425
#
# run hermes8 for generation of test vectors.
# Command z: choose algorithm
# Command x: new IV
# Command k: new key
# Command 1: pt length
# Command t: generate test vectors


#/bin/rm RESULTS.TXT
#echo date >RESULTS.TXT


./hermes.bin  <<ENDE  >tmp
Z
1
-
1
320
---
K
637c777bf26b6fc53001
X
0000000000000000000000000000000000000000
T
---
K
0130c56f6bf27b777c63
X
0000000000000000000000000000000000000000
T
---
K
aaaaaaaaaaaaaaaaaaaa
X
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
T
---
K
55555555555555555555
T
---
X
5555555555555555555555555555555555555555
T
.
ENDE


cp RESULTS.TXT   testvectors_80.txt
cat run_testvectors_80 >>testvectors_80.txt

cp testvectors_80.txt  CD2

echo done.





