- On the master SLR,
- When security critical message is ready to be sent for SSLRn,
XPlm_SsitCommSendMessage
increments IV
of SSLRn by 2 and encrypts message with USER_KEY and IV of SSLRn as
mentioned in Protocol 3.
-
XPlm_SsitCommReceiveMessage
decrypts response with USER_KEY and IV+1 of SSLRn.
- On the Slave SLR,
- The received message event gets processed in
XPlmi_SsitMsgEventHandler
.
-
XPlm_SsitCommReceiveMessage
API receives and decrypts the message with USER_KEY and IV+1 and processes
it.
- Increments IV by 2.
- Prepares response and encrypts with USER_KEY and IV and
sends using
XPlm_SsitCommSendMessage
API.