Hello Team ,
How to use AAD using GCM for AES256 , could you suggest any API for that .any sample code for this ?
How to use AAD in AES256 Encryption ?
Hello,
Please find the application note and sample code on Synergey SCE modules:
https://www.renesas.com/us/en/document/apn/sce-hal-module-guide-application-project
www.renesas.cn/.../sce-hal-module-guide-application-project
Hello ,
Thank you , I'd like to know how to accomplish the AES256 encryption section using IV and AAD -gcm/Nopadding. Could you perhaps give some code for that?
Hello , AZ_Renesas
could you please share any sample code for AES 256 -GCM- AAD with zeropadding encrypt / decrypt
s5d9_hal_aes_gcm.zip
Please try this.
Thank you CS Yep , i will try and update the result .
We tested this sample code with our own values and found that it goes into an infinite loop. We confirmed the bytes of all values. Key 32-bytes,.IV 12-bytes + padding = 16-bytes,.AAD 16-bytes.
doubts:1) As you stated in the sample code, all values are sets of keys (.Key,.IV,.AAD)??2) Is there any relationship between them?3) If we replace any one key, for example, counter0.key with counter1.key, we get an infinite loop.
Those are test vectors from NIST.
Could you please make some suggestions?
Yes, I do have a suggestion
Please submit your test codes, worksapce/project. if you needed help.
Here is our Test Source code , Please make some suggestions REIN_VGV_S5D9_AES_GCM_AAD.zip