diff options
author | Jerome Forissier <jerome.forissier@linaro.org> | 2018-03-26 18:31:23 +0200 |
---|---|---|
committer | Jérôme Forissier <jerome.forissier@linaro.org> | 2018-04-03 18:25:00 +0200 |
commit | e3458e03c8bb1a97a55912b3efc31cf3371ef830 (patch) | |
tree | 0c6fb2b9e0d5146d818d68e26e38851ff3cdc1a7 /mk/config.mk | |
parent | 5beb990909cb162fd2cbad1015a7d3dad59523d7 (diff) |
libutee: introduce CFG_TA_BIGNUM_MAX_BITS
Make the size of big numbers in libutee configurable. This controls
the size of the big numbers that can be manipulated through the TEE
Internal Core API (Arithmetical functions).
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'mk/config.mk')
-rw-r--r-- | mk/config.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mk/config.mk b/mk/config.mk index 738b6d10..29b29e78 100644 --- a/mk/config.mk +++ b/mk/config.mk @@ -304,3 +304,9 @@ CFG_DYN_SHM_CAP ?= y # Enables support for larger physical addresses, that is, it will define # paddr_t as a 64-bit type. CFG_CORE_LARGE_PHYS_ADDR ?= n + +# Define the maximum size, in bits, for big numbers in the Internal Core API +# Arithmetical functions. This does *not* influence the key size that may be +# manipulated through the Cryptographic API. +# Set this to a lower value to reduce the TA memory footprint. +CFG_TA_BIGNUM_MAX_BITS ?= 2048 |