diff options
author | Jens Wiklander <jens.wiklander@linaro.org> | 2019-03-27 11:31:48 +0100 |
---|---|---|
committer | Jérôme Forissier <jerome.forissier@linaro.org> | 2019-03-28 14:11:23 +0100 |
commit | a1cbb728630308fcf902a8953a32cc972d14757e (patch) | |
tree | 45ecc8a88a51527b68fb9c06844f40e41e5d6eb4 /core/lib/libtomcrypt/acipher_helpers.h | |
parent | 5edbd86a96a09538b07ec1f6c5db4277e1c82e96 (diff) |
core: LTC use only _CFG_CORE_LTC_ variables
LTC is only taking _CFG_CORE_LTC_ prefixed variables into account for
configuration.
_CFG_CORE_LTC_ prefixed variables are assigned based on CFG_CRYPTO_ and
other variables for unchanged LTC configuration.
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'core/lib/libtomcrypt/acipher_helpers.h')
-rw-r--r-- | core/lib/libtomcrypt/acipher_helpers.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/lib/libtomcrypt/acipher_helpers.h b/core/lib/libtomcrypt/acipher_helpers.h index e439d35c..d8677300 100644 --- a/core/lib/libtomcrypt/acipher_helpers.h +++ b/core/lib/libtomcrypt/acipher_helpers.h @@ -9,7 +9,7 @@ static inline bool bn_alloc_max(struct bignum **s) { - *s = crypto_bignum_allocate(CFG_CORE_BIGNUM_MAX_BITS); + *s = crypto_bignum_allocate(_CFG_CORE_LTC_BIGNUM_MAX_BITS); return *s; } |