This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F280039C: Clarify AES module and its example code

Part Number: TMS320F280039C
Other Parts Discussed in Thread: C2000WARE

Tool/software:

Hi champs,

I am asking this for our customer.

1. In F28003x TRM, is the AES core (encrypt) below in GCM mode same as that in ECB mode?

2. In our example code,

C:\ti\c2000\C2000Ware_5_02_00_00\driverlib\f28003x\examples\aes

There are three modes for GCM below,

AES_OPMODE_GCM_HLY0ZERO

AES_OPMODE_GCM_HLY0CALC

AES_OPMODE_GCM_HY0CALC

In performGHASHOperation(), it uses AES_OPMODE_GCM_HLY0ZERO; in performGCMEncryption(), it uses AES_OPMODE_GCM_HY0CALC.

Would you please elaborate what these three modes mean and what the difference is among them?

3. 

Does the performGCMEncryption() above just mean the below from NIST Special Publication 800-38D?