Tool/software:
Hi experts,
My client is developing AES function on f28p65.
On AES128 GCM mode, if the data (int16) length less than 0x70, the result of AES128 is match with the result from OpenSSL. If the data length more than 0x80, the result of AES128 is different from the result from OpenSSL.
Data length less than 0x70 (Green: MAC calculated by AES128, Blue: data, red MAC calculated by OpenSSL)
Data length more than 0x70 (Green: MAC calculated by AES128, Blue: data, red MAC calculated by OpenSSL)
Any suggestions for this issue?
Thanks,
Leo
Hi,
This is not expected. Can you please check if the data that is fed to the device and the OpenSSL maintaining the endianness like in the passing case beyond the data size of 0x70? We have tested it against the NIST test vectors and it has always matched for us.
Thanks & Regards
Pramod
Hi Leo,
I'll need sometime for the same. Will get back to you with a response in a couple of days.
Thanks & Regards
Pramod