TMS320F28P650DK: Issue of AES function

Part Number: TMS320F28P650DK

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