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: 53 14 63 07 D2 B6 F3 3C 24 7B 56 3D 43 4D 3E 23
[server]=> [nserver = generaterandom(0x08)] RESULT: 19 2A DA E9 88 34 2E 79
[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: FE 05 6F FB 9E 6F 84 11 38 86 F6 97 C7 E4 43 AA
[tag]=> [ntag = generaterandom(0x08)] RESULT: 3F 9F F2 C1 1B 4E A4 E3
[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: 53 14 63 07 D2 B6 F3 3C 24 7B 56 3D 43 4D 3E 23
[tag]=> [keserver = ReceiveData(0x00)] RESULT: 53 14 63 07 D2 B6 F3 3C 24 7B 56 3D 43 4D 3E 23
[server]=> [SendData(nserver)] RESULT: 19 2A DA E9 88 34 2E 79
[tag]=> [nserver = ReceiveData(0x00)] RESULT: 19 2A DA E9 88 34 2E 79
[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: FE 05 6F FB 9E 6F 84 11 38 86 F6 97 C7 E4 43 AA
[server]=> [ketag = ReceiveData(0x00)] RESULT: FE 05 6F FB 9E 6F 84 11 38 86 F6 97 C7 E4 43 AA
[tag]=> [SendData(ntag)] RESULT: 3F 9F F2 C1 1B 4E A4 E3
[server]=> [ntag = ReceiveData(0x00)] RESULT: 3F 9F F2 C1 1B 4E A4 E3
[server]=> [skseries = prfplus(concatenate(concatenate(nserver, ntag), idsharedtag), prf(gir, concatenate(nserver, ntag)))] RESULT: CF F6 E8 30 CA CF 3B D4 6B 00 E1 95 10 0C 32 26 6D F9 6D 1C B0 F8 C9 16 BB 10 24 71 6A FB 1D 3E D8 B5 75 84 4D CD 77 5B 90 11 DD 68 44 16 EF E9 0A 69 CD FD FA 5C 38 45 A7 51 AF 66 60 18 98 9D 64 F6 E6 54 87 FF 77 39 16 99 4C 15 9E F2 57 24
[server]=> [ski = grab(skseries, 0x10)] RESULT: CF F6 E8 30 CA CF 3B D4 6B 00 E1 95 10 0C 32 26
[server]=> [skes = grab(skseries, 0x10)] RESULT: 6D F9 6D 1C B0 F8 C9 16 BB 10 24 71 6A FB 1D 3E
[server]=> [sket = grab(skseries, 0x10)] RESULT: D8 B5 75 84 4D CD 77 5B 90 11 DD 68 44 16 EF E9
[server]=> [skps = grab(skseries, 0x10)] RESULT: 0A 69 CD FD FA 5C 38 45 A7 51 AF 66 60 18 98 9D
[server]=> [skpt = grab(skseries, 0x10)] RESULT: 64 F6 E6 54 87 FF 77 39 16 99 4C 15 9E F2 57 24
[server]=> [authserver = prf(concatenate(concatenate(keserver, nserver), concatenate(ntag, prf(idserver,skps))), sharedkey)] RESULT: B0 93 E2 55 11 4B 24 8F 82 33 7D 06 78 12 E7 E5
[server]=> [cipheredidserver = encrypte(idserver, skes)] RESULT: C5 D4 23 5F 17 B2 DA 8D 5D 5A EA F0 4F E1 64 E7
[server]=> [cipheredauthserver = encrypte(authserver, skes)] RESULT: CF AE 7A 2F C4 AB 80 31 90 46 7F E6 64 7A 16 54
[server]=> [SendData(cipheredidserver)] RESULT: C5 D4 23 5F 17 B2 DA 8D 5D 5A EA F0 4F E1 64 E7
[tag]=> [cipheredidserver = ReceiveData(0x00)] RESULT: C5 D4 23 5F 17 B2 DA 8D 5D 5A EA F0 4F E1 64 E7
[server]=> [SendData(cipheredauthserver)] RESULT: CF AE 7A 2F C4 AB 80 31 90 46 7F E6 64 7A 16 54
[tag]=> [cipheredauthserver = ReceiveData(0x00)] RESULT: CF AE 7A 2F C4 AB 80 31 90 46 7F E6 64 7A 16 54
[tag]=> [skseries = prfplus(concatenate(concatenate(nserver, ntag), idshared), prf(gir, concatenate(nserver, ntag)))] RESULT: CF F6 E8 30 CA CF 3B D4 6B 00 E1 95 10 0C 32 26 6D F9 6D 1C B0 F8 C9 16 BB 10 24 71 6A FB 1D 3E D8 B5 75 84 4D CD 77 5B 90 11 DD 68 44 16 EF E9 0A 69 CD FD FA 5C 38 45 A7 51 AF 66 60 18 98 9D 64 F6 E6 54 87 FF 77 39 16 99 4C 15 9E F2 57 24
[tag]=> [ski = grab(skseries, 0x10)] RESULT: CF F6 E8 30 CA CF 3B D4 6B 00 E1 95 10 0C 32 26
[tag]=> [skes = grab(skseries, 0x10)] RESULT: 6D F9 6D 1C B0 F8 C9 16 BB 10 24 71 6A FB 1D 3E
[tag]=> [sket = grab(skseries, 0x10)] RESULT: D8 B5 75 84 4D CD 77 5B 90 11 DD 68 44 16 EF E9
[tag]=> [skps = grab(skseries, 0x10)] RESULT: 0A 69 CD FD FA 5C 38 45 A7 51 AF 66 60 18 98 9D
[tag]=> [skpt = grab(skseries, 0x10)] RESULT: 64 F6 E6 54 87 FF 77 39 16 99 4C 15 9E F2 57 24
[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: B0 93 E2 55 11 4B 24 8F 82 33 7D 06 78 12 E7 E5
[tag]=> [authservercalculated = prf(concatenate(concatenate(keserver, nserver), concatenate(ntag, prf(idserver,skps))), sharedkey)] RESULT: B0 93 E2 55 11 4B 24 8F 82 33 7D 06 78 12 E7 E5
[tag]=> [if(compare(authserver, authservercalculated))] RESULT: 01
[tag]=> [idsnext = prf(idtag, ski)] RESULT: BB 7F 4F 68 A6 5F 26 A9 39 7D 89 79 56 E3 59 26
[tag]=> [idtag = idsnext] RESULT: BB 7F 4F 68 A6 5F 26 A9 39 7D 89 79 56 E3 59 26
[tag]=> [endif] RESULT:
[tag]=> [authtag = prf(concatenate(concatenate(concatenate(idshared, ketag), concatenate(ntag, nserver)), prf(idtag,skpt)), sharedkey)] RESULT: B9 02 F8 2E F6 6E B0 1A 91 70 B8 2C AA 89 F8 7D
[tag]=> [cipheredidtag = encrypte(idtag, sket)] RESULT: 5E 10 11 E7 71 70 86 F8 EB 75 ED DF A4 AD B1 E2
[tag]=> [cipheredauthtag = encrypte(authtag, sket)] RESULT: 05 47 94 A4 A9 89 08 54 49 1E 8E 6A 93 13 50 17
[tag]=> [SendData(cipheredidtag)] RESULT: 5E 10 11 E7 71 70 86 F8 EB 75 ED DF A4 AD B1 E2
[server]=> [cipheredidtag = ReceiveData(0x00)] RESULT: 5E 10 11 E7 71 70 86 F8 EB 75 ED DF A4 AD B1 E2
[tag]=> [SendData(cipheredauthtag)] RESULT: 05 47 94 A4 A9 89 08 54 49 1E 8E 6A 93 13 50 17
[server]=> [cipheredauthtag = ReceiveData(0x00)] RESULT: 05 47 94 A4 A9 89 08 54 49 1E 8E 6A 93 13 50 17
[server]=> [idtag = decrypte(cipheredidtag, sket)] RESULT: BB 7F 4F 68 A6 5F 26 A9 39 7D 89 79 56 E3 59 26
[server]=> [authtag = decrypte(cipheredauthtag, sket)] RESULT: B9 02 F8 2E F6 6E B0 1A 91 70 B8 2C AA 89 F8 7D
[server]=> [authtagcalculated = prf(concatenate(concatenate(concatenate(idsharedtag, ketag), concatenate(ntag, nserver)), prf(idtag,skpt)), sharedkey)] RESULT: B9 02 F8 2E F6 6E B0 1A 91 70 B8 2C AA 89 F8 7D
[server]=> [if(compare(authtag, authtagcalculated))] RESULT: 01
[server]=> [idsnext = prf(idtag, ski)] RESULT: 8B D4 67 42 4B 65 44 62 01 DF 58 38 2E 70 6E D7
[server]=> [endif] RESULT: