commit | 6c59a2e942eef99ce17bb694b8ab7a84f41120e6 | [log] [tgz] |
---|---|---|
author | Jerome Forissier <jerome@forissier.org> | Mon Sep 28 11:01:45 2020 +0200 |
committer | Jérôme Forissier <jerome@forissier.org> | Mon Sep 28 13:15:47 2020 +0200 |
tree | c1a7aee2e6f6ba7a56329976d33bd2e3d56a9a47 | |
parent | c6eb00a9d83bf068a37e4806c97f582bb16e2973 [diff] |
random: use private buffer TEE_GenerateRandom() has the [out] annotation which mandates that the buffer "SHALL not reside in a block of shared memory owned by a client of the Trusted Application" [1]. Fix this by allocating a temporary buffer from the heap. [1] TEE Internal Core API Specification v1.1 Signed-off-by: Jerome Forissier <jerome@forissier.org> Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
This git contains source code for sample host and Trusted Application that can be used directly in the OP-TEE project.
All official OP-TEE documentation has moved to http://optee.readthedocs.io. The information that used to be here in this git can be found under optee_examples.
// OP-TEE core maintainers