Skip to content

Commit

Permalink
core: LTC use only _CFG_CORE_LTC_ variables
Browse files Browse the repository at this point in the history
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>
[jf: pick commit a1cbb72 ("core: LTC use only _CFG_CORE_LTC_ variables")]
[jf: keep LTC changes only]
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
  • Loading branch information
jenswi-linaro authored and jforissier committed Sep 23, 2022
1 parent e87c76e commit ae54175
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/lib/libtomcrypt/src/encauth/gcm/gcm_mult_h_arm_ce.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ void gcm_mult_h(gcm_state *gcm, unsigned char *I)
dg[0] = get_be64(I + 8);

tomcrypt_arm_neon_enable(&state);
#ifdef CFG_HWSUPP_PMULL
#ifdef _CFG_CORE_LTC_HWSUPP_PMULL
pmull_ghash_update_p64(1, dg, zeroes, k, NULL);
#else
pmull_ghash_update_p8(1, dg, zeroes, k, NULL);
Expand Down

0 comments on commit ae54175

Please sign in to comment.