diff options
author | Soby Mathew <soby.mathew@arm.com> | 2019-12-16 12:17:34 +0000 |
---|---|---|
committer | TrustedFirmware Code Review <review@review.trustedfirmware.org> | 2019-12-16 12:17:34 +0000 |
commit | 186acdd979b5e734641eaa75e17c926c12a79e00 (patch) | |
tree | e5366da85e4661518c67b2c6a1f52ea257a2e98f /drivers | |
parent | 255b380afa17f1c38255d19a064fe4d26ea5025f (diff) | |
parent | b8622922c8ab7a450a3184b7a5f4929bd95ffaad (diff) | |
download | platform_external_arm-trusted-firmware-186acdd979b5e734641eaa75e17c926c12a79e00.tar.gz platform_external_arm-trusted-firmware-186acdd979b5e734641eaa75e17c926c12a79e00.tar.bz2 platform_external_arm-trusted-firmware-186acdd979b5e734641eaa75e17c926c12a79e00.zip |
Merge "cryptocell: add cryptocell 712 RSA 3K support" into integration
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/auth/cryptocell/712/cryptocell_crypto.c | 2 | ||||
-rw-r--r-- | drivers/auth/cryptocell/cryptocell_crypto.mk | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/drivers/auth/cryptocell/712/cryptocell_crypto.c b/drivers/auth/cryptocell/712/cryptocell_crypto.c index 395c55085..25eb6bcb6 100644 --- a/drivers/auth/cryptocell/712/cryptocell_crypto.c +++ b/drivers/auth/cryptocell/712/cryptocell_crypto.c @@ -225,7 +225,7 @@ static int verify_signature(void *data_ptr, unsigned int data_len, /* Verify the signature */ error = CCSbVerifySignature((uintptr_t)PLAT_CRYPTOCELL_BASE, (uint32_t *)data_ptr, &pk, &signature, - data_len, RSA_PSS_2048); + data_len, RSA_PSS); if (error != CC_OK) return CRYPTO_ERR_SIGNATURE; diff --git a/drivers/auth/cryptocell/cryptocell_crypto.mk b/drivers/auth/cryptocell/cryptocell_crypto.mk index d42a2e7e1..2fc4ddb11 100644 --- a/drivers/auth/cryptocell/cryptocell_crypto.mk +++ b/drivers/auth/cryptocell/cryptocell_crypto.mk @@ -1,5 +1,5 @@ # -# Copyright (c) 2017, ARM Limited and Contributors. All rights reserved. +# Copyright (c) 2017-2019, ARM Limited and Contributors. All rights reserved. # # SPDX-License-Identifier: BSD-3-Clause # @@ -12,6 +12,8 @@ TF_MBEDTLS_KEY_ALG_ID := TF_MBEDTLS_RSA # Needs to be set to drive mbed TLS configuration correctly $(eval $(call add_define,TF_MBEDTLS_KEY_ALG_ID)) +$(eval $(call add_define,KEY_SIZE)) + # CCSBROM_LIB_PATH must be set to the Cryptocell SBROM library path ifeq (${CCSBROM_LIB_PATH},) $(error Error: CCSBROM_LIB_PATH not set) |