Hii,
Trying to communicate with meter in suite1 with following configurations but getting wrong decrypted data.
Security suite : 1
key agreement scheme: static unified model.
authentication : high
Following inputs are used to decrypt the received cypher data:
1. Encryption key : key derived from kdf function.
2. Authentication key : key derived from kdf function.
4. AAD (general cyphering: SC || AK || transaction id || orig. sys. title || Recp. sys. Title || date-time || other info
Inputs for key kdf function:
Counter : 00 00 00 01
Shared secrete : 32 bytes
Algorithmm id : 7 bytes
Originator system title : 8 bytes
NonceC : 9 bytes (lenght byte of transaction id (1) + transaction id value(8))
Receipient system title : 8 bytes
Certificated are already generated and imported on both client and meter side.
How may i resolved this issue?
wherei am doing wrong?
Hi Aoudumbar,
Hi Aoudumbar,
An encryption key is count from KDF, but the authentication key is not counted from KDF. It's the normal authentication key in static unified model.
BR,
Mikko