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: 4C 7E AC 01 89 22 88 C1 42 4F F2 EB D2 C1 DF 6A
[server]=> [nserver = generaterandom(0x08)] RESULT: E4 3B 5F AC 97 8D 6D 95
[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: 96 35 9D AA FC 51 87 F2 98 30 7A D8 14 B5 29 3C
[tag]=> [ntag = generaterandom(0x08)] RESULT: 03 DD 70 44 88 8E 89 DD
[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: 4C 7E AC 01 89 22 88 C1 42 4F F2 EB D2 C1 DF 6A
[tag]=> [keserver = ReceiveData(0x00)] RESULT: 4C 7E AC 01 89 22 88 C1 42 4F F2 EB D2 C1 DF 6A
[server]=> [SendData(nserver)] RESULT: E4 3B 5F AC 97 8D 6D 95
[tag]=> [nserver = ReceiveData(0x00)] RESULT: E4 3B 5F AC 97 8D 6D 95
[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: 96 35 9D AA FC 51 87 F2 98 30 7A D8 14 B5 29 3C
[server]=> [ketag = ReceiveData(0x00)] RESULT: 96 35 9D AA FC 51 87 F2 98 30 7A D8 14 B5 29 3C
[tag]=> [SendData(ntag)] RESULT: 03 DD 70 44 88 8E 89 DD
[server]=> [ntag = ReceiveData(0x00)] RESULT: 03 DD 70 44 88 8E 89 DD
[server]=> [skseries = prfplus(concatenate(concatenate(nserver, ntag), idsharedtag), prf(gir, concatenate(nserver, ntag)))] RESULT: C0 DC 2A 45 94 DD 54 F2 3F 48 D7 F6 2D FC C0 FB 25 53 D7 6A 42 D6 84 48 F1 36 95 F2 88 69 9B CE 4C 06 A9 75 91 C7 DD F2 ED 9F C3 E6 53 7D DD 44 F4 A5 B7 9C F0 FD 71 EB 65 C8 00 06 79 05 A4 6A C5 31 55 CC FD 02 0F 93 AC FC 4B D4 63 33 5A 79
[server]=> [ski = grab(skseries, 0x10)] RESULT: C0 DC 2A 45 94 DD 54 F2 3F 48 D7 F6 2D FC C0 FB
[server]=> [skes = grab(skseries, 0x10)] RESULT: 25 53 D7 6A 42 D6 84 48 F1 36 95 F2 88 69 9B CE
[server]=> [sket = grab(skseries, 0x10)] RESULT: 4C 06 A9 75 91 C7 DD F2 ED 9F C3 E6 53 7D DD 44
[server]=> [skps = grab(skseries, 0x10)] RESULT: F4 A5 B7 9C F0 FD 71 EB 65 C8 00 06 79 05 A4 6A
[server]=> [skpt = grab(skseries, 0x10)] RESULT: C5 31 55 CC FD 02 0F 93 AC FC 4B D4 63 33 5A 79
[server]=> [authserver = prf(concatenate(concatenate(keserver, nserver), concatenate(ntag, prf(idserver,skps))), sharedkey)] RESULT: 52 18 ED D4 D1 FE D0 F1 80 9F 0B A0 18 B7 56 76
[server]=> [cipheredidserver = encrypte(idserver, skes)] RESULT: 90 A1 41 CF FE BF 05 2C 77 1B 2C CE 24 1A D6 E1
[server]=> [cipheredauthserver = encrypte(authserver, skes)] RESULT: 0E E6 C7 C4 13 95 56 2F 0F EA 8E 80 96 BC A9 FD
[server]=> [SendData(cipheredidserver)] RESULT: 90 A1 41 CF FE BF 05 2C 77 1B 2C CE 24 1A D6 E1
[tag]=> [cipheredidserver = ReceiveData(0x00)] RESULT: 90 A1 41 CF FE BF 05 2C 77 1B 2C CE 24 1A D6 E1
[server]=> [SendData(cipheredauthserver)] RESULT: 0E E6 C7 C4 13 95 56 2F 0F EA 8E 80 96 BC A9 FD
[tag]=> [cipheredauthserver = ReceiveData(0x00)] RESULT: 0E E6 C7 C4 13 95 56 2F 0F EA 8E 80 96 BC A9 FD
[tag]=> [skseries = prfplus(concatenate(concatenate(nserver, ntag), idshared), prf(gir, concatenate(nserver, ntag)))] RESULT: C0 DC 2A 45 94 DD 54 F2 3F 48 D7 F6 2D FC C0 FB 25 53 D7 6A 42 D6 84 48 F1 36 95 F2 88 69 9B CE 4C 06 A9 75 91 C7 DD F2 ED 9F C3 E6 53 7D DD 44 F4 A5 B7 9C F0 FD 71 EB 65 C8 00 06 79 05 A4 6A C5 31 55 CC FD 02 0F 93 AC FC 4B D4 63 33 5A 79
[tag]=> [ski = grab(skseries, 0x10)] RESULT: C0 DC 2A 45 94 DD 54 F2 3F 48 D7 F6 2D FC C0 FB
[tag]=> [skes = grab(skseries, 0x10)] RESULT: 25 53 D7 6A 42 D6 84 48 F1 36 95 F2 88 69 9B CE
[tag]=> [sket = grab(skseries, 0x10)] RESULT: 4C 06 A9 75 91 C7 DD F2 ED 9F C3 E6 53 7D DD 44
[tag]=> [skps = grab(skseries, 0x10)] RESULT: F4 A5 B7 9C F0 FD 71 EB 65 C8 00 06 79 05 A4 6A
[tag]=> [skpt = grab(skseries, 0x10)] RESULT: C5 31 55 CC FD 02 0F 93 AC FC 4B D4 63 33 5A 79
[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: 52 18 ED D4 D1 FE D0 F1 80 9F 0B A0 18 B7 56 76
[tag]=> [authservercalculated = prf(concatenate(concatenate(keserver, nserver), concatenate(ntag, prf(idserver,skps))), sharedkey)] RESULT: 52 18 ED D4 D1 FE D0 F1 80 9F 0B A0 18 B7 56 76
[tag]=> [if(compare(authserver, authservercalculated))] RESULT: 01
[tag]=> [idsnext = prf(idtag, ski)] RESULT: 0E 52 F6 22 4D AF AC 7D 8D 11 75 3B AB 73 C4 8A
[tag]=> [idtag = idsnext] RESULT: 0E 52 F6 22 4D AF AC 7D 8D 11 75 3B AB 73 C4 8A
[tag]=> [endif] RESULT:
[tag]=> [authtag = prf(concatenate(concatenate(concatenate(idshared, ketag), concatenate(ntag, nserver)), prf(idtag,skpt)), sharedkey)] RESULT: BB 64 42 A7 20 08 C0 51 E7 4C 6B AA BF 67 54 A4
[tag]=> [cipheredidtag = encrypte(idtag, sket)] RESULT: FB F1 00 07 CB 69 BB F6 F7 99 A9 6D B8 62 66 2D
[tag]=> [cipheredauthtag = encrypte(authtag, sket)] RESULT: 0D 1C F2 F3 BE 20 1F 13 4C 6E E3 68 44 33 6E 77
[tag]=> [SendData(cipheredidtag)] RESULT: FB F1 00 07 CB 69 BB F6 F7 99 A9 6D B8 62 66 2D
[server]=> [cipheredidtag = ReceiveData(0x00)] RESULT: FB F1 00 07 CB 69 BB F6 F7 99 A9 6D B8 62 66 2D
[tag]=> [SendData(cipheredauthtag)] RESULT: 0D 1C F2 F3 BE 20 1F 13 4C 6E E3 68 44 33 6E 77
[server]=> [cipheredauthtag = ReceiveData(0x00)] RESULT: 0D 1C F2 F3 BE 20 1F 13 4C 6E E3 68 44 33 6E 77
[server]=> [idtag = decrypte(cipheredidtag, sket)] RESULT: 0E 52 F6 22 4D AF AC 7D 8D 11 75 3B AB 73 C4 8A
[server]=> [authtag = decrypte(cipheredauthtag, sket)] RESULT: BB 64 42 A7 20 08 C0 51 E7 4C 6B AA BF 67 54 A4
[server]=> [authtagcalculated = prf(concatenate(concatenate(concatenate(idsharedtag, ketag), concatenate(ntag, nserver)), prf(idtag,skpt)), sharedkey)] RESULT: BB 64 42 A7 20 08 C0 51 E7 4C 6B AA BF 67 54 A4
[server]=> [if(compare(authtag, authtagcalculated))] RESULT: 01
[server]=> [idsnext = prf(idtag, ski)] RESULT: BB 73 72 54 8C EB 4B D6 8F 7D EC 11 6E 74 89 B6
[server]=> [endif] RESULT: