| #
f6be0e13 |
| 30-May-2024 |
Jacob Kroon <jacobkr@axis.com> |
core: ltc: Fix building with mbedtls
Fix building OP-TEE with:
make PLATFORM=vexpress \ PLATFORM_FLAVOR=juno \ CFG_CRYPTOLIB_NAME=mbedtls \ CFG_CRYPTOLIB_DIR=lib/libmbedtls ... core/
core: ltc: Fix building with mbedtls
Fix building OP-TEE with:
make PLATFORM=vexpress \ PLATFORM_FLAVOR=juno \ CFG_CRYPTOLIB_NAME=mbedtls \ CFG_CRYPTOLIB_DIR=lib/libmbedtls ... core/lib/libtomcrypt/aes_accel.c: In function ‘aes_ctr_encrypt_nblocks’: core/lib/libtomcrypt/aes_accel.c:182:21: error: ‘CTR_COUNTER_LITTLE_ENDIAN’ undeclared (first use in this function) 182 | if (mode == CTR_COUNTER_LITTLE_ENDIAN) {
Signed-off-by: Jacob Kroon <jacobkr@axis.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| #
2a65ecaf |
| 06-May-2024 |
Jens Wiklander <jens.wiklander@linaro.org> |
Squashed commit upgrading to libtomcrypt-1.18.2-develop-20240412
Squash merging branch import/libtomcrypt-1.18.2-develop-20240412
165e1fe7816a ("core: ltc: update for libtomcrypt changes") ff29487
Squashed commit upgrading to libtomcrypt-1.18.2-develop-20240412
Squash merging branch import/libtomcrypt-1.18.2-develop-20240412
165e1fe7816a ("core: ltc: update for libtomcrypt changes") ff294871020d ("core: ltc: rsa_verify_hash: fix panic on hash mismatch") 43363afc3d5e ("core: ltc: add fault mitigation in crypto_acipher_rsassa_verify()") d3040d8bc691 ("libtomcrypt: Remove prng_state* NULL pointer check from ed25519_make_key()") a1e9686a20cf ("libtomcrypt: ctr_encrypt(): adjust for OP-TEE CE accelerated routines") eba1524a3989 ("libtomcrypt: define LTC_MPI at the same time as LTC_DER") e8f42d80d27f ("core: libtomcrypt: Remove prng_state* NULL pointer check from x25519_make_key()") edb8618bfe6c ("core: ltc: add SM2 curve parameters") 1713825bebd1 ("core: ltc: make key in accel_ecb_encrypt() and accel_ecb_decrypt() const") 53d2509130ce ("core: ltc: fix 'switch case misses default'") 5c7e0de468d1 ("core: ltc: add custom DH key generation function dh_make_key()") cba20f6a156e ("core: ltc: tomcrypt_custom.h: OP-TEE thread support") 7f247add8fd9 ("libtomcrypt: implement zeromem() with memzero_explicit()") 96ac368c5e68 ("LTC: add GHASH acceleration") 79bd5cb8391c ("ltc: make cipher_descriptor a pointer to descriptors") a9f0d677e922 ("ltc: make hash_descriptor a pointer to descriptors") 82feb7ac9709 ("ltc: make prng_descriptor a pointer to descriptors") ae75124e3113 ("libtomcrypt: tomcrypt_private.h: add HASH_PROCESS_NBLOCKS") a4281f43ea65 ("ECC: optimize the pool of temporary variables") b32f84118399 ("Import LibTomCrypt v1.18.2 branch "develop" (Apr 12, 2024)") 035c58eeb602 ("Remove LibTomCrypt")
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Tested-by: Jerome Forissier <jerome.forissier@linaro.org> (vexpress-qemu_armv8a)
show more ...
|
| #
f9429266 |
| 30-Mar-2020 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: ltc: use AES crypto accelerated routines
Uses the recently provided accelerated AES crypto routines in LTC.
Acked-by: Etienne Carriere <etienne.carriere@linaro.org> Signed-off-by: Jens Wiklan
core: ltc: use AES crypto accelerated routines
Uses the recently provided accelerated AES crypto routines in LTC.
Acked-by: Etienne Carriere <etienne.carriere@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|