Searched hist:d9281a0c057c2a1c3a023e8b26582e06314b7662 (Results 1 – 1 of 1) sorted by relevance
| /optee_os/core/tee/ |
| H A D | tee_svc_cryp.c | d9281a0c057c2a1c3a023e8b26582e06314b7662 Wed Aug 19 12:31:39 UTC 2020 Jens Wiklander <jens.wiklander@linaro.org> core: check that certain object attributes are consistent with max key size
When populating a crypto object check that certain attributes are consistent with maximum key size. For example the attribute TEE_ATTR_DSA_PRIME must not have more significant bits than max key size. All these attributes are flagged with TEE_TYPE_ATTR_BIGNUM_MAXBITS and tee_svc_cryp_obj_populate_type() is updated as needed.
Acked-by: Etienne Carriere <etienne.carriere@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
|