-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'keys-trusted-next-6.10-rc1' of git://git.kernel.org/pub/sc…
…m/linux/kernel/git/jarkko/linux-tpmdd Pull trusted keys updates from Jarkko Sakkinen: "This contains a new key type for the Data Co-Processor (DCP), which is an IP core built into many NXP SoCs such as i.mx6ull" * tag 'keys-trusted-next-6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd: docs: trusted-encrypted: add DCP as new trust source docs: document DCP-backed trusted keys kernel params MAINTAINERS: add entry for DCP-based trusted keys KEYS: trusted: Introduce NXP DCP-backed trusted keys KEYS: trusted: improve scalability of trust source config crypto: mxs-dcp: Add support for hardware-bound keys
- Loading branch information
Showing
10 changed files
with
554 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/* SPDX-License-Identifier: GPL-2.0-only */ | ||
/* | ||
* Copyright (C) 2021 sigma star gmbh | ||
*/ | ||
|
||
#ifndef TRUSTED_DCP_H | ||
#define TRUSTED_DCP_H | ||
|
||
extern struct trusted_key_ops dcp_trusted_key_ops; | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/* SPDX-License-Identifier: GPL-2.0-only */ | ||
/* | ||
* Copyright (C) 2021 sigma star gmbh | ||
* | ||
* Specifies paes key slot handles for NXP's DCP (Data Co-Processor) to be used | ||
* with the crypto_skcipher_setkey(). | ||
*/ | ||
|
||
#ifndef MXS_DCP_H | ||
#define MXS_DCP_H | ||
|
||
#define DCP_PAES_KEYSIZE 1 | ||
#define DCP_PAES_KEY_SLOT0 0x00 | ||
#define DCP_PAES_KEY_SLOT1 0x01 | ||
#define DCP_PAES_KEY_SLOT2 0x02 | ||
#define DCP_PAES_KEY_SLOT3 0x03 | ||
#define DCP_PAES_KEY_UNIQUE 0xfe | ||
#define DCP_PAES_KEY_OTP 0xff | ||
|
||
#endif /* MXS_DCP_H */ |
Oops, something went wrong.