History log of /optee_os/core/ (Results 2326 – 2350 of 6495)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
0aaad41812-Aug-2022 Valerii Chubar <valerii_chubar@epam.com>

core: crypto: add Ed25519 support

Put in place Ed25519 core functionality and support it for
OP-TEE crypto syscalls.

Signed-off-by: Valerii Chubar <valerii_chubar@epam.com>
Signed-off-by: Sergiy Ki

core: crypto: add Ed25519 support

Put in place Ed25519 core functionality and support it for
OP-TEE crypto syscalls.

Signed-off-by: Valerii Chubar <valerii_chubar@epam.com>
Signed-off-by: Sergiy Kibrik <Sergiy_Kibrik@epam.com>
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

a116848b12-Aug-2022 Valerii Chubar <valerii_chubar@epam.com>

core: libtomcrypt: add Ed25519 support

Enable Ed25519 implementation of libtomcrypt and add the OP-TEE wrappers.

Signed-off-by: Valerii Chubar <valerii_chubar@epam.com>
Signed-off-by: Sergiy Kibrik

core: libtomcrypt: add Ed25519 support

Enable Ed25519 implementation of libtomcrypt and add the OP-TEE wrappers.

Signed-off-by: Valerii Chubar <valerii_chubar@epam.com>
Signed-off-by: Sergiy Kibrik <Sergiy_Kibrik@epam.com>
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

b7563bab29-Sep-2022 Jerome Forissier <jerome.forissier@linaro.org>

libtomcrypt: ctr_encrypt(): adjust for OP-TEE CE accelerated routines

Commit 8411e6ad673d ("Squashed commit upgrading to
libtomcrypt-1.18.2-develop-20220913") is missing a local change in
ctr_encryp

libtomcrypt: ctr_encrypt(): adjust for OP-TEE CE accelerated routines

Commit 8411e6ad673d ("Squashed commit upgrading to
libtomcrypt-1.18.2-develop-20220913") is missing a local change in
ctr_encrypt.c which should have been carried over from the previous
import branch, see commit 5a913ee74d3c ("Squashed commit upgrading to
libtomcrypt-1.18.2-develop-20180819"). The missing code is from commit
c54b6344cc4e ("core: crypto: cleanup and fix CE accelerated AES CTR").
Most of that commit was made irrelevant after the move of accelerated
code out of core/lib/libtomcrypt/src, except for the bits that touch
ctr_encrypt() in core/lib/libtomcrypt/src/modes/ctr/ctr_encrypt.c.

Re-introduce the needed change. Fixes failures in xtest 4003 when
CFG_CRYPTO_WITH_CE=y.

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
Acked-by: Etienne Carriere <etienne.carriere@linaro.org>

show more ...

8411e6ad23-Sep-2022 Jerome Forissier <jerome.forissier@linaro.org>

Squashed commit upgrading to libtomcrypt-1.18.2-develop-20220913

Squash merging branch import/libtomcrypt-1.18.2-develop-20220913

cedf001cc024 ("ci: rust: apply upstream patch to fix failure in au

Squashed commit upgrading to libtomcrypt-1.18.2-develop-20220913

Squash merging branch import/libtomcrypt-1.18.2-develop-20220913

cedf001cc024 ("ci: rust: apply upstream patch to fix failure in authentication-rs")
1c8f27245e4f ("core: ltc: fix .qord value in DSA sign and verify")
87431ada69ed ("libtomcrypt: define LTC_MPI at the same time as LTC_DER")
7d8cdbb85a57 ("core: ltc: add missing <string_ext.h>")
fa3ac5998cc7 ("core: ltc: import sub.mk files from master and update")
35f56bc9f8c4 ("core: libtomcrypt: Remove prng_state* NULL pointer check from x25519_make_key()")
85140c1f9be4 ("core: ltc: fix missing mutex unlock")
02f519845bbe ("core: ltc: add SM2 curve parameters")
757ab2c4462d ("core: ltc: make key in accel_ecb_encrypt() and accel_ecb_decrypt() const")
15c897fbe000 ("core: ltc: fix 'switch case misses default'")
6276df75362f ("core: ltc: add custom DH key generation function dh_make_key()")
1da50b460270 ("core: ltc: tomcrypt_custom.h: OP-TEE thread support")
6f78a99a6e8c ("libtomcrypt: implement zeromem() with memzero_explicit()")
90eaafe0f10f ("core: LTC use only _CFG_CORE_LTC_ variables")
fbd6fb746576 ("LTC: add GHASH acceleration")
e3ff5f701223 ("ltc: make cipher_descriptor a pointer to descriptors")
fbe13c05804d ("ltc: make hash_descriptor a pointer to descriptors")
6c193f5e561a ("ltc: make prng_descriptor a pointer to descriptors")
9f40d2838fa3 ("libtomcrypt: tomcrypt_private.h: add HASH_PROCESS_NBLOCKS")
4f6b32962d15 ("ECC: optimize the pool of temporary variables")
955eced29a6f ("Import LibTomCrypt v1.18.2 branch "develop" (Sep 13, 2022)")
3717d76418c8 ("Remove LibTomCrypt")

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...


/optee_os/.github/workflows/ci.yml
lib/libtomcrypt/ccm.c
lib/libtomcrypt/dsa.c
lib/libtomcrypt/hash.c
lib/libtomcrypt/sm2-pke.c
lib/libtomcrypt/src/ciphers/aes/aes.c
lib/libtomcrypt/src/ciphers/aes/aes_tab.c
lib/libtomcrypt/src/ciphers/anubis.c
lib/libtomcrypt/src/ciphers/blowfish.c
lib/libtomcrypt/src/ciphers/camellia.c
lib/libtomcrypt/src/ciphers/cast5.c
lib/libtomcrypt/src/ciphers/des.c
lib/libtomcrypt/src/ciphers/idea.c
lib/libtomcrypt/src/ciphers/kasumi.c
lib/libtomcrypt/src/ciphers/khazad.c
lib/libtomcrypt/src/ciphers/kseed.c
lib/libtomcrypt/src/ciphers/multi2.c
lib/libtomcrypt/src/ciphers/noekeon.c
lib/libtomcrypt/src/ciphers/rc2.c
lib/libtomcrypt/src/ciphers/rc5.c
lib/libtomcrypt/src/ciphers/rc6.c
lib/libtomcrypt/src/ciphers/safer/safer.c
lib/libtomcrypt/src/ciphers/safer/safer_tab.c
lib/libtomcrypt/src/ciphers/safer/saferp.c
lib/libtomcrypt/src/ciphers/serpent.c
lib/libtomcrypt/src/ciphers/skipjack.c
lib/libtomcrypt/src/ciphers/tea.c
lib/libtomcrypt/src/ciphers/twofish/twofish.c
lib/libtomcrypt/src/ciphers/twofish/twofish_tab.c
lib/libtomcrypt/src/ciphers/xtea.c
lib/libtomcrypt/src/encauth/ccm/ccm_add_aad.c
lib/libtomcrypt/src/encauth/ccm/ccm_add_nonce.c
lib/libtomcrypt/src/encauth/ccm/ccm_done.c
lib/libtomcrypt/src/encauth/ccm/ccm_init.c
lib/libtomcrypt/src/encauth/ccm/ccm_memory.c
lib/libtomcrypt/src/encauth/ccm/ccm_process.c
lib/libtomcrypt/src/encauth/ccm/ccm_reset.c
lib/libtomcrypt/src/encauth/ccm/ccm_test.c
lib/libtomcrypt/src/encauth/chachapoly/chacha20poly1305_add_aad.c
lib/libtomcrypt/src/encauth/chachapoly/chacha20poly1305_decrypt.c
lib/libtomcrypt/src/encauth/chachapoly/chacha20poly1305_done.c
lib/libtomcrypt/src/encauth/chachapoly/chacha20poly1305_encrypt.c
lib/libtomcrypt/src/encauth/chachapoly/chacha20poly1305_init.c
lib/libtomcrypt/src/encauth/chachapoly/chacha20poly1305_memory.c
lib/libtomcrypt/src/encauth/chachapoly/chacha20poly1305_setiv.c
lib/libtomcrypt/src/encauth/chachapoly/chacha20poly1305_setiv_rfc7905.c
lib/libtomcrypt/src/encauth/chachapoly/chacha20poly1305_test.c
lib/libtomcrypt/src/encauth/eax/eax_addheader.c
lib/libtomcrypt/src/encauth/eax/eax_decrypt.c
lib/libtomcrypt/src/encauth/eax/eax_decrypt_verify_memory.c
lib/libtomcrypt/src/encauth/eax/eax_done.c
lib/libtomcrypt/src/encauth/eax/eax_encrypt.c
lib/libtomcrypt/src/encauth/eax/eax_encrypt_authenticate_memory.c
lib/libtomcrypt/src/encauth/eax/eax_init.c
lib/libtomcrypt/src/encauth/eax/eax_test.c
lib/libtomcrypt/src/encauth/gcm/gcm_add_aad.c
lib/libtomcrypt/src/encauth/gcm/gcm_add_iv.c
lib/libtomcrypt/src/encauth/gcm/gcm_done.c
lib/libtomcrypt/src/encauth/gcm/gcm_gf_mult.c
lib/libtomcrypt/src/encauth/gcm/gcm_init.c
lib/libtomcrypt/src/encauth/gcm/gcm_memory.c
lib/libtomcrypt/src/encauth/gcm/gcm_mult_h.c
lib/libtomcrypt/src/encauth/gcm/gcm_process.c
lib/libtomcrypt/src/encauth/gcm/gcm_reset.c
lib/libtomcrypt/src/encauth/gcm/gcm_test.c
lib/libtomcrypt/src/encauth/ocb/ocb_decrypt.c
lib/libtomcrypt/src/encauth/ocb/ocb_decrypt_verify_memory.c
lib/libtomcrypt/src/encauth/ocb/ocb_done_decrypt.c
lib/libtomcrypt/src/encauth/ocb/ocb_done_encrypt.c
lib/libtomcrypt/src/encauth/ocb/ocb_encrypt.c
lib/libtomcrypt/src/encauth/ocb/ocb_encrypt_authenticate_memory.c
lib/libtomcrypt/src/encauth/ocb/ocb_init.c
lib/libtomcrypt/src/encauth/ocb/ocb_ntz.c
lib/libtomcrypt/src/encauth/ocb/ocb_shift_xor.c
lib/libtomcrypt/src/encauth/ocb/ocb_test.c
lib/libtomcrypt/src/encauth/ocb/s_ocb_done.c
lib/libtomcrypt/src/encauth/ocb3/ocb3_add_aad.c
lib/libtomcrypt/src/encauth/ocb3/ocb3_decrypt.c
lib/libtomcrypt/src/encauth/ocb3/ocb3_decrypt_last.c
lib/libtomcrypt/src/encauth/ocb3/ocb3_decrypt_verify_memory.c
lib/libtomcrypt/src/encauth/ocb3/ocb3_done.c
lib/libtomcrypt/src/encauth/ocb3/ocb3_encrypt.c
lib/libtomcrypt/src/encauth/ocb3/ocb3_encrypt_authenticate_memory.c
lib/libtomcrypt/src/encauth/ocb3/ocb3_encrypt_last.c
lib/libtomcrypt/src/encauth/ocb3/ocb3_init.c
lib/libtomcrypt/src/encauth/ocb3/ocb3_int_ntz.c
lib/libtomcrypt/src/encauth/ocb3/ocb3_int_xor_blocks.c
lib/libtomcrypt/src/encauth/ocb3/ocb3_test.c
lib/libtomcrypt/src/hashes/blake2b.c
lib/libtomcrypt/src/hashes/blake2s.c
lib/libtomcrypt/src/hashes/chc/chc.c
lib/libtomcrypt/src/hashes/helper/hash_file.c
lib/libtomcrypt/src/hashes/helper/hash_filehandle.c
lib/libtomcrypt/src/hashes/helper/hash_memory.c
lib/libtomcrypt/src/hashes/helper/hash_memory_multi.c
lib/libtomcrypt/src/hashes/md2.c
lib/libtomcrypt/src/hashes/md4.c
lib/libtomcrypt/src/hashes/md5.c
lib/libtomcrypt/src/hashes/rmd128.c
lib/libtomcrypt/src/hashes/rmd160.c
lib/libtomcrypt/src/hashes/rmd256.c
lib/libtomcrypt/src/hashes/rmd320.c
lib/libtomcrypt/src/hashes/sha1.c
lib/libtomcrypt/src/hashes/sha2/sha224.c
lib/libtomcrypt/src/hashes/sha2/sha256.c
lib/libtomcrypt/src/hashes/sha2/sha384.c
lib/libtomcrypt/src/hashes/sha2/sha512.c
lib/libtomcrypt/src/hashes/sha2/sha512_224.c
lib/libtomcrypt/src/hashes/sha2/sha512_256.c
lib/libtomcrypt/src/hashes/sha3.c
lib/libtomcrypt/src/hashes/sha3_test.c
lib/libtomcrypt/src/hashes/tiger.c
lib/libtomcrypt/src/hashes/whirl/whirl.c
lib/libtomcrypt/src/hashes/whirl/whirltab.c
lib/libtomcrypt/src/headers/tomcrypt.h
lib/libtomcrypt/src/headers/tomcrypt_argchk.h
lib/libtomcrypt/src/headers/tomcrypt_cfg.h
lib/libtomcrypt/src/headers/tomcrypt_cipher.h
lib/libtomcrypt/src/headers/tomcrypt_custom.h
lib/libtomcrypt/src/headers/tomcrypt_hash.h
lib/libtomcrypt/src/headers/tomcrypt_mac.h
lib/libtomcrypt/src/headers/tomcrypt_macros.h
lib/libtomcrypt/src/headers/tomcrypt_math.h
lib/libtomcrypt/src/headers/tomcrypt_misc.h
lib/libtomcrypt/src/headers/tomcrypt_pk.h
lib/libtomcrypt/src/headers/tomcrypt_pkcs.h
lib/libtomcrypt/src/headers/tomcrypt_private.h
lib/libtomcrypt/src/headers/tomcrypt_prng.h
lib/libtomcrypt/src/mac/blake2/blake2bmac.c
lib/libtomcrypt/src/mac/blake2/blake2bmac_file.c
lib/libtomcrypt/src/mac/blake2/blake2bmac_memory.c
lib/libtomcrypt/src/mac/blake2/blake2bmac_memory_multi.c
lib/libtomcrypt/src/mac/blake2/blake2bmac_test.c
lib/libtomcrypt/src/mac/blake2/blake2smac.c
lib/libtomcrypt/src/mac/blake2/blake2smac_file.c
lib/libtomcrypt/src/mac/blake2/blake2smac_memory.c
lib/libtomcrypt/src/mac/blake2/blake2smac_memory_multi.c
lib/libtomcrypt/src/mac/blake2/blake2smac_test.c
lib/libtomcrypt/src/mac/f9/f9_done.c
lib/libtomcrypt/src/mac/f9/f9_file.c
lib/libtomcrypt/src/mac/f9/f9_init.c
lib/libtomcrypt/src/mac/f9/f9_memory.c
lib/libtomcrypt/src/mac/f9/f9_memory_multi.c
lib/libtomcrypt/src/mac/f9/f9_process.c
lib/libtomcrypt/src/mac/f9/f9_test.c
lib/libtomcrypt/src/mac/hmac/hmac_done.c
lib/libtomcrypt/src/mac/hmac/hmac_file.c
lib/libtomcrypt/src/mac/hmac/hmac_init.c
lib/libtomcrypt/src/mac/hmac/hmac_memory.c
lib/libtomcrypt/src/mac/hmac/hmac_memory_multi.c
lib/libtomcrypt/src/mac/hmac/hmac_process.c
lib/libtomcrypt/src/mac/hmac/hmac_test.c
lib/libtomcrypt/src/mac/omac/omac_done.c
lib/libtomcrypt/src/mac/omac/omac_file.c
lib/libtomcrypt/src/mac/omac/omac_init.c
lib/libtomcrypt/src/mac/omac/omac_memory.c
lib/libtomcrypt/src/mac/omac/omac_memory_multi.c
lib/libtomcrypt/src/mac/omac/omac_process.c
lib/libtomcrypt/src/mac/omac/omac_test.c
lib/libtomcrypt/src/mac/pelican/pelican.c
lib/libtomcrypt/src/mac/pelican/pelican_memory.c
lib/libtomcrypt/src/mac/pelican/pelican_test.c
lib/libtomcrypt/src/mac/pmac/pmac_done.c
lib/libtomcrypt/src/mac/pmac/pmac_file.c
lib/libtomcrypt/src/mac/pmac/pmac_init.c
lib/libtomcrypt/src/mac/pmac/pmac_memory.c
lib/libtomcrypt/src/mac/pmac/pmac_memory_multi.c
lib/libtomcrypt/src/mac/pmac/pmac_ntz.c
lib/libtomcrypt/src/mac/pmac/pmac_process.c
lib/libtomcrypt/src/mac/pmac/pmac_shift_xor.c
lib/libtomcrypt/src/mac/pmac/pmac_test.c
lib/libtomcrypt/src/mac/poly1305/poly1305.c
lib/libtomcrypt/src/mac/poly1305/poly1305_file.c
lib/libtomcrypt/src/mac/poly1305/poly1305_memory.c
lib/libtomcrypt/src/mac/poly1305/poly1305_memory_multi.c
lib/libtomcrypt/src/mac/poly1305/poly1305_test.c
lib/libtomcrypt/src/mac/xcbc/xcbc_done.c
lib/libtomcrypt/src/mac/xcbc/xcbc_file.c
lib/libtomcrypt/src/mac/xcbc/xcbc_init.c
lib/libtomcrypt/src/mac/xcbc/xcbc_memory.c
lib/libtomcrypt/src/mac/xcbc/xcbc_memory_multi.c
lib/libtomcrypt/src/mac/xcbc/xcbc_process.c
lib/libtomcrypt/src/mac/xcbc/xcbc_test.c
lib/libtomcrypt/src/math/fp/ltc_ecc_fp_mulmod.c
lib/libtomcrypt/src/math/gmp_desc.c
lib/libtomcrypt/src/math/ltm_desc.c
lib/libtomcrypt/src/math/multi.c
lib/libtomcrypt/src/math/radix_to_bin.c
lib/libtomcrypt/src/math/rand_bn.c
lib/libtomcrypt/src/math/rand_prime.c
lib/libtomcrypt/src/math/tfm_desc.c
lib/libtomcrypt/src/misc/adler32.c
lib/libtomcrypt/src/misc/base16/base16_decode.c
lib/libtomcrypt/src/misc/base16/base16_encode.c
lib/libtomcrypt/src/misc/base32/base32_decode.c
lib/libtomcrypt/src/misc/base32/base32_encode.c
lib/libtomcrypt/src/misc/base64/base64_decode.c
lib/libtomcrypt/src/misc/base64/base64_encode.c
lib/libtomcrypt/src/misc/bcrypt/bcrypt.c
lib/libtomcrypt/src/misc/burn_stack.c
lib/libtomcrypt/src/misc/compare_testvector.c
lib/libtomcrypt/src/misc/copy_or_zeromem.c
lib/libtomcrypt/src/misc/crc32.c
lib/libtomcrypt/src/misc/crypt/crypt.c
lib/libtomcrypt/src/misc/crypt/crypt_argchk.c
lib/libtomcrypt/src/misc/crypt/crypt_cipher_descriptor.c
lib/libtomcrypt/src/misc/crypt/crypt_cipher_is_valid.c
lib/libtomcrypt/src/misc/crypt/crypt_constants.c
lib/libtomcrypt/src/misc/crypt/crypt_find_cipher.c
lib/libtomcrypt/src/misc/crypt/crypt_find_cipher_any.c
lib/libtomcrypt/src/misc/crypt/crypt_find_cipher_id.c
lib/libtomcrypt/src/misc/crypt/crypt_find_hash.c
lib/libtomcrypt/src/misc/crypt/crypt_find_hash_any.c
lib/libtomcrypt/src/misc/crypt/crypt_find_hash_id.c
lib/libtomcrypt/src/misc/crypt/crypt_find_hash_oid.c
lib/libtomcrypt/src/misc/crypt/crypt_find_prng.c
lib/libtomcrypt/src/misc/crypt/crypt_fsa.c
lib/libtomcrypt/src/misc/crypt/crypt_hash_descriptor.c
lib/libtomcrypt/src/misc/crypt/crypt_hash_is_valid.c
lib/libtomcrypt/src/misc/crypt/crypt_inits.c
lib/libtomcrypt/src/misc/crypt/crypt_ltc_mp_descriptor.c
lib/libtomcrypt/src/misc/crypt/crypt_prng_descriptor.c
lib/libtomcrypt/src/misc/crypt/crypt_prng_is_valid.c
lib/libtomcrypt/src/misc/crypt/crypt_prng_rng_descriptor.c
lib/libtomcrypt/src/misc/crypt/crypt_register_all_ciphers.c
lib/libtomcrypt/src/misc/crypt/crypt_register_all_hashes.c
lib/libtomcrypt/src/misc/crypt/crypt_register_all_prngs.c
lib/libtomcrypt/src/misc/crypt/crypt_register_cipher.c
lib/libtomcrypt/src/misc/crypt/crypt_register_hash.c
lib/libtomcrypt/src/misc/crypt/crypt_register_prng.c
lib/libtomcrypt/src/misc/crypt/crypt_sizes.c
lib/libtomcrypt/src/misc/crypt/crypt_unregister_cipher.c
lib/libtomcrypt/src/misc/crypt/crypt_unregister_hash.c
lib/libtomcrypt/src/misc/crypt/crypt_unregister_prng.c
lib/libtomcrypt/src/misc/error_to_string.c
lib/libtomcrypt/src/misc/hkdf/hkdf.c
lib/libtomcrypt/src/misc/hkdf/hkdf_test.c
lib/libtomcrypt/src/misc/mem_neq.c
lib/libtomcrypt/src/misc/padding/padding_depad.c
lib/libtomcrypt/src/misc/padding/padding_pad.c
lib/libtomcrypt/src/misc/pbes/pbes.c
lib/libtomcrypt/src/misc/pbes/pbes1.c
lib/libtomcrypt/src/misc/pbes/pbes2.c
lib/libtomcrypt/src/misc/pbes/sub.mk
lib/libtomcrypt/src/misc/pkcs12/pkcs12_kdf.c
lib/libtomcrypt/src/misc/pkcs12/pkcs12_utf8_to_utf16.c
lib/libtomcrypt/src/misc/pkcs12/sub.mk
lib/libtomcrypt/src/misc/pkcs5/pkcs_5_1.c
lib/libtomcrypt/src/misc/pkcs5/pkcs_5_2.c
lib/libtomcrypt/src/misc/pkcs5/pkcs_5_test.c
lib/libtomcrypt/src/misc/ssh/ssh_decode_sequence_multi.c
lib/libtomcrypt/src/misc/ssh/ssh_encode_sequence_multi.c
lib/libtomcrypt/src/misc/sub.mk
lib/libtomcrypt/src/misc/zeromem.c
lib/libtomcrypt/src/modes/cbc/cbc_decrypt.c
lib/libtomcrypt/src/modes/cbc/cbc_done.c
lib/libtomcrypt/src/modes/cbc/cbc_encrypt.c
lib/libtomcrypt/src/modes/cbc/cbc_getiv.c
lib/libtomcrypt/src/modes/cbc/cbc_setiv.c
lib/libtomcrypt/src/modes/cbc/cbc_start.c
lib/libtomcrypt/src/modes/cfb/cfb_decrypt.c
lib/libtomcrypt/src/modes/cfb/cfb_done.c
lib/libtomcrypt/src/modes/cfb/cfb_encrypt.c
lib/libtomcrypt/src/modes/cfb/cfb_getiv.c
lib/libtomcrypt/src/modes/cfb/cfb_setiv.c
lib/libtomcrypt/src/modes/cfb/cfb_start.c
lib/libtomcrypt/src/modes/ctr/ctr_decrypt.c
lib/libtomcrypt/src/modes/ctr/ctr_done.c
lib/libtomcrypt/src/modes/ctr/ctr_encrypt.c
lib/libtomcrypt/src/modes/ctr/ctr_getiv.c
lib/libtomcrypt/src/modes/ctr/ctr_setiv.c
lib/libtomcrypt/src/modes/ctr/ctr_start.c
lib/libtomcrypt/src/modes/ctr/ctr_test.c
lib/libtomcrypt/src/modes/ecb/ecb_decrypt.c
lib/libtomcrypt/src/modes/ecb/ecb_done.c
lib/libtomcrypt/src/modes/ecb/ecb_encrypt.c
lib/libtomcrypt/src/modes/ecb/ecb_start.c
lib/libtomcrypt/src/modes/f8/f8_decrypt.c
lib/libtomcrypt/src/modes/f8/f8_done.c
lib/libtomcrypt/src/modes/f8/f8_encrypt.c
lib/libtomcrypt/src/modes/f8/f8_getiv.c
lib/libtomcrypt/src/modes/f8/f8_setiv.c
lib/libtomcrypt/src/modes/f8/f8_start.c
lib/libtomcrypt/src/modes/f8/f8_test_mode.c
lib/libtomcrypt/src/modes/lrw/lrw_decrypt.c
lib/libtomcrypt/src/modes/lrw/lrw_done.c
lib/libtomcrypt/src/modes/lrw/lrw_encrypt.c
lib/libtomcrypt/src/modes/lrw/lrw_getiv.c
lib/libtomcrypt/src/modes/lrw/lrw_process.c
lib/libtomcrypt/src/modes/lrw/lrw_setiv.c
lib/libtomcrypt/src/modes/lrw/lrw_start.c
lib/libtomcrypt/src/modes/lrw/lrw_test.c
lib/libtomcrypt/src/modes/ofb/ofb_decrypt.c
lib/libtomcrypt/src/modes/ofb/ofb_done.c
lib/libtomcrypt/src/modes/ofb/ofb_encrypt.c
lib/libtomcrypt/src/modes/ofb/ofb_getiv.c
lib/libtomcrypt/src/modes/ofb/ofb_setiv.c
lib/libtomcrypt/src/modes/ofb/ofb_start.c
lib/libtomcrypt/src/modes/xts/xts_decrypt.c
lib/libtomcrypt/src/modes/xts/xts_done.c
lib/libtomcrypt/src/modes/xts/xts_encrypt.c
lib/libtomcrypt/src/modes/xts/xts_init.c
lib/libtomcrypt/src/modes/xts/xts_mult_x.c
lib/libtomcrypt/src/modes/xts/xts_test.c
lib/libtomcrypt/src/pk/asn1/der/bit/der_decode_bit_string.c
lib/libtomcrypt/src/pk/asn1/der/bit/der_decode_raw_bit_string.c
lib/libtomcrypt/src/pk/asn1/der/bit/der_encode_bit_string.c
lib/libtomcrypt/src/pk/asn1/der/bit/der_encode_raw_bit_string.c
lib/libtomcrypt/src/pk/asn1/der/bit/der_length_bit_string.c
lib/libtomcrypt/src/pk/asn1/der/boolean/der_decode_boolean.c
lib/libtomcrypt/src/pk/asn1/der/boolean/der_encode_boolean.c
lib/libtomcrypt/src/pk/asn1/der/boolean/der_length_boolean.c
lib/libtomcrypt/src/pk/asn1/der/choice/der_decode_choice.c
lib/libtomcrypt/src/pk/asn1/der/custom_type/der_decode_custom_type.c
lib/libtomcrypt/src/pk/asn1/der/custom_type/der_encode_custom_type.c
lib/libtomcrypt/src/pk/asn1/der/custom_type/der_length_custom_type.c
lib/libtomcrypt/src/pk/asn1/der/general/der_asn1_maps.c
lib/libtomcrypt/src/pk/asn1/der/general/der_decode_asn1_identifier.c
lib/libtomcrypt/src/pk/asn1/der/general/der_decode_asn1_length.c
lib/libtomcrypt/src/pk/asn1/der/general/der_encode_asn1_identifier.c
lib/libtomcrypt/src/pk/asn1/der/general/der_encode_asn1_length.c
lib/libtomcrypt/src/pk/asn1/der/general/der_length_asn1_identifier.c
lib/libtomcrypt/src/pk/asn1/der/general/der_length_asn1_length.c
lib/libtomcrypt/src/pk/asn1/der/generalizedtime/der_decode_generalizedtime.c
lib/libtomcrypt/src/pk/asn1/der/generalizedtime/der_encode_generalizedtime.c
lib/libtomcrypt/src/pk/asn1/der/generalizedtime/der_length_generalizedtime.c
lib/libtomcrypt/src/pk/asn1/der/ia5/der_decode_ia5_string.c
lib/libtomcrypt/src/pk/asn1/der/ia5/der_encode_ia5_string.c
lib/libtomcrypt/src/pk/asn1/der/ia5/der_length_ia5_string.c
lib/libtomcrypt/src/pk/asn1/der/integer/der_decode_integer.c
lib/libtomcrypt/src/pk/asn1/der/integer/der_encode_integer.c
lib/libtomcrypt/src/pk/asn1/der/integer/der_length_integer.c
lib/libtomcrypt/src/pk/asn1/der/object_identifier/der_decode_object_identifier.c
lib/libtomcrypt/src/pk/asn1/der/object_identifier/der_encode_object_identifier.c
lib/libtomcrypt/src/pk/asn1/der/object_identifier/der_length_object_identifier.c
lib/libtomcrypt/src/pk/asn1/der/octet/der_decode_octet_string.c
lib/libtomcrypt/src/pk/asn1/der/octet/der_encode_octet_string.c
lib/libtomcrypt/src/pk/asn1/der/octet/der_length_octet_string.c
lib/libtomcrypt/src/pk/asn1/der/printable_string/der_decode_printable_string.c
lib/libtomcrypt/src/pk/asn1/der/printable_string/der_encode_printable_string.c
lib/libtomcrypt/src/pk/asn1/der/printable_string/der_length_printable_string.c
lib/libtomcrypt/src/pk/asn1/der/sequence/der_decode_sequence_ex.c
lib/libtomcrypt/src/pk/asn1/der/sequence/der_decode_sequence_flexi.c
lib/libtomcrypt/src/pk/asn1/der/sequence/der_decode_sequence_multi.c
lib/libtomcrypt/src/pk/asn1/der/sequence/der_encode_sequence_ex.c
lib/libtomcrypt/src/pk/asn1/der/sequence/der_encode_sequence_multi.c
lib/libtomcrypt/src/pk/asn1/der/sequence/der_length_sequence.c
lib/libtomcrypt/src/pk/asn1/der/sequence/der_sequence_free.c
lib/libtomcrypt/src/pk/asn1/der/sequence/der_sequence_shrink.c
lib/libtomcrypt/src/pk/asn1/der/set/der_encode_set.c
lib/libtomcrypt/src/pk/asn1/der/set/der_encode_setof.c
lib/libtomcrypt/src/pk/asn1/der/short_integer/der_decode_short_integer.c
lib/libtomcrypt/src/pk/asn1/der/short_integer/der_encode_short_integer.c
lib/libtomcrypt/src/pk/asn1/der/short_integer/der_length_short_integer.c
lib/libtomcrypt/src/pk/asn1/der/teletex_string/der_decode_teletex_string.c
lib/libtomcrypt/src/pk/asn1/der/teletex_string/der_length_teletex_string.c
lib/libtomcrypt/src/pk/asn1/der/utctime/der_decode_utctime.c
lib/libtomcrypt/src/pk/asn1/der/utctime/der_encode_utctime.c
lib/libtomcrypt/src/pk/asn1/der/utctime/der_length_utctime.c
lib/libtomcrypt/src/pk/asn1/der/utf8/der_decode_utf8_string.c
lib/libtomcrypt/src/pk/asn1/der/utf8/der_encode_utf8_string.c
lib/libtomcrypt/src/pk/asn1/der/utf8/der_length_utf8_string.c
lib/libtomcrypt/src/pk/asn1/oid/pk_get_oid.c
lib/libtomcrypt/src/pk/asn1/oid/pk_oid_cmp.c
lib/libtomcrypt/src/pk/asn1/oid/pk_oid_str.c
lib/libtomcrypt/src/pk/asn1/pkcs8/pkcs8_decode_flexi.c
lib/libtomcrypt/src/pk/asn1/x509/x509_decode_public_key_from_certificate.c
lib/libtomcrypt/src/pk/asn1/x509/x509_decode_subject_public_key_info.c
lib/libtomcrypt/src/pk/asn1/x509/x509_encode_subject_public_key_info.c
lib/libtomcrypt/src/pk/dh/dh.c
lib/libtomcrypt/src/pk/dh/dh_check_pubkey.c
lib/libtomcrypt/src/pk/dh/dh_export.c
lib/libtomcrypt/src/pk/dh/dh_export_key.c
lib/libtomcrypt/src/pk/dh/dh_free.c
lib/libtomcrypt/src/pk/dh/dh_generate_key.c
lib/libtomcrypt/src/pk/dh/dh_import.c
lib/libtomcrypt/src/pk/dh/dh_set.c
lib/libtomcrypt/src/pk/dh/dh_set_pg_dhparam.c
lib/libtomcrypt/src/pk/dh/dh_shared_secret.c
lib/libtomcrypt/src/pk/dsa/dsa_decrypt_key.c
lib/libtomcrypt/src/pk/dsa/dsa_encrypt_key.c
lib/libtomcrypt/src/pk/dsa/dsa_export.c
lib/libtomcrypt/src/pk/dsa/dsa_free.c
lib/libtomcrypt/src/pk/dsa/dsa_generate_key.c
lib/libtomcrypt/src/pk/dsa/dsa_generate_pqg.c
lib/libtomcrypt/src/pk/dsa/dsa_import.c
lib/libtomcrypt/src/pk/dsa/dsa_make_key.c
lib/libtomcrypt/src/pk/dsa/dsa_set.c
lib/libtomcrypt/src/pk/dsa/dsa_set_pqg_dsaparam.c
lib/libtomcrypt/src/pk/dsa/dsa_shared_secret.c
lib/libtomcrypt/src/pk/dsa/dsa_sign_hash.c
lib/libtomcrypt/src/pk/dsa/dsa_verify_hash.c
lib/libtomcrypt/src/pk/dsa/dsa_verify_key.c
lib/libtomcrypt/src/pk/ec25519/ec25519_crypto_ctx.c
lib/libtomcrypt/src/pk/ec25519/ec25519_export.c
lib/libtomcrypt/src/pk/ec25519/ec25519_import_pkcs8.c
lib/libtomcrypt/src/pk/ec25519/tweetnacl.c
lib/libtomcrypt/src/pk/ecc/ecc.c
lib/libtomcrypt/src/pk/ecc/ecc_ansi_x963_export.c
lib/libtomcrypt/src/pk/ecc/ecc_ansi_x963_import.c
lib/libtomcrypt/src/pk/ecc/ecc_decrypt_key.c
lib/libtomcrypt/src/pk/ecc/ecc_encrypt_key.c
lib/libtomcrypt/src/pk/ecc/ecc_export.c
lib/libtomcrypt/src/pk/ecc/ecc_export_openssl.c
lib/libtomcrypt/src/pk/ecc/ecc_find_curve.c
lib/libtomcrypt/src/pk/ecc/ecc_free.c
lib/libtomcrypt/src/pk/ecc/ecc_get_key.c
lib/libtomcrypt/src/pk/ecc/ecc_get_oid_str.c
lib/libtomcrypt/src/pk/ecc/ecc_get_size.c
lib/libtomcrypt/src/pk/ecc/ecc_import.c
lib/libtomcrypt/src/pk/ecc/ecc_import_openssl.c
lib/libtomcrypt/src/pk/ecc/ecc_import_pkcs8.c
lib/libtomcrypt/src/pk/ecc/ecc_import_x509.c
lib/libtomcrypt/src/pk/ecc/ecc_make_key.c
lib/libtomcrypt/src/pk/ecc/ecc_recover_key.c
lib/libtomcrypt/src/pk/ecc/ecc_set_curve.c
lib/libtomcrypt/src/pk/ecc/ecc_set_curve_internal.c
lib/libtomcrypt/src/pk/ecc/ecc_set_key.c
lib/libtomcrypt/src/pk/ecc/ecc_shared_secret.c
lib/libtomcrypt/src/pk/ecc/ecc_sign_hash.c
lib/libtomcrypt/src/pk/ecc/ecc_sizes.c
lib/libtomcrypt/src/pk/ecc/ecc_ssh_ecdsa_encode_name.c
lib/libtomcrypt/src/pk/ecc/ecc_verify_hash.c
lib/libtomcrypt/src/pk/ecc/ltc_ecc_export_point.c
lib/libtomcrypt/src/pk/ecc/ltc_ecc_import_point.c
lib/libtomcrypt/src/pk/ecc/ltc_ecc_is_point.c
lib/libtomcrypt/src/pk/ecc/ltc_ecc_is_point_at_infinity.c
lib/libtomcrypt/src/pk/ecc/ltc_ecc_map.c
lib/libtomcrypt/src/pk/ecc/ltc_ecc_mul2add.c
lib/libtomcrypt/src/pk/ecc/ltc_ecc_mulmod.c
lib/libtomcrypt/src/pk/ecc/ltc_ecc_mulmod_timing.c
lib/libtomcrypt/src/pk/ecc/ltc_ecc_points.c
lib/libtomcrypt/src/pk/ecc/ltc_ecc_projective_add_point.c
lib/libtomcrypt/src/pk/ecc/ltc_ecc_projective_dbl_point.c
lib/libtomcrypt/src/pk/ecc/ltc_ecc_verify_key.c
lib/libtomcrypt/src/pk/ed25519/ed25519_export.c
lib/libtomcrypt/src/pk/ed25519/ed25519_import.c
lib/libtomcrypt/src/pk/ed25519/ed25519_import_pkcs8.c
lib/libtomcrypt/src/pk/ed25519/ed25519_import_raw.c
lib/libtomcrypt/src/pk/ed25519/ed25519_import_x509.c
lib/libtomcrypt/src/pk/ed25519/ed25519_make_key.c
lib/libtomcrypt/src/pk/ed25519/ed25519_sign.c
lib/libtomcrypt/src/pk/ed25519/ed25519_verify.c
lib/libtomcrypt/src/pk/pkcs1/pkcs_1_i2osp.c
lib/libtomcrypt/src/pk/pkcs1/pkcs_1_mgf1.c
lib/libtomcrypt/src/pk/pkcs1/pkcs_1_oaep_decode.c
lib/libtomcrypt/src/pk/pkcs1/pkcs_1_oaep_encode.c
lib/libtomcrypt/src/pk/pkcs1/pkcs_1_os2ip.c
lib/libtomcrypt/src/pk/pkcs1/pkcs_1_pss_decode.c
lib/libtomcrypt/src/pk/pkcs1/pkcs_1_pss_encode.c
lib/libtomcrypt/src/pk/pkcs1/pkcs_1_v1_5_decode.c
lib/libtomcrypt/src/pk/pkcs1/pkcs_1_v1_5_encode.c
lib/libtomcrypt/src/pk/rsa/rsa_decrypt_key.c
lib/libtomcrypt/src/pk/rsa/rsa_encrypt_key.c
lib/libtomcrypt/src/pk/rsa/rsa_export.c
lib/libtomcrypt/src/pk/rsa/rsa_exptmod.c
lib/libtomcrypt/src/pk/rsa/rsa_get_size.c
lib/libtomcrypt/src/pk/rsa/rsa_import.c
lib/libtomcrypt/src/pk/rsa/rsa_import_pkcs8.c
lib/libtomcrypt/src/pk/rsa/rsa_import_x509.c
lib/libtomcrypt/src/pk/rsa/rsa_key.c
lib/libtomcrypt/src/pk/rsa/rsa_make_key.c
lib/libtomcrypt/src/pk/rsa/rsa_set.c
lib/libtomcrypt/src/pk/rsa/rsa_sign_hash.c
lib/libtomcrypt/src/pk/rsa/rsa_sign_saltlen_get.c
lib/libtomcrypt/src/pk/rsa/rsa_verify_hash.c
lib/libtomcrypt/src/pk/rsa/sub.mk
lib/libtomcrypt/src/pk/x25519/sub.mk
lib/libtomcrypt/src/pk/x25519/x25519_export.c
lib/libtomcrypt/src/pk/x25519/x25519_import.c
lib/libtomcrypt/src/pk/x25519/x25519_import_pkcs8.c
lib/libtomcrypt/src/pk/x25519/x25519_import_raw.c
lib/libtomcrypt/src/pk/x25519/x25519_import_x509.c
lib/libtomcrypt/src/pk/x25519/x25519_make_key.c
lib/libtomcrypt/src/pk/x25519/x25519_shared_secret.c
lib/libtomcrypt/src/prngs/chacha20.c
lib/libtomcrypt/src/prngs/fortuna.c
lib/libtomcrypt/src/prngs/rc4.c
lib/libtomcrypt/src/prngs/rng_get_bytes.c
lib/libtomcrypt/src/prngs/rng_make_prng.c
lib/libtomcrypt/src/prngs/sober128.c
lib/libtomcrypt/src/prngs/sprng.c
lib/libtomcrypt/src/prngs/yarrow.c
lib/libtomcrypt/src/stream/chacha/chacha_crypt.c
lib/libtomcrypt/src/stream/chacha/chacha_done.c
lib/libtomcrypt/src/stream/chacha/chacha_ivctr32.c
lib/libtomcrypt/src/stream/chacha/chacha_ivctr64.c
lib/libtomcrypt/src/stream/chacha/chacha_keystream.c
lib/libtomcrypt/src/stream/chacha/chacha_memory.c
lib/libtomcrypt/src/stream/chacha/chacha_setup.c
lib/libtomcrypt/src/stream/chacha/chacha_test.c
lib/libtomcrypt/src/stream/rabbit/rabbit.c
lib/libtomcrypt/src/stream/rabbit/rabbit_memory.c
lib/libtomcrypt/src/stream/rc4/rc4_stream.c
lib/libtomcrypt/src/stream/rc4/rc4_stream_memory.c
lib/libtomcrypt/src/stream/rc4/rc4_test.c
lib/libtomcrypt/src/stream/salsa20/salsa20_crypt.c
lib/libtomcrypt/src/stream/salsa20/salsa20_done.c
lib/libtomcrypt/src/stream/salsa20/salsa20_ivctr64.c
lib/libtomcrypt/src/stream/salsa20/salsa20_keystream.c
lib/libtomcrypt/src/stream/salsa20/salsa20_memory.c
lib/libtomcrypt/src/stream/salsa20/salsa20_setup.c
lib/libtomcrypt/src/stream/salsa20/salsa20_test.c
lib/libtomcrypt/src/stream/salsa20/xsalsa20_memory.c
lib/libtomcrypt/src/stream/salsa20/xsalsa20_setup.c
lib/libtomcrypt/src/stream/salsa20/xsalsa20_test.c
lib/libtomcrypt/src/stream/sober128/sober128_stream.c
lib/libtomcrypt/src/stream/sober128/sober128_stream_memory.c
lib/libtomcrypt/src/stream/sober128/sober128_test.c
lib/libtomcrypt/src/stream/sober128/sober128tab.c
lib/libtomcrypt/src/stream/sosemanuk/sosemanuk.c
lib/libtomcrypt/src/stream/sosemanuk/sosemanuk_memory.c
lib/libtomcrypt/src/stream/sosemanuk/sosemanuk_test.c
lib/libtomcrypt/sub.mk
lib/libtomcrypt/x25519.c
4b46e0e804-Jul-2022 Jorge Ramirez-Ortiz <jorge@foundries.io>

drivers: versal: mailbox communication

Mailbox driver to communicate with the PLM firmware executing on the
Microblaze processor.

Signed-off-by: Jorge Ramirez-Ortiz <jorge@foundries.io>
Acked-by: J

drivers: versal: mailbox communication

Mailbox driver to communicate with the PLM firmware executing on the
Microblaze processor.

Signed-off-by: Jorge Ramirez-Ortiz <jorge@foundries.io>
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
Acked-by: Etienne Carriere <etienne.carriere@linaro.org>

show more ...

1e48849e04-Jul-2022 Jorge Ramirez-Ortiz <jorge@foundries.io>

plat-versal: define the length of the cache line

Explicitly define the length of the cache line for the Versal ACAP
platform.

Signed-off-by: Jorge Ramirez-Ortiz <jorge@foundries.io>
Acked-by: Jerom

plat-versal: define the length of the cache line

Explicitly define the length of the cache line for the Versal ACAP
platform.

Signed-off-by: Jorge Ramirez-Ortiz <jorge@foundries.io>
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
Acked-by: Etienne Carriere <etienne.carriere@linaro.org>

show more ...

8d2d14e501-Sep-2022 Balint Dobszay <balint.dobszay@arm.com>

core: sp: add support for SPs in the FIP

This commit introduces support for using SPs from the FIP. TF-A offers a
mechanism to encapsulate an SP image and its manifest into an SP package
and add tha

core: sp: add support for SPs in the FIP

This commit introduces support for using SPs from the FIP. TF-A offers a
mechanism to encapsulate an SP image and its manifest into an SP package
and add that to the FIP. During boot BL2 will load these packages into
memory and the SPMC manifest is used to pass the load addresses to the
SPMC. The SP package contains a header, the SP manifest and the SP image
itself [1].

For loading the SP packages the existing embedded SP handling code is
mostly reused. The only difference is that instead of a scattered array
that's created at build time the SP packages are discovered at runtime
and collected into a linked list.

Link: [1] https://trustedfirmware-a.readthedocs.io/en/v2.6/components/secure-partition-manager.html#secure-partition-packages
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
Signed-off-by: Balint Dobszay <balint.dobszay@arm.com>

show more ...

c9dad41929-Aug-2022 Balint Dobszay <balint.dobszay@arm.com>

core: sp: fix sp_dt_get_u64() alignment issue

In the SP DT files 64-bit values are represented by two 32-bit cells.
When loaded into memory, the address of such value might not be 64-bit
aligned. Cu

core: sp: fix sp_dt_get_u64() alignment issue

In the SP DT files 64-bit values are represented by two 32-bit cells.
When loaded into memory, the address of such value might not be 64-bit
aligned. Currently sp_dt_get_u64() simply dereferences a pointer to such
value. This compiles to a 64-bit load instruction, which causes an
alignment fault if the address was not 64-bit aligned.

Replace the direct dereferencing with the fdt64_ld() helper function
which only uses byte loads.

Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
Signed-off-by: Balint Dobszay <balint.dobszay@arm.com>

show more ...

7eda852f23-Aug-2022 Balint Dobszay <balint.dobszay@arm.com>

core: sp: add DT UUID helper function

Adds helper function to read a UUID from the SP manifest DT and parse it
into a TEE_UUID struct.

Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
Reviewed-

core: sp: add DT UUID helper function

Adds helper function to read a UUID from the SP manifest DT and parse it
into a TEE_UUID struct.

Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
Signed-off-by: Balint Dobszay <balint.dobszay@arm.com>

show more ...

98fca44429-Aug-2022 Jorge Ramirez-Ortiz <jorge@foundries.io>

drivers: stm32_i2c: optimize the master receive path

Early error detection prevents an invalid read request made to the
device from blocking the bus for the whole transfer timeout.

Signed-off-by: J

drivers: stm32_i2c: optimize the master receive path

Early error detection prevents an invalid read request made to the
device from blocking the bus for the whole transfer timeout.

Signed-off-by: Jorge Ramirez-Ortiz <jorge@foundries.io>
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>

show more ...

14b14d5a18-Aug-2022 Jorge Ramirez-Ortiz <jorge@foundries.io>

se050: glue: i2c_stm32

To add support in the device tree - since the NXP SE05x device node
has not been agreed yet - the user must provide an alias to the bus
where the device is located.

Once the

se050: glue: i2c_stm32

To add support in the device tree - since the NXP SE05x device node
has not been agreed yet - the user must provide an alias to the bus
where the device is located.

Once the SE05X node has been agreed, support will be added to all
OP-TEE supported platforms.

Signed-off-by: Jorge Ramirez-Ortiz <jorge@foundries.io>
Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>

show more ...

646c0a2b18-Aug-2022 Jorge Ramirez-Ortiz <jorge@foundries.io>

drivers: stm32_i2c: fix read operations on I2C_MODE_MASTER mode

One of the valid conditions that leads to the generation of a NACK
is when the controller-receiver signals the end of the transfer
to

drivers: stm32_i2c: fix read operations on I2C_MODE_MASTER mode

One of the valid conditions that leads to the generation of a NACK
is when the controller-receiver signals the end of the transfer
to the target transmitter.

The code being fixed - not clearing the NACK - was causing subsequent
write operations to fail.

This has been validated using the NXP SE050 device.

Signed-off-by: Jorge Ramirez-Ortiz <jorge@foundries.io>
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>

show more ...

d0418bb009-Sep-2022 Jerome Forissier <jerome.forissier@linaro.org>

core: rpc: log error when allocation fails in non-secure world

The error messages printed when the non-secure world fails to allocate
shared memory may be misleading misleading:

E/LD: init_elf:45

core: rpc: log error when allocation fails in non-secure world

The error messages printed when the non-secure world fails to allocate
shared memory may be misleading misleading:

E/LD: init_elf:453 sys_open_ta_bin(cb3e5ba0-adf1-11e0-998b-0002a5d5c51b)
E/TC:? 0 ldelf_init_with_ldelf:131 ldelf failed with res: 0xffff000c

This looks like an out-of-memory condition (0xffff000c =
TEE_ERROR_OUT_OF_MEMORY) in the TEE core ("E/TC"), in other words
insufficient core heap space. Add the following message to help pinpoint
the issue:

E/TC:? 0 get_rpc_alloc_res:645 RPC allocation failed. Non-secure world result: ret=0xffff000c ret_origin=0x2

This situation can be reproduced by killing tee-supplicant and invoking
a TA. When the CA is interrupted (Ctrl-C), the above log is printed.

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

dd65d97013-Sep-2022 Jerome Forissier <jerome.forissier@linaro.org>

Squashed commit upgrading to zlib v1.12.2

Squash merging branch import/zlib-1.12.2

67d1c836b46d ("core: zlib: fix build warning when _LFS64_LARGEFILE is not defined")
82826342c694 ("zlib: add SPD

Squashed commit upgrading to zlib v1.12.2

Squash merging branch import/zlib-1.12.2

67d1c836b46d ("core: zlib: fix build warning when _LFS64_LARGEFILE is not defined")
82826342c694 ("zlib: add SPDX license identifiers")
bbdade0f5924 ("zlib: set zconf.h options for embedded TS")
449dd56422ca ("Import zlib v1.12.2")

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

b8cb450119-Sep-2022 Jens Wiklander <jens.wiklander@linaro.org>

core: add missing pauth key saving in foreign interrupt handler

When a foreign interrupt (non-secure) is trapped in OP-TEE the state of
the current thread is saved similarly to when an RPC is perfor

core: add missing pauth key saving in foreign interrupt handler

When a foreign interrupt (non-secure) is trapped in OP-TEE the state of
the current thread is saved similarly to when an RPC is performed.

With pointer authentication enabled two more registers which are part of
the current context, APIAKEYHI-EL1 and APIAKEYLO-EL1, are added. These
registers contains a key needed for pointer authentication. This key is
unique per context so it must always be saved and restored when
switching context.

Prior to this patch the step where this key is saved in the foreign
interrupt handler was missing, so fix this by adding the missing step.

Fixes: 2b06f9dede33 ("Add basic pointer authentication support for TA's")
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

ce27e87f29-Aug-2022 Jorge Ramirez-Ortiz <jorge@foundries.io>

plat-versal: mmap regions

Increase the number of regions in preparation for the merge of
additional drivers.

The value has been chosen using the other more stable platforms
as a reference.

Signed-

plat-versal: mmap regions

Increase the number of regions in preparation for the merge of
additional drivers.

The value has been chosen using the other more stable platforms
as a reference.

Signed-off-by: Jorge Ramirez-Ortiz <jorge@foundries.io>
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>

show more ...

2873ae1310-Apr-2022 Jorge Ramirez-Ortiz <jorge@foundries.io>

plat-versal: build tee-raw.bin image

This commit generates the tee-raw.bin image so the user can
pass the boot address on the bif file.

The bif file could look like this

the_ROM_image:
{
image {

plat-versal: build tee-raw.bin image

This commit generates the tee-raw.bin image so the user can
pass the boot address on the bif file.

The bif file could look like this

the_ROM_image:
{
image {
{ type=bootimage, file=vpl.pdi }
{ type=bootloader, file=plm.elf }
{ core=psm, file=psmfw.elf }
}

image {
id = 0x1c000000, name=apu_subsystem
{ type=raw, load=0x00001000, file=versal.dtb }
{ core=a72-0, exception_level=el-3, trustzone, file=bl31.elf }
{ core=a72-0, exception_level=el-2, file=u-boot.elf }
{ core=a72-0, exception_level=el-1, trustzone, load=0x60000000,
startup=0x60000000, file=tee-raw.bin }
}
}

For additional information on how to build this platform, please refer
to https://github.com/OP-TEE/build/versal.mk

Signed-off-by: Jorge Ramirez-Ortiz <jorge@foundries.io>
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>

show more ...

3a34000512-Sep-2022 Andrew Mustea <andrew.mustea@microsoft.com>

core: drivers: nxp: Add LX2160A-series SecMon driver

- This driver implements reading the entire NXP LX2160-series Security
Monitor (SecMon) module.
- To enable the SecMon driver, the optee-os bui

core: drivers: nxp: Add LX2160A-series SecMon driver

- This driver implements reading the entire NXP LX2160-series Security
Monitor (SecMon) module.
- To enable the SecMon driver, the optee-os build requires the
CFG_LS_SEC_MON flag.

Signed-off-by: Andrew Mustea <andrew.mustea@microsoft.com>
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>

show more ...

4f12f55822-Aug-2022 Etienne Carriere <etienne.carriere@linaro.org>

plat-stm32mp1: reset platform with reset controller device

Change platform stm32mp1 PSCI_SYSTEM_RESET implementation to rely
on reset controller framework to proceed a full platform reset insead
of

plat-stm32mp1: reset platform with reset controller device

Change platform stm32mp1 PSCI_SYSTEM_RESET implementation to rely
on reset controller framework to proceed a full platform reset insead
of a platform specific sequence. This change makes MP13 variants to
now support PSCI system reset feature.

Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>

show more ...

b46e2b4d22-Aug-2022 Etienne Carriere <etienne.carriere@linaro.org>

dt-bindings: define system reset controller for stm32mp1 flavors

Define DT binding ID related to system reset controller, for both
STM32MP15 and STM32MP13 variants.

Acked-by: Jens Wiklander <jens.w

dt-bindings: define system reset controller for stm32mp1 flavors

Define DT binding ID related to system reset controller, for both
STM32MP15 and STM32MP13 variants.

Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>

show more ...

4afbdbdd01-Aug-2022 Anton Eliasson <anton.eliasson@axis.com>

drivers: scmi-msg: Propagate errors from platform voltd_get_level

plat_scmi_voltd_get_level is refactored to return an SCMI error code and
retrieve the voltage via an out parameter. This allows erro

drivers: scmi-msg: Propagate errors from platform voltd_get_level

plat_scmi_voltd_get_level is refactored to return an SCMI error code and
retrieve the voltage via an out parameter. This allows errors from the
platform SCMI server implementation to be propagated to the REE.

The implementation for stm32mp1 is updated to handle at least some
possible errors.

Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
Signed-off-by: Anton Eliasson <anton.eliasson@axis.com>

show more ...

5c932a0314-Jul-2022 Johann Neuhauser <jneuhauser@dh-electronics.com>

plat-stm32mp1: add Avenger96 board with STM32MP157A based DHCOR SoM

The dts(i) files are imported from Linux 5.19-rc6.

Changes made to the imported dts(i) files:
- Enable rcc as on other boards
- A

plat-stm32mp1: add Avenger96 board with STM32MP157A based DHCOR SoM

The dts(i) files are imported from Linux 5.19-rc6.

Changes made to the imported dts(i) files:
- Enable rcc as on other boards
- Allow iwdg2 for usage in non-secure world

Signed-off-by: Johann Neuhauser <jneuhauser@dh-electronics.com>
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
Acked-by: Etienne Carriere <etienne.carriere@linaro.org>

show more ...

6e9896c014-Jul-2022 Johann Neuhauser <jneuhauser@dh-electronics.com>

plat-stm32mp1: add STM32MP157C based DHCOM SoM on PDK2 baseboard

The dts(i) files are imported from Linux 5.19-rc6.

Changes made to the imported dts(i) files:
- Drop GPLv2 licensed resources and/or

plat-stm32mp1: add STM32MP157C based DHCOM SoM on PDK2 baseboard

The dts(i) files are imported from Linux 5.19-rc6.

Changes made to the imported dts(i) files:
- Drop GPLv2 licensed resources and/or use their explicit values
- Drop cryp1 okay status as on other boards
- Drop unsupported special rcc clocks definition using comments
- Enable rcc as on other boards
- Allow iwdg2 for usage in non-secure world

Signed-off-by: Johann Neuhauser <jneuhauser@dh-electronics.com>
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
Acked-by: Etienne Carriere <etienne.carriere@linaro.org>

show more ...

cd495a5a04-Jul-2022 Jorge Ramirez-Ortiz <jorge@foundries.io>

drivers: versal: general purpose i/o

Provide access to the GPIO controller on Versal ACAP.

Signed-off-by: Jorge Ramirez-Ortiz <jorge@foundries.io>
Acked-by: Jens Wiklander <jens.wiklander@linaro.or

drivers: versal: general purpose i/o

Provide access to the GPIO controller on Versal ACAP.

Signed-off-by: Jorge Ramirez-Ortiz <jorge@foundries.io>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

c2f16fe324-Feb-2022 Clement Faure <clement.faure@nxp.com>

core: driver: rework the SC API to make compatible with the new MU driver

Rework the SC API to leverage the common MU driver.
This re-work implies the deletion of duplicate functions that are now
im

core: driver: rework the SC API to make compatible with the new MU driver

Rework the SC API to leverage the common MU driver.
This re-work implies the deletion of duplicate functions that are now
implemented in the MU driver instead

Signed-off-by: Clement Faure <clement.faure@nxp.com>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>

show more ...

1...<<919293949596979899100>>...260