Searched hist:d38f96356bdf7996620f902a2652f69190d98d56 (Results 1 – 2 of 2) sorted by relevance
| /optee_os/ta/pkcs11/src/ |
| H A D | pkcs11_token.h | d38f96356bdf7996620f902a2652f69190d98d56 Mon Mar 02 12:51:28 UTC 2020 Etienne Carriere <etienne.carriere@linaro.org> ta: pkcs11: speculation safe lookup of token instance
Change get_token_id() to be safe against speculation execution for IDs provided by client. This change is needed for TA command handlers relying on slot/token IDs provided by client applications.
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
|
| H A D | pkcs11_token.c | d38f96356bdf7996620f902a2652f69190d98d56 Mon Mar 02 12:51:28 UTC 2020 Etienne Carriere <etienne.carriere@linaro.org> ta: pkcs11: speculation safe lookup of token instance
Change get_token_id() to be safe against speculation execution for IDs provided by client. This change is needed for TA command handlers relying on slot/token IDs provided by client applications.
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
|