diff options
author | Sumit Garg <sumit.garg@linaro.org> | 2019-11-15 10:43:00 +0530 |
---|---|---|
committer | Sumit Garg <sumit.garg@linaro.org> | 2020-03-06 16:40:37 +0530 |
commit | 7cda17bb0f92db39d123a4f2a1732c9978556453 (patch) | |
tree | 341aa1c3de6d7db4ca669c6901340905be92bb00 /include/plat/common/platform.h | |
parent | d95f7a7287b21422f6a32fde8a4d735ec78e2659 (diff) | |
download | trusted-firmware-a-7cda17bb0f92db39d123a4f2a1732c9978556453.tar.gz |
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
Diffstat (limited to 'include/plat/common/platform.h')
-rw-r--r-- | include/plat/common/platform.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/plat/common/platform.h b/include/plat/common/platform.h index f5bd298c5a..06b334d705 100644 --- a/include/plat/common/platform.h +++ b/include/plat/common/platform.h @@ -37,6 +37,15 @@ struct sp_res_desc; #define ROTPK_NOT_DEPLOYED (1 << 1) /******************************************************************************* + * plat_get_enc_key_info() flags + ******************************************************************************/ +/* + * Flag used to notify caller that information provided in key buffer is an + * identifier rather than an actual key. + */ +#define ENC_KEY_IS_IDENTIFIER (1 << 0) + +/******************************************************************************* * Function declarations ******************************************************************************/ /******************************************************************************* |