dcp.h 490 B

1234567891011121314151617181920
  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. #ifndef MXS_DCP_H
  9. #define MXS_DCP_H
  10. #define DCP_PAES_KEYSIZE 1
  11. #define DCP_PAES_KEY_SLOT0 0x00
  12. #define DCP_PAES_KEY_SLOT1 0x01
  13. #define DCP_PAES_KEY_SLOT2 0x02
  14. #define DCP_PAES_KEY_SLOT3 0x03
  15. #define DCP_PAES_KEY_UNIQUE 0xfe
  16. #define DCP_PAES_KEY_OTP 0xff
  17. #endif /* MXS_DCP_H */