Arm Mbed OS support forum

Server and client fails with "Verification of the message MAC failed" after Successful Handshake

I am writing server client with Libuv as tcp stack and mbedtls as ssl.
I am able to do a successful handshake between sever and client but after that when i try to write/read application data it fails with “Verification of the message MAC failed”. After inspecting debug logs found the server and client have different IV but not sure why. Currently both client and server are on the same machine . I am attaching both server and client log

sorry i must have checked it wrong but premaster master and IV looks same on both side. still it is failing with MAC verification