xref: /linux/include/soc/fsl/dcp.h (revision 621cde16e49b3ecf7d59a8106a20aaebfb4a59a9)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Copyright (C) 2021 sigma star gmbh
4  *
5  * Specifies paes key slot handles for NXP's DCP (Data Co-Processor) to be used
6  * with the crypto_skcipher_setkey().
7  */
8 
9 #ifndef MXS_DCP_H
10 #define MXS_DCP_H
11 
12 #define DCP_PAES_KEYSIZE 1
13 #define DCP_PAES_KEY_SLOT0 0x00
14 #define DCP_PAES_KEY_SLOT1 0x01
15 #define DCP_PAES_KEY_SLOT2 0x02
16 #define DCP_PAES_KEY_SLOT3 0x03
17 #define DCP_PAES_KEY_UNIQUE 0xfe
18 #define DCP_PAES_KEY_OTP 0xff
19 
20 #endif /* MXS_DCP_H */
21