ta: trusted_keys: Add TA version and description property valuesAdd meaningful values for Trusted Keys TA version and descriptionproperties to replace previously embedded default respective values
ta: trusted_keys: Add TA version and description property valuesAdd meaningful values for Trusted Keys TA version and descriptionproperties to replace previously embedded default respective values"Undefined version" and "Undefined description".Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>Acked-by: Jerome Forissier <jerome.forissier@linaro.org>Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
Upgrade in-tree TAs to use latest version of TEE Internal Core APIUpgrades in-tree TAs to use latest version of TEE Internal Core API andthe compatibility flag is by default turned off.Upgrading
Upgrade in-tree TAs to use latest version of TEE Internal Core APIUpgrades in-tree TAs to use latest version of TEE Internal Core API andthe compatibility flag is by default turned off.Upgrading the TAs is basically a matter of replacing a few uint32_tpointers with size_t pointers instead. This is done in as few places aspossible. So in particular the PKCS#11 TA might benefit from anotherround of refactoring now that the contagious use of uint32_t as sizefield is removed.Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
util: rename ALIGNMENT_IS_OK to IS_ALIGNED_WITH_TYPEImplement the renamed macro using the IS_ALIGNED definition.Signed-off-by: Jorge Ramirez-Ortiz <jorge@foundries.io>Reviewed-by: Etienne Carrie
util: rename ALIGNMENT_IS_OK to IS_ALIGNED_WITH_TYPEImplement the renamed macro using the IS_ALIGNED definition.Signed-off-by: Jorge Ramirez-Ortiz <jorge@foundries.io>Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
ta: trusted_keys: Fix to align with strict buffer checksCommit e12c9f67d12c ("core: strict buffer check in syscalls followingGP 1.1") has switched to stricter buffer checks to reside in TA private
ta: trusted_keys: Fix to align with strict buffer checksCommit e12c9f67d12c ("core: strict buffer check in syscalls followingGP 1.1") has switched to stricter buffer checks to reside in TA privatememory. So accordingly fix buffer allocations corresponding toTEE_GenerateRandom() and TEE_AEDecryptFinal() APIs.Signed-off-by: Sumit Garg <sumit.garg@linaro.org>Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>Reviewed-by: Jerome Forissier <jerome@forissier.org>
ta: add early TA to seal and unseal Linux trusted keysThis patch adds an early TA which acts as Linux TEE bus device toprovide a service of sealing/unsealing of trusted keys in case platformdoesn
ta: add early TA to seal and unseal Linux trusted keysThis patch adds an early TA which acts as Linux TEE bus device toprovide a service of sealing/unsealing of trusted keys in case platformdoesn't posses a TPM device or like.To do sealing/unsealing we use system pseudo TA service to derive ahardware unquie key to perform authenticated encryption/decryption(using TEE_ALG_AES_GCM algo).Also, this early TA only accepts login with a new private login methodspecifically used by REE kernel (TEE_LOGIN_REE_KERNEL).Signed-off-by: Sumit Garg <sumit.garg@linaro.org>Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>Reviewed-by: Jerome Forissier <jerome@forissier.org>