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: 45 32 A5 D4 16 79 60 84 1B 9D 2F 92 0E 98 6C 58
[server]=> [nserver = generaterandom(0x08)] RESULT: E1 96 1C 14 0B B7 26 6C
[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: C7 C9 94 2D 55 50 F4 E3 7B 7A C8 4A 9A 78 89 13
[tag]=> [ntag = generaterandom(0x08)] RESULT: 70 17 36 D5 CB 36 FF 42
[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: 45 32 A5 D4 16 79 60 84 1B 9D 2F 92 0E 98 6C 58
[tag]=> [keserver = ReceiveData(0x00)] RESULT: 45 32 A5 D4 16 79 60 84 1B 9D 2F 92 0E 98 6C 58
[server]=> [SendData(nserver)] RESULT: E1 96 1C 14 0B B7 26 6C
[tag]=> [nserver = ReceiveData(0x00)] RESULT: E1 96 1C 14 0B B7 26 6C
[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: C7 C9 94 2D 55 50 F4 E3 7B 7A C8 4A 9A 78 89 13
[server]=> [ketag = ReceiveData(0x00)] RESULT: C7 C9 94 2D 55 50 F4 E3 7B 7A C8 4A 9A 78 89 13
[tag]=> [SendData(ntag)] RESULT: 70 17 36 D5 CB 36 FF 42
[server]=> [ntag = ReceiveData(0x00)] RESULT: 70 17 36 D5 CB 36 FF 42
[server]=> [skseries = prfplus(concatenate(concatenate(nserver, ntag), idsharedtag), prf(gir, concatenate(nserver, ntag)))] RESULT: 2C B2 AC 27 97 26 B9 A7 7A C1 E5 DE 6A 9D E7 C3 1D 72 6E 8A 4E 5C 83 0F 5E 8C 55 D7 A4 31 A9 08 17 91 9B 81 43 0F C5 37 E9 52 E5 E5 BB 71 D5 A6 11 BF 1F EC 92 2A 37 7E CC 0D 91 17 BA 88 00 96 10 1B 62 19 3A EF 9F B9 4C 1D B5 CE 6D 4C AB CB
[server]=> [ski = grab(skseries, 0x10)] RESULT: 2C B2 AC 27 97 26 B9 A7 7A C1 E5 DE 6A 9D E7 C3
[server]=> [skes = grab(skseries, 0x10)] RESULT: 1D 72 6E 8A 4E 5C 83 0F 5E 8C 55 D7 A4 31 A9 08
[server]=> [sket = grab(skseries, 0x10)] RESULT: 17 91 9B 81 43 0F C5 37 E9 52 E5 E5 BB 71 D5 A6
[server]=> [skps = grab(skseries, 0x10)] RESULT: 11 BF 1F EC 92 2A 37 7E CC 0D 91 17 BA 88 00 96
[server]=> [skpt = grab(skseries, 0x10)] RESULT: 10 1B 62 19 3A EF 9F B9 4C 1D B5 CE 6D 4C AB CB
[server]=> [authserver = prf(concatenate(concatenate(keserver, nserver), concatenate(ntag, prf(idserver,skps))), sharedkey)] RESULT: 0E BC AB F4 E1 E1 5F 91 93 12 40 88 59 D9 33 15
[server]=> [cipheredidserver = encrypte(idserver, skes)] RESULT: 09 1A E1 53 1D 1F 60 87 61 9F 42 D7 60 EB 66 EC
[server]=> [cipheredauthserver = encrypte(authserver, skes)] RESULT: F1 C4 08 D0 DF 5B BC 67 75 3F CA 96 C7 E0 05 17
[server]=> [SendData(cipheredidserver)] RESULT: 09 1A E1 53 1D 1F 60 87 61 9F 42 D7 60 EB 66 EC
[tag]=> [cipheredidserver = ReceiveData(0x00)] RESULT: 09 1A E1 53 1D 1F 60 87 61 9F 42 D7 60 EB 66 EC
[server]=> [SendData(cipheredauthserver)] RESULT: F1 C4 08 D0 DF 5B BC 67 75 3F CA 96 C7 E0 05 17
[tag]=> [cipheredauthserver = ReceiveData(0x00)] RESULT: F1 C4 08 D0 DF 5B BC 67 75 3F CA 96 C7 E0 05 17
[tag]=> [skseries = prfplus(concatenate(concatenate(nserver, ntag), idshared), prf(gir, concatenate(nserver, ntag)))] RESULT: 2C B2 AC 27 97 26 B9 A7 7A C1 E5 DE 6A 9D E7 C3 1D 72 6E 8A 4E 5C 83 0F 5E 8C 55 D7 A4 31 A9 08 17 91 9B 81 43 0F C5 37 E9 52 E5 E5 BB 71 D5 A6 11 BF 1F EC 92 2A 37 7E CC 0D 91 17 BA 88 00 96 10 1B 62 19 3A EF 9F B9 4C 1D B5 CE 6D 4C AB CB
[tag]=> [ski = grab(skseries, 0x10)] RESULT: 2C B2 AC 27 97 26 B9 A7 7A C1 E5 DE 6A 9D E7 C3
[tag]=> [skes = grab(skseries, 0x10)] RESULT: 1D 72 6E 8A 4E 5C 83 0F 5E 8C 55 D7 A4 31 A9 08
[tag]=> [sket = grab(skseries, 0x10)] RESULT: 17 91 9B 81 43 0F C5 37 E9 52 E5 E5 BB 71 D5 A6
[tag]=> [skps = grab(skseries, 0x10)] RESULT: 11 BF 1F EC 92 2A 37 7E CC 0D 91 17 BA 88 00 96
[tag]=> [skpt = grab(skseries, 0x10)] RESULT: 10 1B 62 19 3A EF 9F B9 4C 1D B5 CE 6D 4C AB CB
[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: 0E BC AB F4 E1 E1 5F 91 93 12 40 88 59 D9 33 15
[tag]=> [authservercalculated = prf(concatenate(concatenate(keserver, nserver), concatenate(ntag, prf(idserver,skps))), sharedkey)] RESULT: 0E BC AB F4 E1 E1 5F 91 93 12 40 88 59 D9 33 15
[tag]=> [if(compare(authserver, authservercalculated))] RESULT: 01
[tag]=> [idsnext = prf(idtag, ski)] RESULT: 45 16 6E EF 26 7B 66 AD 6D 97 84 AA 8A 84 80 61
[tag]=> [idtag = idsnext] RESULT: 45 16 6E EF 26 7B 66 AD 6D 97 84 AA 8A 84 80 61
[tag]=> [endif] RESULT:
[tag]=> [authtag = prf(concatenate(concatenate(concatenate(idshared, ketag), concatenate(ntag, nserver)), prf(idtag,skpt)), sharedkey)] RESULT: F0 AA 17 59 C5 4F F9 63 4B BB 31 9F 7D 6F 20 F9
[tag]=> [cipheredidtag = encrypte(idtag, sket)] RESULT: F3 E7 97 32 9E FB DE B2 F1 5C 0F A1 51 A2 0B 4D
[tag]=> [cipheredauthtag = encrypte(authtag, sket)] RESULT: 31 B0 6D 06 2A C5 24 AB 56 3E EB A6 9F 25 A2 AF
[tag]=> [SendData(cipheredidtag)] RESULT: F3 E7 97 32 9E FB DE B2 F1 5C 0F A1 51 A2 0B 4D
[server]=> [cipheredidtag = ReceiveData(0x00)] RESULT: F3 E7 97 32 9E FB DE B2 F1 5C 0F A1 51 A2 0B 4D
[tag]=> [SendData(cipheredauthtag)] RESULT: 31 B0 6D 06 2A C5 24 AB 56 3E EB A6 9F 25 A2 AF
[server]=> [cipheredauthtag = ReceiveData(0x00)] RESULT: 31 B0 6D 06 2A C5 24 AB 56 3E EB A6 9F 25 A2 AF
[server]=> [idtag = decrypte(cipheredidtag, sket)] RESULT: 45 16 6E EF 26 7B 66 AD 6D 97 84 AA 8A 84 80 61
[server]=> [authtag = decrypte(cipheredauthtag, sket)] RESULT: F0 AA 17 59 C5 4F F9 63 4B BB 31 9F 7D 6F 20 F9
[server]=> [authtagcalculated = prf(concatenate(concatenate(concatenate(idsharedtag, ketag), concatenate(ntag, nserver)), prf(idtag,skpt)), sharedkey)] RESULT: F0 AA 17 59 C5 4F F9 63 4B BB 31 9F 7D 6F 20 F9
[server]=> [if(compare(authtag, authtagcalculated))] RESULT: 01
[server]=> [idsnext = prf(idtag, ski)] RESULT: 00 54 DA 83 4B B8 24 BF A3 F1 12 ED E9 5F 8D F1
[server]=> [endif] RESULT: