Hi Sumit,
This is Pramod, Presently working in Amazon Lab126. I'm working in ATF and was going through your patch which provides f/w image encryption/decryption support.
commit 7cda17bb0f92db39d123a4f2a1732c9978556453
Author: Sumit Garg <
sumit.garg@linaro.org>
Date: Fri Nov 15 10:43:00 2019 +0530
drivers: crypto: Add authenticated decryption framework
Add framework for autheticated decryption of data. Currently this
patch optionally imports mbedtls library as a backend if build option
"DECRYPTION_SUPPORT = aes_gcm" is set to perform authenticated decryption
using AES-GCM algorithm.
Signed-off-by: Sumit Garg <
sumit.garg@linaro.org>
Change-Id: I2966f0e79033151012bf4ffc66f484cd949e7271
I see that this support comes under DECRYPTION_SUPPORT macro hence can't be used dynamically. I see the TBBR spec provides a flag for this which could be used to exercise this feature dynamically-
Just wanted to understand that did you see any limitation to use this flag for making this feature support dynamically? Or do you have any plan to push follow up patches for this?