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: 34 8B 6A 07 66 E3 30 05 03 B9 99 26 6D 35 0B 86
[server]=> [nserver = generaterandom(0x08)] RESULT: 8E 23 4B 2D 1B 33 B9 03
[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: F2 C8 91 C7 FD 27 C5 8F CC 47 30 21 40 8E 67 FB
[tag]=> [ntag = generaterandom(0x08)] RESULT: 7C 7F 01 CF 9E B5 1F 6E
[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: 34 8B 6A 07 66 E3 30 05 03 B9 99 26 6D 35 0B 86
[tag]=> [keserver = ReceiveData(0x00)] RESULT: 34 8B 6A 07 66 E3 30 05 03 B9 99 26 6D 35 0B 86
[server]=> [SendData(nserver)] RESULT: 8E 23 4B 2D 1B 33 B9 03
[tag]=> [nserver = ReceiveData(0x00)] RESULT: 8E 23 4B 2D 1B 33 B9 03
[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: F2 C8 91 C7 FD 27 C5 8F CC 47 30 21 40 8E 67 FB
[server]=> [ketag = ReceiveData(0x00)] RESULT: F2 C8 91 C7 FD 27 C5 8F CC 47 30 21 40 8E 67 FB
[tag]=> [SendData(ntag)] RESULT: 7C 7F 01 CF 9E B5 1F 6E
[server]=> [ntag = ReceiveData(0x00)] RESULT: 7C 7F 01 CF 9E B5 1F 6E
[server]=> [skseries = prfplus(concatenate(concatenate(nserver, ntag), idsharedtag), prf(gir, concatenate(nserver, ntag)))] RESULT: 1D DF E4 79 E5 37 2E 3B D0 AE 6A CC DA 99 A9 C6 01 E1 B5 BA 0D 99 E9 48 74 64 96 FC D0 CD 7C FD 76 A2 F6 9F E5 8E 3C 2B 26 C7 45 88 15 88 5C AA 1B 5F 3E 2A 91 F7 97 80 74 2F B2 7D 80 BD D6 AC 17 7B 5C 96 C2 28 94 45 DD 37 92 30 B1 70 AF A7
[server]=> [ski = grab(skseries, 0x10)] RESULT: 1D DF E4 79 E5 37 2E 3B D0 AE 6A CC DA 99 A9 C6
[server]=> [skes = grab(skseries, 0x10)] RESULT: 01 E1 B5 BA 0D 99 E9 48 74 64 96 FC D0 CD 7C FD
[server]=> [sket = grab(skseries, 0x10)] RESULT: 76 A2 F6 9F E5 8E 3C 2B 26 C7 45 88 15 88 5C AA
[server]=> [skps = grab(skseries, 0x10)] RESULT: 1B 5F 3E 2A 91 F7 97 80 74 2F B2 7D 80 BD D6 AC
[server]=> [skpt = grab(skseries, 0x10)] RESULT: 17 7B 5C 96 C2 28 94 45 DD 37 92 30 B1 70 AF A7
[server]=> [authserver = prf(concatenate(concatenate(keserver, nserver), concatenate(ntag, prf(idserver,skps))), sharedkey)] RESULT: F6 80 7C 7E 43 E4 65 A5 CB CF B2 16 81 34 17 BA
[server]=> [cipheredidserver = encrypte(idserver, skes)] RESULT: 75 55 C8 C8 1F 2D 8B ED 68 73 7D C1 81 BC 86 84
[server]=> [cipheredauthserver = encrypte(authserver, skes)] RESULT: 7C 12 26 35 B5 17 9D 94 A7 93 25 E4 6D 11 11 09
[server]=> [SendData(cipheredidserver)] RESULT: 75 55 C8 C8 1F 2D 8B ED 68 73 7D C1 81 BC 86 84
[tag]=> [cipheredidserver = ReceiveData(0x00)] RESULT: 75 55 C8 C8 1F 2D 8B ED 68 73 7D C1 81 BC 86 84
[server]=> [SendData(cipheredauthserver)] RESULT: 7C 12 26 35 B5 17 9D 94 A7 93 25 E4 6D 11 11 09
[tag]=> [cipheredauthserver = ReceiveData(0x00)] RESULT: 7C 12 26 35 B5 17 9D 94 A7 93 25 E4 6D 11 11 09
[tag]=> [skseries = prfplus(concatenate(concatenate(nserver, ntag), idshared), prf(gir, concatenate(nserver, ntag)))] RESULT: 1D DF E4 79 E5 37 2E 3B D0 AE 6A CC DA 99 A9 C6 01 E1 B5 BA 0D 99 E9 48 74 64 96 FC D0 CD 7C FD 76 A2 F6 9F E5 8E 3C 2B 26 C7 45 88 15 88 5C AA 1B 5F 3E 2A 91 F7 97 80 74 2F B2 7D 80 BD D6 AC 17 7B 5C 96 C2 28 94 45 DD 37 92 30 B1 70 AF A7
[tag]=> [ski = grab(skseries, 0x10)] RESULT: 1D DF E4 79 E5 37 2E 3B D0 AE 6A CC DA 99 A9 C6
[tag]=> [skes = grab(skseries, 0x10)] RESULT: 01 E1 B5 BA 0D 99 E9 48 74 64 96 FC D0 CD 7C FD
[tag]=> [sket = grab(skseries, 0x10)] RESULT: 76 A2 F6 9F E5 8E 3C 2B 26 C7 45 88 15 88 5C AA
[tag]=> [skps = grab(skseries, 0x10)] RESULT: 1B 5F 3E 2A 91 F7 97 80 74 2F B2 7D 80 BD D6 AC
[tag]=> [skpt = grab(skseries, 0x10)] RESULT: 17 7B 5C 96 C2 28 94 45 DD 37 92 30 B1 70 AF A7
[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: F6 80 7C 7E 43 E4 65 A5 CB CF B2 16 81 34 17 BA
[tag]=> [authservercalculated = prf(concatenate(concatenate(keserver, nserver), concatenate(ntag, prf(idserver,skps))), sharedkey)] RESULT: F6 80 7C 7E 43 E4 65 A5 CB CF B2 16 81 34 17 BA
[tag]=> [if(compare(authserver, authservercalculated))] RESULT: 01
[tag]=> [idsnext = prf(idtag, ski)] RESULT: C8 10 79 BB 6A 2B F3 CB 52 3C 2C BA C8 A3 A5 7C
[tag]=> [idtag = idsnext] RESULT: C8 10 79 BB 6A 2B F3 CB 52 3C 2C BA C8 A3 A5 7C
[tag]=> [endif] RESULT:
[tag]=> [authtag = prf(concatenate(concatenate(concatenate(idshared, ketag), concatenate(ntag, nserver)), prf(idtag,skpt)), sharedkey)] RESULT: E3 B4 53 6C 94 B0 2D 01 36 27 07 A0 20 7B 1F 96
[tag]=> [cipheredidtag = encrypte(idtag, sket)] RESULT: A9 E5 7D EC 89 FB 8D CD 8F A7 BF 26 B4 0F F2 89
[tag]=> [cipheredauthtag = encrypte(authtag, sket)] RESULT: 2A 72 E0 AA F1 AC 9A 8F 8F 01 5E C7 13 C1 2B 72
[tag]=> [SendData(cipheredidtag)] RESULT: A9 E5 7D EC 89 FB 8D CD 8F A7 BF 26 B4 0F F2 89
[server]=> [cipheredidtag = ReceiveData(0x00)] RESULT: A9 E5 7D EC 89 FB 8D CD 8F A7 BF 26 B4 0F F2 89
[tag]=> [SendData(cipheredauthtag)] RESULT: 2A 72 E0 AA F1 AC 9A 8F 8F 01 5E C7 13 C1 2B 72
[server]=> [cipheredauthtag = ReceiveData(0x00)] RESULT: 2A 72 E0 AA F1 AC 9A 8F 8F 01 5E C7 13 C1 2B 72
[server]=> [idtag = decrypte(cipheredidtag, sket)] RESULT: C8 10 79 BB 6A 2B F3 CB 52 3C 2C BA C8 A3 A5 7C
[server]=> [authtag = decrypte(cipheredauthtag, sket)] RESULT: E3 B4 53 6C 94 B0 2D 01 36 27 07 A0 20 7B 1F 96
[server]=> [authtagcalculated = prf(concatenate(concatenate(concatenate(idsharedtag, ketag), concatenate(ntag, nserver)), prf(idtag,skpt)), sharedkey)] RESULT: E3 B4 53 6C 94 B0 2D 01 36 27 07 A0 20 7B 1F 96
[server]=> [if(compare(authtag, authtagcalculated))] RESULT: 01
[server]=> [idsnext = prf(idtag, ski)] RESULT: E7 88 F2 48 4C C6 F4 FD 13 3F 02 76 B3 48 9B 58
[server]=> [endif] RESULT: