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: 27 C0 57 4B 51 BF 67 E7 59 84 0E 3E 3D 75 1E 0E
[server]=> [nserver = generaterandom(0x08)] RESULT: 38 A2 67 96 DC 22 90 F9
[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: A6 81 0F 1F 1F 60 E4 67 41 75 98 D1 8A 23 E4 DC
[tag]=> [ntag = generaterandom(0x08)] RESULT: 30 87 FC 6D B2 43 42 B1
[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: 27 C0 57 4B 51 BF 67 E7 59 84 0E 3E 3D 75 1E 0E
[tag]=> [keserver = ReceiveData(0x00)] RESULT: 27 C0 57 4B 51 BF 67 E7 59 84 0E 3E 3D 75 1E 0E
[server]=> [SendData(nserver)] RESULT: 38 A2 67 96 DC 22 90 F9
[tag]=> [nserver = ReceiveData(0x00)] RESULT: 38 A2 67 96 DC 22 90 F9
[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: A6 81 0F 1F 1F 60 E4 67 41 75 98 D1 8A 23 E4 DC
[server]=> [ketag = ReceiveData(0x00)] RESULT: A6 81 0F 1F 1F 60 E4 67 41 75 98 D1 8A 23 E4 DC
[tag]=> [SendData(ntag)] RESULT: 30 87 FC 6D B2 43 42 B1
[server]=> [ntag = ReceiveData(0x00)] RESULT: 30 87 FC 6D B2 43 42 B1
[server]=> [skseries = prfplus(concatenate(concatenate(nserver, ntag), idsharedtag), prf(gir, concatenate(nserver, ntag)))] RESULT: 63 AC 75 4A 30 4F FD 4B 95 B6 FE 40 00 E7 15 A9 93 65 92 2C DE 12 48 68 29 ED 27 63 46 E0 E7 4B A2 6B 24 2A 70 93 92 5F A4 C7 FB 3A 44 C7 0A 32 29 7D 6D 7A 04 23 1E 1D 0D 0A C5 CC 16 66 E3 EA 5A 46 AC C8 3C 3F 09 39 BD D3 87 20 2A EC 2E 22
[server]=> [ski = grab(skseries, 0x10)] RESULT: 63 AC 75 4A 30 4F FD 4B 95 B6 FE 40 00 E7 15 A9
[server]=> [skes = grab(skseries, 0x10)] RESULT: 93 65 92 2C DE 12 48 68 29 ED 27 63 46 E0 E7 4B
[server]=> [sket = grab(skseries, 0x10)] RESULT: A2 6B 24 2A 70 93 92 5F A4 C7 FB 3A 44 C7 0A 32
[server]=> [skps = grab(skseries, 0x10)] RESULT: 29 7D 6D 7A 04 23 1E 1D 0D 0A C5 CC 16 66 E3 EA
[server]=> [skpt = grab(skseries, 0x10)] RESULT: 5A 46 AC C8 3C 3F 09 39 BD D3 87 20 2A EC 2E 22
[server]=> [authserver = prf(concatenate(concatenate(keserver, nserver), concatenate(ntag, prf(idserver,skps))), sharedkey)] RESULT: FF 00 BF DD F8 46 A7 7E 55 E9 13 E0 32 D5 1D 79
[server]=> [cipheredidserver = encrypte(idserver, skes)] RESULT: 5E BD AF BF 61 FF 7E 89 D2 20 C0 F5 30 72 1F FC
[server]=> [cipheredauthserver = encrypte(authserver, skes)] RESULT: 01 A2 1C 2F F9 61 DF 6B 7F 0E 85 58 EC 3A EA C3
[server]=> [SendData(cipheredidserver)] RESULT: 5E BD AF BF 61 FF 7E 89 D2 20 C0 F5 30 72 1F FC
[tag]=> [cipheredidserver = ReceiveData(0x00)] RESULT: 5E BD AF BF 61 FF 7E 89 D2 20 C0 F5 30 72 1F FC
[server]=> [SendData(cipheredauthserver)] RESULT: 01 A2 1C 2F F9 61 DF 6B 7F 0E 85 58 EC 3A EA C3
[tag]=> [cipheredauthserver = ReceiveData(0x00)] RESULT: 01 A2 1C 2F F9 61 DF 6B 7F 0E 85 58 EC 3A EA C3
[tag]=> [skseries = prfplus(concatenate(concatenate(nserver, ntag), idshared), prf(gir, concatenate(nserver, ntag)))] RESULT: 63 AC 75 4A 30 4F FD 4B 95 B6 FE 40 00 E7 15 A9 93 65 92 2C DE 12 48 68 29 ED 27 63 46 E0 E7 4B A2 6B 24 2A 70 93 92 5F A4 C7 FB 3A 44 C7 0A 32 29 7D 6D 7A 04 23 1E 1D 0D 0A C5 CC 16 66 E3 EA 5A 46 AC C8 3C 3F 09 39 BD D3 87 20 2A EC 2E 22
[tag]=> [ski = grab(skseries, 0x10)] RESULT: 63 AC 75 4A 30 4F FD 4B 95 B6 FE 40 00 E7 15 A9
[tag]=> [skes = grab(skseries, 0x10)] RESULT: 93 65 92 2C DE 12 48 68 29 ED 27 63 46 E0 E7 4B
[tag]=> [sket = grab(skseries, 0x10)] RESULT: A2 6B 24 2A 70 93 92 5F A4 C7 FB 3A 44 C7 0A 32
[tag]=> [skps = grab(skseries, 0x10)] RESULT: 29 7D 6D 7A 04 23 1E 1D 0D 0A C5 CC 16 66 E3 EA
[tag]=> [skpt = grab(skseries, 0x10)] RESULT: 5A 46 AC C8 3C 3F 09 39 BD D3 87 20 2A EC 2E 22
[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: FF 00 BF DD F8 46 A7 7E 55 E9 13 E0 32 D5 1D 79
[tag]=> [authservercalculated = prf(concatenate(concatenate(keserver, nserver), concatenate(ntag, prf(idserver,skps))), sharedkey)] RESULT: FF 00 BF DD F8 46 A7 7E 55 E9 13 E0 32 D5 1D 79
[tag]=> [if(compare(authserver, authservercalculated))] RESULT: 01
[tag]=> [idsnext = prf(idtag, ski)] RESULT: 12 40 DD CD 2B AD 56 26 B4 9B D5 80 DE AB 50 61
[tag]=> [idtag = idsnext] RESULT: 12 40 DD CD 2B AD 56 26 B4 9B D5 80 DE AB 50 61
[tag]=> [endif] RESULT:
[tag]=> [authtag = prf(concatenate(concatenate(concatenate(idshared, ketag), concatenate(ntag, nserver)), prf(idtag,skpt)), sharedkey)] RESULT: 18 CB 8C 43 D0 23 FE B6 AE E4 49 34 65 18 BE 59
[tag]=> [cipheredidtag = encrypte(idtag, sket)] RESULT: BB 2D 33 A1 19 BB 88 36 A5 17 F2 EF F6 DB 87 CD
[tag]=> [cipheredauthtag = encrypte(authtag, sket)] RESULT: C1 75 24 05 BE 4D ED 4A 57 4F B4 17 E5 68 1F EA
[tag]=> [SendData(cipheredidtag)] RESULT: BB 2D 33 A1 19 BB 88 36 A5 17 F2 EF F6 DB 87 CD
[server]=> [cipheredidtag = ReceiveData(0x00)] RESULT: BB 2D 33 A1 19 BB 88 36 A5 17 F2 EF F6 DB 87 CD
[tag]=> [SendData(cipheredauthtag)] RESULT: C1 75 24 05 BE 4D ED 4A 57 4F B4 17 E5 68 1F EA
[server]=> [cipheredauthtag = ReceiveData(0x00)] RESULT: C1 75 24 05 BE 4D ED 4A 57 4F B4 17 E5 68 1F EA
[server]=> [idtag = decrypte(cipheredidtag, sket)] RESULT: 12 40 DD CD 2B AD 56 26 B4 9B D5 80 DE AB 50 61
[server]=> [authtag = decrypte(cipheredauthtag, sket)] RESULT: 18 CB 8C 43 D0 23 FE B6 AE E4 49 34 65 18 BE 59
[server]=> [authtagcalculated = prf(concatenate(concatenate(concatenate(idsharedtag, ketag), concatenate(ntag, nserver)), prf(idtag,skpt)), sharedkey)] RESULT: 18 CB 8C 43 D0 23 FE B6 AE E4 49 34 65 18 BE 59
[server]=> [if(compare(authtag, authtagcalculated))] RESULT: 01
[server]=> [idsnext = prf(idtag, ski)] RESULT: 6D 97 F3 59 44 3C 41 B6 63 9A CD 6A 87 32 A2 44
[server]=> [endif] RESULT: