DEVICE NAME PROCESS RESULT
[server]=> [sharedkey = 0x01020304050607080910111213141111] RESULT: 01 02 03 04 05 06 07 08 09 10 11 12 13 14 11 11
[server]=> [idserver = 0x01020304050607080910111213141515] RESULT: 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 15
[server]=> [keserver = generaterandom(0x10)] RESULT: 63 90 A0 EF 12 E7 C0 74 D6 E0 72 88 61 18 8C DE
[server]=> [nserver = generaterandom(0x08)] RESULT: 48 8E CE 03 A0 49 1A C9
[server]=> [gir = 0x11121314151617181920212223242526] RESULT: 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
[tag]=> [sharedkey = 0x01020304050607080910111213141111] RESULT: 01 02 03 04 05 06 07 08 09 10 11 12 13 14 11 11
[tag]=> [idtag = 0x01020304050607080910111213141516] RESULT: 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16
[tag]=> [ketag = generaterandom(0x10)] RESULT: 15 61 1C 49 81 27 60 E8 F0 92 40 EA E2 D9 42 3B
[tag]=> [ntag = generaterandom(0x08)] RESULT: 06 46 A0 2E BA 19 29 18
[tag]=> [idshared = 0x01020304050607080910111213141514] RESULT: 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 14
[tag]=> [gir = 0x11121314151617181920212223242526] RESULT: 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
[server]=> [SendData(keserver)] RESULT: 63 90 A0 EF 12 E7 C0 74 D6 E0 72 88 61 18 8C DE
[tag]=> [keserver = ReceiveData(0x00)] RESULT: 63 90 A0 EF 12 E7 C0 74 D6 E0 72 88 61 18 8C DE
[server]=> [SendData(nserver)] RESULT: 48 8E CE 03 A0 49 1A C9
[tag]=> [nserver = ReceiveData(0x00)] RESULT: 48 8E CE 03 A0 49 1A C9
[tag]=> [SendData(idshared)] RESULT: 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 14
[server]=> [idsharedtag = ReceiveData(0x00)] RESULT: 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 14
[tag]=> [SendData(ketag)] RESULT: 15 61 1C 49 81 27 60 E8 F0 92 40 EA E2 D9 42 3B
[server]=> [ketag = ReceiveData(0x00)] RESULT: 15 61 1C 49 81 27 60 E8 F0 92 40 EA E2 D9 42 3B
[tag]=> [SendData(ntag)] RESULT: 06 46 A0 2E BA 19 29 18
[server]=> [ntag = ReceiveData(0x00)] RESULT: 06 46 A0 2E BA 19 29 18
[server]=> [skseries = prfplus(concatenate(concatenate(nserver, ntag), idsharedtag), prf(gir, concatenate(nserver, ntag)))] RESULT: 6A 4B 4C 60 C4 FC E7 D1 B2 ED BE B4 A0 D9 F3 52 5A 5F B6 1C 8E 01 14 2F BB 04 B7 89 56 68 43 74 24 70 AF 99 16 51 1C 30 4C 57 20 3C 2C 16 82 38 A5 92 9D 16 5B 9B 10 6D 39 F6 BF AE 67 8C C8 12 76 08 B9 E4 8A 75 E3 E2 D8 1E EF 94 B1 DF 89 A3
[server]=> [ski = grab(skseries, 0x10)] RESULT: 6A 4B 4C 60 C4 FC E7 D1 B2 ED BE B4 A0 D9 F3 52
[server]=> [skes = grab(skseries, 0x10)] RESULT: 5A 5F B6 1C 8E 01 14 2F BB 04 B7 89 56 68 43 74
[server]=> [sket = grab(skseries, 0x10)] RESULT: 24 70 AF 99 16 51 1C 30 4C 57 20 3C 2C 16 82 38
[server]=> [skps = grab(skseries, 0x10)] RESULT: A5 92 9D 16 5B 9B 10 6D 39 F6 BF AE 67 8C C8 12
[server]=> [skpt = grab(skseries, 0x10)] RESULT: 76 08 B9 E4 8A 75 E3 E2 D8 1E EF 94 B1 DF 89 A3
[server]=> [authserver = prf(concatenate(concatenate(keserver, nserver), concatenate(ntag, prf(idserver,skps))), sharedkey)] RESULT: 18 99 E8 1D FA 48 3A 2C 26 89 50 A5 76 30 DF 05
[server]=> [cipheredidserver = encrypte(idserver, skes)] RESULT: 77 9F 64 BA F4 E6 C0 93 5A 68 17 1B 08 28 2C 60
[server]=> [cipheredauthserver = encrypte(authserver, skes)] RESULT: FD CC 9B B3 1A A8 5E 37 A7 99 5B C3 CF 9D 7C 30
[server]=> [SendData(cipheredidserver)] RESULT: 77 9F 64 BA F4 E6 C0 93 5A 68 17 1B 08 28 2C 60
[tag]=> [cipheredidserver = ReceiveData(0x00)] RESULT: 77 9F 64 BA F4 E6 C0 93 5A 68 17 1B 08 28 2C 60
[server]=> [SendData(cipheredauthserver)] RESULT: FD CC 9B B3 1A A8 5E 37 A7 99 5B C3 CF 9D 7C 30
[tag]=> [cipheredauthserver = ReceiveData(0x00)] RESULT: FD CC 9B B3 1A A8 5E 37 A7 99 5B C3 CF 9D 7C 30
[tag]=> [skseries = prfplus(concatenate(concatenate(nserver, ntag), idshared), prf(gir, concatenate(nserver, ntag)))] RESULT: 6A 4B 4C 60 C4 FC E7 D1 B2 ED BE B4 A0 D9 F3 52 5A 5F B6 1C 8E 01 14 2F BB 04 B7 89 56 68 43 74 24 70 AF 99 16 51 1C 30 4C 57 20 3C 2C 16 82 38 A5 92 9D 16 5B 9B 10 6D 39 F6 BF AE 67 8C C8 12 76 08 B9 E4 8A 75 E3 E2 D8 1E EF 94 B1 DF 89 A3
[tag]=> [ski = grab(skseries, 0x10)] RESULT: 6A 4B 4C 60 C4 FC E7 D1 B2 ED BE B4 A0 D9 F3 52
[tag]=> [skes = grab(skseries, 0x10)] RESULT: 5A 5F B6 1C 8E 01 14 2F BB 04 B7 89 56 68 43 74
[tag]=> [sket = grab(skseries, 0x10)] RESULT: 24 70 AF 99 16 51 1C 30 4C 57 20 3C 2C 16 82 38
[tag]=> [skps = grab(skseries, 0x10)] RESULT: A5 92 9D 16 5B 9B 10 6D 39 F6 BF AE 67 8C C8 12
[tag]=> [skpt = grab(skseries, 0x10)] RESULT: 76 08 B9 E4 8A 75 E3 E2 D8 1E EF 94 B1 DF 89 A3
[tag]=> [idserver = decrypte(cipheredidserver, skes)] RESULT: 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 15
[tag]=> [authserver = decrypte(cipheredauthserver, skes)] RESULT: 18 99 E8 1D FA 48 3A 2C 26 89 50 A5 76 30 DF 05
[tag]=> [authservercalculated = prf(concatenate(concatenate(keserver, nserver), concatenate(ntag, prf(idserver,skps))), sharedkey)] RESULT: 18 99 E8 1D FA 48 3A 2C 26 89 50 A5 76 30 DF 05
[tag]=> [if(compare(authserver, authservercalculated))] RESULT: 01
[tag]=> [idsnext = prf(idtag, ski)] RESULT: C7 84 D9 6A 41 BA 30 9C 09 63 48 DC 77 C5 C1 30
[tag]=> [idtag = idsnext] RESULT: C7 84 D9 6A 41 BA 30 9C 09 63 48 DC 77 C5 C1 30
[tag]=> [endif] RESULT:
[tag]=> [authtag = prf(concatenate(concatenate(concatenate(idshared, ketag), concatenate(ntag, nserver)), prf(idtag,skpt)), sharedkey)] RESULT: BB 22 A2 F1 C1 EE BD 8E B8 2F 44 4C 2F 77 32 30
[tag]=> [cipheredidtag = encrypte(idtag, sket)] RESULT: 88 0D E8 1E 83 A7 A4 4A 9A B1 B3 A0 AA 4C 0E 59
[tag]=> [cipheredauthtag = encrypte(authtag, sket)] RESULT: 63 77 EF C7 CF 2A 92 0A D4 BD A7 AB 5A D0 5F 45
[tag]=> [SendData(cipheredidtag)] RESULT: 88 0D E8 1E 83 A7 A4 4A 9A B1 B3 A0 AA 4C 0E 59
[server]=> [cipheredidtag = ReceiveData(0x00)] RESULT: 88 0D E8 1E 83 A7 A4 4A 9A B1 B3 A0 AA 4C 0E 59
[tag]=> [SendData(cipheredauthtag)] RESULT: 63 77 EF C7 CF 2A 92 0A D4 BD A7 AB 5A D0 5F 45
[server]=> [cipheredauthtag = ReceiveData(0x00)] RESULT: 63 77 EF C7 CF 2A 92 0A D4 BD A7 AB 5A D0 5F 45
[server]=> [idtag = decrypte(cipheredidtag, sket)] RESULT: C7 84 D9 6A 41 BA 30 9C 09 63 48 DC 77 C5 C1 30
[server]=> [authtag = decrypte(cipheredauthtag, sket)] RESULT: BB 22 A2 F1 C1 EE BD 8E B8 2F 44 4C 2F 77 32 30
[server]=> [authtagcalculated = prf(concatenate(concatenate(concatenate(idsharedtag, ketag), concatenate(ntag, nserver)), prf(idtag,skpt)), sharedkey)] RESULT: BB 22 A2 F1 C1 EE BD 8E B8 2F 44 4C 2F 77 32 30
[server]=> [if(compare(authtag, authtagcalculated))] RESULT: 01
[server]=> [idsnext = prf(idtag, ski)] RESULT: 96 26 B4 ED 66 44 D6 6A 74 A9 77 86 4D 3C A2 37
[server]=> [endif] RESULT: