From 4d101a0e5ae59235a70a42d90f10931ea50badae Mon Sep 17 00:00:00 2001 From: yinxuyang Date: Thu, 27 Mar 2025 10:36:06 +0800 Subject: [PATCH] support 3kb encrypt for sfs Signed-off-by: yinxuyang --- include/TA/tee_trusted_storage_api.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/TA/tee_trusted_storage_api.h b/include/TA/tee_trusted_storage_api.h index dff0ac9..92a11be 100644 --- a/include/TA/tee_trusted_storage_api.h +++ b/include/TA/tee_trusted_storage_api.h @@ -100,6 +100,8 @@ enum Data_Flag_Constants { TEE_DATA_FLAG_OPEN_AESC = 0x20000000, /* If bit30 is set to 1, it means use GM algorithm to protect data */ TEE_DATA_FLAG_GM = 0x40000000, + /* If bit31 is set to 1, encryption and decryption are performed in the unit of 3KB */ + TEE_DATA_FLAG_LARGE_CRYPTO_UNIT = 0x80000000, }; /* -- Gitee