Sir,
We are generating cipher text and authentication tag using openssl ,our sample encryption code and gurux dlms director (AES GCM 128).
We are getting the same cipher text and authentication tag from both our sample code and openSSl codes, but when compared with gurux dlms director
it is not the same, because of this we are unable to move forward in meter reading.
Please find the below attached text file for your reference.
****************************************************************GURUX*************************************************************************
14:52:04 Send AARQ request.
TX: 7E A0 7C 03 61 10 AA 6B E6 E6 00 60 6E A1 09 06 07 60 85 74 05 08 01 03 A6 0A 04 08 43 72 79 73 74 61 6C 50 8A 02 07 80 8B 07 60 85 74 05 08 02 02 AC 12 80 10 37 56 5A 28 3C 25 3A 00 4C 5F 02 3C 1A 4C 49 20 BE 34 04 32 21 30 30 00 00 00 44 BD 3C 65 B7 7E 9A 23 4B 59 6C D7 D7 88 3F 7B 58 07 4F 20 51 A9 14 A1 5C 02 98 F5 20 B8 1F CB 25 78 94 1F 09 E8 AF 78 AC AC 2D 25 9A 17 7E
RX: 7E A0 77 61 03 30 AD 6C E6 E7 00 61 69 A1 09 06 07 60 85 74 05 08 01 03 A2 03 02 01 00 A3 05 A1 03 02 01 0E A4 0A 04 08 43 52 59 00 00 F4 2D B2 88 02 07 80 89 07 60 85 74 05 08 02 02 AA 12 80 10 41 49 5C 53 46 7C 48 1B 68 59 51 45 3A 20 24 59 BE 23 04 21 28 1F 30 00 00 00 44 7A 3D 0A 6F 39 13 60 87 1D E1 35 84 47 B7 3F 25 AA EF 17 58 82 FA 80 29 A4 36 C8 E0 7E
*************************************************************our DEVICE O/P***********************************************************************
TX: 7E A0 7C 03 61 10 AA 6B E6 E6 00 60 6E A1 09 06 07 60 85 74 05 08 01 03 A6 0A 04 08 43 72 79 73 74 61 6C 50 8A 02 07 80 8B 07 60 85 74 05 08 02 02 AC 12 80 10 35 19 E2 66 54 B4 D8 3E 92 E2 96 CF B0 BC 71 CE BE 34 04 32 21 30 30 00 00 00 6E 55 79 93 37 04 E7 8A 6B C6 B5 C0 96 E8 9C 52 EC 30 16 CA 58 3F 3D D2 37 8B 0D B5 7C E8 94 73 F6 B8 D7 0F C3 21 E6 E3 A0 04 B8 F4 DE 4F 7E
RX: 7E A0 4C 61 03 30 4A E0 E6 E7 00 61 3E A1 09 06 07 60 85 74 05 08 01 03 A2 03 02 01 01 A3 05 A2 03 02 01 02 A4 0A 04 08 43 52 59 00 00 F4 2D B2 BE 19 04 17 28 15 30 00 00 00 6E 52 01 8D 9F A2 57 7E 50 17 B2 DE B2 10 8D CA 41 B6 4E 7E
Hi, Check that you are…
Hi,
Check that you are ciphering the correct data. Also, check that your keys are correct.
The problem with ciphered data is that you can't tell anything from the encrypted data and what might be wrong.
BR,
Mikko