aboutsummaryrefslogtreecommitdiff
path: root/lib/ext
diff options
context:
space:
mode:
authorDavid Hu <david.hu@arm.com>2021-05-19 18:08:53 +0800
committerDavid Hu <david.hu@arm.com>2021-06-24 12:16:06 +0200
commita6612ec4bd729b581d1d770eaf9d8c4f7133fba6 (patch)
treec772445b011d5ae7e707b1c8797f3ef9b2445929 /lib/ext
parent105b4872fc9d1b3171a87a473727bdda153c255e (diff)
downloadtrusted-firmware-m-a6612ec4bd729b581d1d770eaf9d8c4f7133fba6.tar.gz
Profiles: Disable Mbed TLS cipher padding in Profile Small
Padding is not required in AES-CCM selected in Profile Small. Change-Id: Ibd10214e659da33ca996ef499de011d74b039840 Signed-off-by: David Hu <david.hu@arm.com>
Diffstat (limited to 'lib/ext')
-rw-r--r--lib/ext/mbedcrypto/mbedcrypto_config/tfm_mbedcrypto_config_profile_small.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ext/mbedcrypto/mbedcrypto_config/tfm_mbedcrypto_config_profile_small.h b/lib/ext/mbedcrypto/mbedcrypto_config/tfm_mbedcrypto_config_profile_small.h
index 736eb6c8ef..bbdc060ce2 100644
--- a/lib/ext/mbedcrypto/mbedcrypto_config/tfm_mbedcrypto_config_profile_small.h
+++ b/lib/ext/mbedcrypto/mbedcrypto_config/tfm_mbedcrypto_config_profile_small.h
@@ -632,7 +632,7 @@
*
* Enable padding modes in the cipher layer.
*/
-#define MBEDTLS_CIPHER_PADDING_PKCS7
+//#define MBEDTLS_CIPHER_PADDING_PKCS7
//#define MBEDTLS_CIPHER_PADDING_ONE_AND_ZEROS
//#define MBEDTLS_CIPHER_PADDING_ZEROS_AND_LEN
//#define MBEDTLS_CIPHER_PADDING_ZEROS