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: D4 08 57 F7 83 43 A1 D5 F0 15 0B 22 AE B9 B4 07
[server]=> [nserver = generaterandom(0x08)] RESULT: A2 29 C5 0F 9C F5 46 25
[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: 98 04 F6 55 C7 7D B8 81 6A 04 41 AB 94 22 12 D1
[tag]=> [ntag = generaterandom(0x08)] RESULT: FA C4 2C 78 20 12 76 38
[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: D4 08 57 F7 83 43 A1 D5 F0 15 0B 22 AE B9 B4 07
[tag]=> [keserver = ReceiveData(0x00)] RESULT: D4 08 57 F7 83 43 A1 D5 F0 15 0B 22 AE B9 B4 07
[server]=> [SendData(nserver)] RESULT: A2 29 C5 0F 9C F5 46 25
[tag]=> [nserver = ReceiveData(0x00)] RESULT: A2 29 C5 0F 9C F5 46 25
[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: 98 04 F6 55 C7 7D B8 81 6A 04 41 AB 94 22 12 D1
[server]=> [ketag = ReceiveData(0x00)] RESULT: 98 04 F6 55 C7 7D B8 81 6A 04 41 AB 94 22 12 D1
[tag]=> [SendData(ntag)] RESULT: FA C4 2C 78 20 12 76 38
[server]=> [ntag = ReceiveData(0x00)] RESULT: FA C4 2C 78 20 12 76 38
[server]=> [skseries = prfplus(concatenate(concatenate(nserver, ntag), idsharedtag), prf(gir, concatenate(nserver, ntag)))] RESULT: 22 1B 6A 51 83 5B EB 1D EA 7A 77 D2 7F 1D E9 7B B7 7F AD FD 03 35 D4 65 24 3E 57 34 43 8E DD F3 49 16 0A E1 1F 9D BA 1E BE 7E 80 17 7C 02 50 A4 8F 83 88 67 88 BF 34 B2 28 73 90 02 0A D5 46 08 1E A4 14 21 0D A2 11 CC 3C FC 98 F2 AE 60 54 27
[server]=> [ski = grab(skseries, 0x10)] RESULT: 22 1B 6A 51 83 5B EB 1D EA 7A 77 D2 7F 1D E9 7B
[server]=> [skes = grab(skseries, 0x10)] RESULT: B7 7F AD FD 03 35 D4 65 24 3E 57 34 43 8E DD F3
[server]=> [sket = grab(skseries, 0x10)] RESULT: 49 16 0A E1 1F 9D BA 1E BE 7E 80 17 7C 02 50 A4
[server]=> [skps = grab(skseries, 0x10)] RESULT: 8F 83 88 67 88 BF 34 B2 28 73 90 02 0A D5 46 08
[server]=> [skpt = grab(skseries, 0x10)] RESULT: 1E A4 14 21 0D A2 11 CC 3C FC 98 F2 AE 60 54 27
[server]=> [authserver = prf(concatenate(concatenate(keserver, nserver), concatenate(ntag, prf(idserver,skps))), sharedkey)] RESULT: 81 19 12 F9 8E 21 FC 19 6E 1F E0 92 69 5B E9 F9
[server]=> [cipheredidserver = encrypte(idserver, skes)] RESULT: A7 E3 63 CA DB 22 8B 60 9E 5F AB B9 CB 3D E2 F7
[server]=> [cipheredauthserver = encrypte(authserver, skes)] RESULT: 2C 34 FF B6 32 00 A3 7D 87 99 47 C4 D4 D5 3B 0D
[server]=> [SendData(cipheredidserver)] RESULT: A7 E3 63 CA DB 22 8B 60 9E 5F AB B9 CB 3D E2 F7
[tag]=> [cipheredidserver = ReceiveData(0x00)] RESULT: A7 E3 63 CA DB 22 8B 60 9E 5F AB B9 CB 3D E2 F7
[server]=> [SendData(cipheredauthserver)] RESULT: 2C 34 FF B6 32 00 A3 7D 87 99 47 C4 D4 D5 3B 0D
[tag]=> [cipheredauthserver = ReceiveData(0x00)] RESULT: 2C 34 FF B6 32 00 A3 7D 87 99 47 C4 D4 D5 3B 0D
[tag]=> [skseries = prfplus(concatenate(concatenate(nserver, ntag), idshared), prf(gir, concatenate(nserver, ntag)))] RESULT: 22 1B 6A 51 83 5B EB 1D EA 7A 77 D2 7F 1D E9 7B B7 7F AD FD 03 35 D4 65 24 3E 57 34 43 8E DD F3 49 16 0A E1 1F 9D BA 1E BE 7E 80 17 7C 02 50 A4 8F 83 88 67 88 BF 34 B2 28 73 90 02 0A D5 46 08 1E A4 14 21 0D A2 11 CC 3C FC 98 F2 AE 60 54 27
[tag]=> [ski = grab(skseries, 0x10)] RESULT: 22 1B 6A 51 83 5B EB 1D EA 7A 77 D2 7F 1D E9 7B
[tag]=> [skes = grab(skseries, 0x10)] RESULT: B7 7F AD FD 03 35 D4 65 24 3E 57 34 43 8E DD F3
[tag]=> [sket = grab(skseries, 0x10)] RESULT: 49 16 0A E1 1F 9D BA 1E BE 7E 80 17 7C 02 50 A4
[tag]=> [skps = grab(skseries, 0x10)] RESULT: 8F 83 88 67 88 BF 34 B2 28 73 90 02 0A D5 46 08
[tag]=> [skpt = grab(skseries, 0x10)] RESULT: 1E A4 14 21 0D A2 11 CC 3C FC 98 F2 AE 60 54 27
[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: 81 19 12 F9 8E 21 FC 19 6E 1F E0 92 69 5B E9 F9
[tag]=> [authservercalculated = prf(concatenate(concatenate(keserver, nserver), concatenate(ntag, prf(idserver,skps))), sharedkey)] RESULT: 81 19 12 F9 8E 21 FC 19 6E 1F E0 92 69 5B E9 F9
[tag]=> [if(compare(authserver, authservercalculated))] RESULT: 01
[tag]=> [idsnext = prf(idtag, ski)] RESULT: 0C 53 0C 05 E9 DD 32 58 69 7E 14 F2 73 91 BC 79
[tag]=> [idtag = idsnext] RESULT: 0C 53 0C 05 E9 DD 32 58 69 7E 14 F2 73 91 BC 79
[tag]=> [endif] RESULT:
[tag]=> [authtag = prf(concatenate(concatenate(concatenate(idshared, ketag), concatenate(ntag, nserver)), prf(idtag,skpt)), sharedkey)] RESULT: 4E AA 1E 4C 8C 10 41 93 26 3D B6 15 B1 93 32 70
[tag]=> [cipheredidtag = encrypte(idtag, sket)] RESULT: CB 09 64 C2 35 6D 51 52 90 92 38 4D 94 10 07 E9
[tag]=> [cipheredauthtag = encrypte(authtag, sket)] RESULT: C0 5A 5F DF 5E ED FA 87 12 5D 17 86 1C 0E B8 F6
[tag]=> [SendData(cipheredidtag)] RESULT: CB 09 64 C2 35 6D 51 52 90 92 38 4D 94 10 07 E9
[server]=> [cipheredidtag = ReceiveData(0x00)] RESULT: CB 09 64 C2 35 6D 51 52 90 92 38 4D 94 10 07 E9
[tag]=> [SendData(cipheredauthtag)] RESULT: C0 5A 5F DF 5E ED FA 87 12 5D 17 86 1C 0E B8 F6
[server]=> [cipheredauthtag = ReceiveData(0x00)] RESULT: C0 5A 5F DF 5E ED FA 87 12 5D 17 86 1C 0E B8 F6
[server]=> [idtag = decrypte(cipheredidtag, sket)] RESULT: 0C 53 0C 05 E9 DD 32 58 69 7E 14 F2 73 91 BC 79
[server]=> [authtag = decrypte(cipheredauthtag, sket)] RESULT: 4E AA 1E 4C 8C 10 41 93 26 3D B6 15 B1 93 32 70
[server]=> [authtagcalculated = prf(concatenate(concatenate(concatenate(idsharedtag, ketag), concatenate(ntag, nserver)), prf(idtag,skpt)), sharedkey)] RESULT: 4E AA 1E 4C 8C 10 41 93 26 3D B6 15 B1 93 32 70
[server]=> [if(compare(authtag, authtagcalculated))] RESULT: 01
[server]=> [idsnext = prf(idtag, ski)] RESULT: 5A 33 A3 D9 09 0A 95 02 FF E2 51 BF CE C9 3F AD
[server]=> [endif] RESULT: