KEYS: trusted: Introduce TEE based Trusted Keys

Add support for TEE based trusted keys where TEE provides the functionality
to seal and unseal trusted keys using hardware unique key.

Refer to Documentation/staging/tee.rst for detailed information about TEE.

Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
Tested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
This commit is contained in:
Sumit Garg
2021-03-01 18:41:25 +05:30
committed by Jarkko Sakkinen
parent 5d0682be31
commit 0a95ebc913
4 changed files with 340 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (C) 2019-2021 Linaro Ltd.
*
* Author:
* Sumit Garg <sumit.garg@linaro.org>
*/
#ifndef __TEE_TRUSTED_KEY_H
#define __TEE_TRUSTED_KEY_H
#include <keys/trusted-type.h>
extern struct trusted_key_ops trusted_key_tee_ops;
#endif