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: 12 16 8B 07 D6 1B 54 53 79 59 67 D1 D9 21 A4 03
[server]=> [nserver = generaterandom(0x08)] RESULT: F3 3F C0 FD 8E 42 00 9D
[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: 9A A1 7B B0 25 42 C1 D7 C4 E5 76 F3 25 BC CB 33
[tag]=> [ntag = generaterandom(0x08)] RESULT: 62 F1 DA 5A B9 C5 BB 07
[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: 12 16 8B 07 D6 1B 54 53 79 59 67 D1 D9 21 A4 03
[tag]=> [keserver = ReceiveData(0x00)] RESULT: 12 16 8B 07 D6 1B 54 53 79 59 67 D1 D9 21 A4 03
[server]=> [SendData(nserver)] RESULT: F3 3F C0 FD 8E 42 00 9D
[tag]=> [nserver = ReceiveData(0x00)] RESULT: F3 3F C0 FD 8E 42 00 9D
[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: 9A A1 7B B0 25 42 C1 D7 C4 E5 76 F3 25 BC CB 33
[server]=> [ketag = ReceiveData(0x00)] RESULT: 9A A1 7B B0 25 42 C1 D7 C4 E5 76 F3 25 BC CB 33
[tag]=> [SendData(ntag)] RESULT: 62 F1 DA 5A B9 C5 BB 07
[server]=> [ntag = ReceiveData(0x00)] RESULT: 62 F1 DA 5A B9 C5 BB 07
[server]=> [skseries = prfplus(concatenate(concatenate(nserver, ntag), idsharedtag), prf(gir, concatenate(nserver, ntag)))] RESULT: E3 A1 0C 8F 14 36 0D 7F 5D A9 43 D3 0E 66 DE AF 95 04 4E 43 F4 A1 AE DC 60 33 4F FB 0F 88 4B 7B 16 99 6D 40 DB DB DF 27 88 0B E3 1E 3F 0D 5E DE 0F A1 4C 26 6C 1D C7 CD 3B CB CE 2F AA 00 67 8D 8B 3E AC 53 6C 2E 4A 7A CD 7F D0 28 15 AD 58 DF
[server]=> [ski = grab(skseries, 0x10)] RESULT: E3 A1 0C 8F 14 36 0D 7F 5D A9 43 D3 0E 66 DE AF
[server]=> [skes = grab(skseries, 0x10)] RESULT: 95 04 4E 43 F4 A1 AE DC 60 33 4F FB 0F 88 4B 7B
[server]=> [sket = grab(skseries, 0x10)] RESULT: 16 99 6D 40 DB DB DF 27 88 0B E3 1E 3F 0D 5E DE
[server]=> [skps = grab(skseries, 0x10)] RESULT: 0F A1 4C 26 6C 1D C7 CD 3B CB CE 2F AA 00 67 8D
[server]=> [skpt = grab(skseries, 0x10)] RESULT: 8B 3E AC 53 6C 2E 4A 7A CD 7F D0 28 15 AD 58 DF
[server]=> [authserver = prf(concatenate(concatenate(keserver, nserver), concatenate(ntag, prf(idserver,skps))), sharedkey)] RESULT: F1 E7 46 12 15 B2 16 01 30 49 0C 05 22 F8 7A 65
[server]=> [cipheredidserver = encrypte(idserver, skes)] RESULT: FB D5 C2 48 BC 59 27 E8 5B 7D D0 C4 02 C0 D1 45
[server]=> [cipheredauthserver = encrypte(authserver, skes)] RESULT: 4A 6C 3F 72 FD 0C 79 64 37 85 37 C0 B4 BC 56 04
[server]=> [SendData(cipheredidserver)] RESULT: FB D5 C2 48 BC 59 27 E8 5B 7D D0 C4 02 C0 D1 45
[tag]=> [cipheredidserver = ReceiveData(0x00)] RESULT: FB D5 C2 48 BC 59 27 E8 5B 7D D0 C4 02 C0 D1 45
[server]=> [SendData(cipheredauthserver)] RESULT: 4A 6C 3F 72 FD 0C 79 64 37 85 37 C0 B4 BC 56 04
[tag]=> [cipheredauthserver = ReceiveData(0x00)] RESULT: 4A 6C 3F 72 FD 0C 79 64 37 85 37 C0 B4 BC 56 04
[tag]=> [skseries = prfplus(concatenate(concatenate(nserver, ntag), idshared), prf(gir, concatenate(nserver, ntag)))] RESULT: E3 A1 0C 8F 14 36 0D 7F 5D A9 43 D3 0E 66 DE AF 95 04 4E 43 F4 A1 AE DC 60 33 4F FB 0F 88 4B 7B 16 99 6D 40 DB DB DF 27 88 0B E3 1E 3F 0D 5E DE 0F A1 4C 26 6C 1D C7 CD 3B CB CE 2F AA 00 67 8D 8B 3E AC 53 6C 2E 4A 7A CD 7F D0 28 15 AD 58 DF
[tag]=> [ski = grab(skseries, 0x10)] RESULT: E3 A1 0C 8F 14 36 0D 7F 5D A9 43 D3 0E 66 DE AF
[tag]=> [skes = grab(skseries, 0x10)] RESULT: 95 04 4E 43 F4 A1 AE DC 60 33 4F FB 0F 88 4B 7B
[tag]=> [sket = grab(skseries, 0x10)] RESULT: 16 99 6D 40 DB DB DF 27 88 0B E3 1E 3F 0D 5E DE
[tag]=> [skps = grab(skseries, 0x10)] RESULT: 0F A1 4C 26 6C 1D C7 CD 3B CB CE 2F AA 00 67 8D
[tag]=> [skpt = grab(skseries, 0x10)] RESULT: 8B 3E AC 53 6C 2E 4A 7A CD 7F D0 28 15 AD 58 DF
[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: F1 E7 46 12 15 B2 16 01 30 49 0C 05 22 F8 7A 65
[tag]=> [authservercalculated = prf(concatenate(concatenate(keserver, nserver), concatenate(ntag, prf(idserver,skps))), sharedkey)] RESULT: F1 E7 46 12 15 B2 16 01 30 49 0C 05 22 F8 7A 65
[tag]=> [if(compare(authserver, authservercalculated))] RESULT: 01
[tag]=> [idsnext = prf(idtag, ski)] RESULT: C8 DF 24 47 6A 13 2E C7 FA 45 B5 8D 56 6C F9 8E
[tag]=> [idtag = idsnext] RESULT: C8 DF 24 47 6A 13 2E C7 FA 45 B5 8D 56 6C F9 8E
[tag]=> [endif] RESULT:
[tag]=> [authtag = prf(concatenate(concatenate(concatenate(idshared, ketag), concatenate(ntag, nserver)), prf(idtag,skpt)), sharedkey)] RESULT: 8D 20 7C 15 86 07 29 B8 9D 83 F2 D5 31 B1 3B 85
[tag]=> [cipheredidtag = encrypte(idtag, sket)] RESULT: 23 EF 27 76 69 CC 05 44 16 BE 85 8B 72 01 4A 8C
[tag]=> [cipheredauthtag = encrypte(authtag, sket)] RESULT: 82 8B 12 03 08 4D 79 7E 98 F1 50 FA 99 E9 BC F8
[tag]=> [SendData(cipheredidtag)] RESULT: 23 EF 27 76 69 CC 05 44 16 BE 85 8B 72 01 4A 8C
[server]=> [cipheredidtag = ReceiveData(0x00)] RESULT: 23 EF 27 76 69 CC 05 44 16 BE 85 8B 72 01 4A 8C
[tag]=> [SendData(cipheredauthtag)] RESULT: 82 8B 12 03 08 4D 79 7E 98 F1 50 FA 99 E9 BC F8
[server]=> [cipheredauthtag = ReceiveData(0x00)] RESULT: 82 8B 12 03 08 4D 79 7E 98 F1 50 FA 99 E9 BC F8
[server]=> [idtag = decrypte(cipheredidtag, sket)] RESULT: C8 DF 24 47 6A 13 2E C7 FA 45 B5 8D 56 6C F9 8E
[server]=> [authtag = decrypte(cipheredauthtag, sket)] RESULT: 8D 20 7C 15 86 07 29 B8 9D 83 F2 D5 31 B1 3B 85
[server]=> [authtagcalculated = prf(concatenate(concatenate(concatenate(idsharedtag, ketag), concatenate(ntag, nserver)), prf(idtag,skpt)), sharedkey)] RESULT: 8D 20 7C 15 86 07 29 B8 9D 83 F2 D5 31 B1 3B 85
[server]=> [if(compare(authtag, authtagcalculated))] RESULT: 01
[server]=> [idsnext = prf(idtag, ski)] RESULT: 42 82 D7 79 ED F7 4A 28 FF 00 14 FB D4 A5 82 2C
[server]=> [endif] RESULT: