1 /* SPDX-License-Identifier: GPL-2.0-only */ 1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* 2 /* 3 * Copyright (C) 2021 sigma star gmbh 3 * Copyright (C) 2021 sigma star gmbh 4 * 4 * 5 * Specifies paes key slot handles for NXP's D 5 * Specifies paes key slot handles for NXP's DCP (Data Co-Processor) to be used 6 * with the crypto_skcipher_setkey(). 6 * with the crypto_skcipher_setkey(). 7 */ 7 */ 8 8 9 #ifndef MXS_DCP_H 9 #ifndef MXS_DCP_H 10 #define MXS_DCP_H 10 #define MXS_DCP_H 11 11 12 #define DCP_PAES_KEYSIZE 1 12 #define DCP_PAES_KEYSIZE 1 13 #define DCP_PAES_KEY_SLOT0 0x00 13 #define DCP_PAES_KEY_SLOT0 0x00 14 #define DCP_PAES_KEY_SLOT1 0x01 14 #define DCP_PAES_KEY_SLOT1 0x01 15 #define DCP_PAES_KEY_SLOT2 0x02 15 #define DCP_PAES_KEY_SLOT2 0x02 16 #define DCP_PAES_KEY_SLOT3 0x03 16 #define DCP_PAES_KEY_SLOT3 0x03 17 #define DCP_PAES_KEY_UNIQUE 0xfe 17 #define DCP_PAES_KEY_UNIQUE 0xfe 18 #define DCP_PAES_KEY_OTP 0xff 18 #define DCP_PAES_KEY_OTP 0xff 19 19 20 #endif /* MXS_DCP_H */ 20 #endif /* MXS_DCP_H */ 21 21
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.