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: 3E 14 F6 54 A8 EF 66 2A 84 21 A6 F2 B4 DA 1F 32
[server]=> [nserver = generaterandom(0x08)] RESULT: 7C 82 A2 26 59 52 B4 3E
[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: 04 29 E1 6C 4D 49 F3 18 A0 4F C1 32 DD E3 11 96
[tag]=> [ntag = generaterandom(0x08)] RESULT: B9 91 0D 18 C5 D2 F6 2F
[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: 3E 14 F6 54 A8 EF 66 2A 84 21 A6 F2 B4 DA 1F 32
[tag]=> [keserver = ReceiveData(0x00)] RESULT: 3E 14 F6 54 A8 EF 66 2A 84 21 A6 F2 B4 DA 1F 32
[server]=> [SendData(nserver)] RESULT: 7C 82 A2 26 59 52 B4 3E
[tag]=> [nserver = ReceiveData(0x00)] RESULT: 7C 82 A2 26 59 52 B4 3E
[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: 04 29 E1 6C 4D 49 F3 18 A0 4F C1 32 DD E3 11 96
[server]=> [ketag = ReceiveData(0x00)] RESULT: 04 29 E1 6C 4D 49 F3 18 A0 4F C1 32 DD E3 11 96
[tag]=> [SendData(ntag)] RESULT: B9 91 0D 18 C5 D2 F6 2F
[server]=> [ntag = ReceiveData(0x00)] RESULT: B9 91 0D 18 C5 D2 F6 2F
[server]=> [skseries = prfplus(concatenate(concatenate(nserver, ntag), idsharedtag), prf(gir, concatenate(nserver, ntag)))] RESULT: A9 D0 78 9C D5 41 C8 27 99 AD 98 F3 44 27 8D 43 8D 3A AC E4 17 93 CE A8 07 F1 A5 07 30 AE 97 DD 05 57 F6 09 45 96 9C 90 8A AD 34 29 D8 2C 1F C4 83 A9 14 4E 0F 05 83 09 8D BA AB FA B3 CA 04 CC 7C 3E 41 62 5E B1 8A 53 21 BE 8E EC 21 F5 83 6D
[server]=> [ski = grab(skseries, 0x10)] RESULT: A9 D0 78 9C D5 41 C8 27 99 AD 98 F3 44 27 8D 43
[server]=> [skes = grab(skseries, 0x10)] RESULT: 8D 3A AC E4 17 93 CE A8 07 F1 A5 07 30 AE 97 DD
[server]=> [sket = grab(skseries, 0x10)] RESULT: 05 57 F6 09 45 96 9C 90 8A AD 34 29 D8 2C 1F C4
[server]=> [skps = grab(skseries, 0x10)] RESULT: 83 A9 14 4E 0F 05 83 09 8D BA AB FA B3 CA 04 CC
[server]=> [skpt = grab(skseries, 0x10)] RESULT: 7C 3E 41 62 5E B1 8A 53 21 BE 8E EC 21 F5 83 6D
[server]=> [authserver = prf(concatenate(concatenate(keserver, nserver), concatenate(ntag, prf(idserver,skps))), sharedkey)] RESULT: 91 18 81 C9 A5 98 80 22 4C ED 4D 02 EE F4 1B 66
[server]=> [cipheredidserver = encrypte(idserver, skes)] RESULT: 28 D1 55 3C 30 EE 08 EB 66 50 28 79 DB 92 35 87
[server]=> [cipheredauthserver = encrypte(authserver, skes)] RESULT: CE D3 8E 28 6B B7 93 13 14 16 DA FD EF BC E4 2E
[server]=> [SendData(cipheredidserver)] RESULT: 28 D1 55 3C 30 EE 08 EB 66 50 28 79 DB 92 35 87
[tag]=> [cipheredidserver = ReceiveData(0x00)] RESULT: 28 D1 55 3C 30 EE 08 EB 66 50 28 79 DB 92 35 87
[server]=> [SendData(cipheredauthserver)] RESULT: CE D3 8E 28 6B B7 93 13 14 16 DA FD EF BC E4 2E
[tag]=> [cipheredauthserver = ReceiveData(0x00)] RESULT: CE D3 8E 28 6B B7 93 13 14 16 DA FD EF BC E4 2E
[tag]=> [skseries = prfplus(concatenate(concatenate(nserver, ntag), idshared), prf(gir, concatenate(nserver, ntag)))] RESULT: A9 D0 78 9C D5 41 C8 27 99 AD 98 F3 44 27 8D 43 8D 3A AC E4 17 93 CE A8 07 F1 A5 07 30 AE 97 DD 05 57 F6 09 45 96 9C 90 8A AD 34 29 D8 2C 1F C4 83 A9 14 4E 0F 05 83 09 8D BA AB FA B3 CA 04 CC 7C 3E 41 62 5E B1 8A 53 21 BE 8E EC 21 F5 83 6D
[tag]=> [ski = grab(skseries, 0x10)] RESULT: A9 D0 78 9C D5 41 C8 27 99 AD 98 F3 44 27 8D 43
[tag]=> [skes = grab(skseries, 0x10)] RESULT: 8D 3A AC E4 17 93 CE A8 07 F1 A5 07 30 AE 97 DD
[tag]=> [sket = grab(skseries, 0x10)] RESULT: 05 57 F6 09 45 96 9C 90 8A AD 34 29 D8 2C 1F C4
[tag]=> [skps = grab(skseries, 0x10)] RESULT: 83 A9 14 4E 0F 05 83 09 8D BA AB FA B3 CA 04 CC
[tag]=> [skpt = grab(skseries, 0x10)] RESULT: 7C 3E 41 62 5E B1 8A 53 21 BE 8E EC 21 F5 83 6D
[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: 91 18 81 C9 A5 98 80 22 4C ED 4D 02 EE F4 1B 66
[tag]=> [authservercalculated = prf(concatenate(concatenate(keserver, nserver), concatenate(ntag, prf(idserver,skps))), sharedkey)] RESULT: 91 18 81 C9 A5 98 80 22 4C ED 4D 02 EE F4 1B 66
[tag]=> [if(compare(authserver, authservercalculated))] RESULT: 01
[tag]=> [idsnext = prf(idtag, ski)] RESULT: B1 37 98 3D 9C 1C CC AC D7 C5 A4 CC 0A 93 0E 26
[tag]=> [idtag = idsnext] RESULT: B1 37 98 3D 9C 1C CC AC D7 C5 A4 CC 0A 93 0E 26
[tag]=> [endif] RESULT:
[tag]=> [authtag = prf(concatenate(concatenate(concatenate(idshared, ketag), concatenate(ntag, nserver)), prf(idtag,skpt)), sharedkey)] RESULT: FB 08 86 1C 7B 80 29 8B 73 0F 29 56 7D C8 50 CA
[tag]=> [cipheredidtag = encrypte(idtag, sket)] RESULT: CF E5 D5 FB FF D9 F2 BA 4A 25 47 7D 8A 76 06 58
[tag]=> [cipheredauthtag = encrypte(authtag, sket)] RESULT: 70 F5 1F 25 E1 74 D9 D4 10 98 41 C0 0E C4 F4 8C
[tag]=> [SendData(cipheredidtag)] RESULT: CF E5 D5 FB FF D9 F2 BA 4A 25 47 7D 8A 76 06 58
[server]=> [cipheredidtag = ReceiveData(0x00)] RESULT: CF E5 D5 FB FF D9 F2 BA 4A 25 47 7D 8A 76 06 58
[tag]=> [SendData(cipheredauthtag)] RESULT: 70 F5 1F 25 E1 74 D9 D4 10 98 41 C0 0E C4 F4 8C
[server]=> [cipheredauthtag = ReceiveData(0x00)] RESULT: 70 F5 1F 25 E1 74 D9 D4 10 98 41 C0 0E C4 F4 8C
[server]=> [idtag = decrypte(cipheredidtag, sket)] RESULT: B1 37 98 3D 9C 1C CC AC D7 C5 A4 CC 0A 93 0E 26
[server]=> [authtag = decrypte(cipheredauthtag, sket)] RESULT: FB 08 86 1C 7B 80 29 8B 73 0F 29 56 7D C8 50 CA
[server]=> [authtagcalculated = prf(concatenate(concatenate(concatenate(idsharedtag, ketag), concatenate(ntag, nserver)), prf(idtag,skpt)), sharedkey)] RESULT: FB 08 86 1C 7B 80 29 8B 73 0F 29 56 7D C8 50 CA
[server]=> [if(compare(authtag, authtagcalculated))] RESULT: 01
[server]=> [idsnext = prf(idtag, ski)] RESULT: A1 38 CF 25 66 22 0A 68 4F B0 18 17 11 98 7D BF
[server]=> [endif] RESULT: