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: 87 39 28 12 78 01 ED 26 10 E2 9F C7 6C B3 D3 43
[server]=> [nserver = generaterandom(0x08)] RESULT: 4C C6 2D 88 8B 42 B0 CE
[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: CE 31 1A E3 E1 F1 B0 A1 7D 04 72 0C 06 EA 7A 12
[tag]=> [ntag = generaterandom(0x08)] RESULT: 56 C4 91 18 1D 96 6B 7D
[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: 87 39 28 12 78 01 ED 26 10 E2 9F C7 6C B3 D3 43
[tag]=> [keserver = ReceiveData(0x00)] RESULT: 87 39 28 12 78 01 ED 26 10 E2 9F C7 6C B3 D3 43
[server]=> [SendData(nserver)] RESULT: 4C C6 2D 88 8B 42 B0 CE
[tag]=> [nserver = ReceiveData(0x00)] RESULT: 4C C6 2D 88 8B 42 B0 CE
[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: CE 31 1A E3 E1 F1 B0 A1 7D 04 72 0C 06 EA 7A 12
[server]=> [ketag = ReceiveData(0x00)] RESULT: CE 31 1A E3 E1 F1 B0 A1 7D 04 72 0C 06 EA 7A 12
[tag]=> [SendData(ntag)] RESULT: 56 C4 91 18 1D 96 6B 7D
[server]=> [ntag = ReceiveData(0x00)] RESULT: 56 C4 91 18 1D 96 6B 7D
[server]=> [skseries = prfplus(concatenate(concatenate(nserver, ntag), idsharedtag), prf(gir, concatenate(nserver, ntag)))] RESULT: 77 A1 26 AD FF 98 55 02 3B B3 8E D2 B8 01 A7 BD B8 A1 56 EF 3C 3A F1 2C 42 AE 2D CD 4F AF 8A E6 B1 F4 DD FC E4 A2 48 A8 24 ED 50 9A 53 2D 1D 83 B8 11 9A 2A 02 07 B0 FD 6E 3F F2 9B 66 2C 29 15 A7 6D C7 71 6D 27 B7 E5 58 F3 B1 E6 8D 57 25 62
[server]=> [ski = grab(skseries, 0x10)] RESULT: 77 A1 26 AD FF 98 55 02 3B B3 8E D2 B8 01 A7 BD
[server]=> [skes = grab(skseries, 0x10)] RESULT: B8 A1 56 EF 3C 3A F1 2C 42 AE 2D CD 4F AF 8A E6
[server]=> [sket = grab(skseries, 0x10)] RESULT: B1 F4 DD FC E4 A2 48 A8 24 ED 50 9A 53 2D 1D 83
[server]=> [skps = grab(skseries, 0x10)] RESULT: B8 11 9A 2A 02 07 B0 FD 6E 3F F2 9B 66 2C 29 15
[server]=> [skpt = grab(skseries, 0x10)] RESULT: A7 6D C7 71 6D 27 B7 E5 58 F3 B1 E6 8D 57 25 62
[server]=> [authserver = prf(concatenate(concatenate(keserver, nserver), concatenate(ntag, prf(idserver,skps))), sharedkey)] RESULT: E0 37 FB 06 E1 B6 6C 25 42 04 02 E8 04 2C 49 7F
[server]=> [cipheredidserver = encrypte(idserver, skes)] RESULT: E3 C3 F6 B9 CC BE 91 79 DD CA BF EB 0A 9C DE 3F
[server]=> [cipheredauthserver = encrypte(authserver, skes)] RESULT: 3C 6C 4E 93 7D D2 DF 01 32 80 EA 1E F8 9B 90 47
[server]=> [SendData(cipheredidserver)] RESULT: E3 C3 F6 B9 CC BE 91 79 DD CA BF EB 0A 9C DE 3F
[tag]=> [cipheredidserver = ReceiveData(0x00)] RESULT: E3 C3 F6 B9 CC BE 91 79 DD CA BF EB 0A 9C DE 3F
[server]=> [SendData(cipheredauthserver)] RESULT: 3C 6C 4E 93 7D D2 DF 01 32 80 EA 1E F8 9B 90 47
[tag]=> [cipheredauthserver = ReceiveData(0x00)] RESULT: 3C 6C 4E 93 7D D2 DF 01 32 80 EA 1E F8 9B 90 47
[tag]=> [skseries = prfplus(concatenate(concatenate(nserver, ntag), idshared), prf(gir, concatenate(nserver, ntag)))] RESULT: 77 A1 26 AD FF 98 55 02 3B B3 8E D2 B8 01 A7 BD B8 A1 56 EF 3C 3A F1 2C 42 AE 2D CD 4F AF 8A E6 B1 F4 DD FC E4 A2 48 A8 24 ED 50 9A 53 2D 1D 83 B8 11 9A 2A 02 07 B0 FD 6E 3F F2 9B 66 2C 29 15 A7 6D C7 71 6D 27 B7 E5 58 F3 B1 E6 8D 57 25 62
[tag]=> [ski = grab(skseries, 0x10)] RESULT: 77 A1 26 AD FF 98 55 02 3B B3 8E D2 B8 01 A7 BD
[tag]=> [skes = grab(skseries, 0x10)] RESULT: B8 A1 56 EF 3C 3A F1 2C 42 AE 2D CD 4F AF 8A E6
[tag]=> [sket = grab(skseries, 0x10)] RESULT: B1 F4 DD FC E4 A2 48 A8 24 ED 50 9A 53 2D 1D 83
[tag]=> [skps = grab(skseries, 0x10)] RESULT: B8 11 9A 2A 02 07 B0 FD 6E 3F F2 9B 66 2C 29 15
[tag]=> [skpt = grab(skseries, 0x10)] RESULT: A7 6D C7 71 6D 27 B7 E5 58 F3 B1 E6 8D 57 25 62
[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: E0 37 FB 06 E1 B6 6C 25 42 04 02 E8 04 2C 49 7F
[tag]=> [authservercalculated = prf(concatenate(concatenate(keserver, nserver), concatenate(ntag, prf(idserver,skps))), sharedkey)] RESULT: E0 37 FB 06 E1 B6 6C 25 42 04 02 E8 04 2C 49 7F
[tag]=> [if(compare(authserver, authservercalculated))] RESULT: 01
[tag]=> [idsnext = prf(idtag, ski)] RESULT: DD D7 3C 91 CD 09 67 60 29 FD 12 AA 4B BD 86 C2
[tag]=> [idtag = idsnext] RESULT: DD D7 3C 91 CD 09 67 60 29 FD 12 AA 4B BD 86 C2
[tag]=> [endif] RESULT:
[tag]=> [authtag = prf(concatenate(concatenate(concatenate(idshared, ketag), concatenate(ntag, nserver)), prf(idtag,skpt)), sharedkey)] RESULT: 98 F1 D3 2C 26 14 40 E7 B8 54 96 B9 0D 44 1F 0F
[tag]=> [cipheredidtag = encrypte(idtag, sket)] RESULT: B2 4B 56 DF C3 61 74 F9 B3 30 33 89 A3 F6 E7 1B
[tag]=> [cipheredauthtag = encrypte(authtag, sket)] RESULT: 5D F3 22 2F 5E 2D D1 8E 92 6F 49 F9 E1 79 C1 B9
[tag]=> [SendData(cipheredidtag)] RESULT: B2 4B 56 DF C3 61 74 F9 B3 30 33 89 A3 F6 E7 1B
[server]=> [cipheredidtag = ReceiveData(0x00)] RESULT: B2 4B 56 DF C3 61 74 F9 B3 30 33 89 A3 F6 E7 1B
[tag]=> [SendData(cipheredauthtag)] RESULT: 5D F3 22 2F 5E 2D D1 8E 92 6F 49 F9 E1 79 C1 B9
[server]=> [cipheredauthtag = ReceiveData(0x00)] RESULT: 5D F3 22 2F 5E 2D D1 8E 92 6F 49 F9 E1 79 C1 B9
[server]=> [idtag = decrypte(cipheredidtag, sket)] RESULT: DD D7 3C 91 CD 09 67 60 29 FD 12 AA 4B BD 86 C2
[server]=> [authtag = decrypte(cipheredauthtag, sket)] RESULT: 98 F1 D3 2C 26 14 40 E7 B8 54 96 B9 0D 44 1F 0F
[server]=> [authtagcalculated = prf(concatenate(concatenate(concatenate(idsharedtag, ketag), concatenate(ntag, nserver)), prf(idtag,skpt)), sharedkey)] RESULT: 98 F1 D3 2C 26 14 40 E7 B8 54 96 B9 0D 44 1F 0F
[server]=> [if(compare(authtag, authtagcalculated))] RESULT: 01
[server]=> [idsnext = prf(idtag, ski)] RESULT: 12 E4 E0 AE 4B 04 ED F3 81 5C B1 DB 5D 66 56 F8
[server]=> [endif] RESULT: