tee: add cancellation support to client interface
authorIgor Opaniuk <igor.opaniuk@linaro.org>
Thu, 24 Jan 2019 17:32:31 +0000 (19:32 +0200)
committerJens Wiklander <jens.wiklander@linaro.org>
Thu, 28 Feb 2019 12:49:29 +0000 (13:49 +0100)
commit4f062dc1b759299851939524ff755b20542d8fc1
treeb54608b54650df3efd4d3c0c8fac484874da31fa
parent5fe8b1cc6a03c46b3061e808256d39dcebd0d0f0
tee: add cancellation support to client interface

Add support of cancellation request to the TEE kernel internal
client interface. Can be used by software TPM drivers, that leverage
TEE under the hood (for instance TPM2.0 mobile profile), for requesting
cancellation of time-consuming operations (RSA key-pair generation etc.).

Signed-off-by: Igor Opaniuk <igor.opaniuk@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
drivers/tee/tee_core.c
include/linux/tee_drv.h