AM65x MCU+ SDK  09.01.00

Introduction

DMSC controls the power management, security and resource management of the device.

Data Structures

struct  tisci_msg_keywriter_req
 This file contains: More...
 
struct  tisci_msg_keywriter_resp
 Response message for keywriter. More...
 

Functions

struct tisci_msg_keywriter_req __attribute__ ((__packed__))
 

Enumerations

enum  keywriter_error_codes {
  KEYWR_ERR_DECRYPT_AES256_KEY = 0, KEYWR_ERR_DECRYPT_BMEK = 1, KEYWR_ERR_DECRYPT_BMPKH = 2, KEYWR_ERR_DECRYPT_SMEK = 3,
  KEYWR_ERR_DECRYPT_SMPKH = 4, KEYWR_ERR_INTERAL_OP = 5, KEYWR_ERR_INVALID_EXT_COUNT = 6, KEYWR_ERR_PARSE_CERT = 7,
  KEYWR_ERR_PARSE_FEK = 8, KEYWR_ERR_PARSE_SMPK_CERT = 9, KEYWR_ERR_PROGR_BMEK = 10, KEYWR_ERR_PROGR_BMPKH_PART_1 = 11,
  KEYWR_ERR_PROGR_BMPKH_PART_2 = 12, KEYWR_ERR_PROGR_KEYCOUNT = 13, KEYWR_ERR_PROGR_KEYREV = 14, KEYWR_ERR_PROGR_SMEK = 15,
  KEYWR_ERR_PROGR_SMPKH_PART_1 = 16, KEYWR_ERR_PROGR_SMPKH_PART_2 = 17, KEYWR_ERR_VALIDATION_CERT = 18, KEYWR_ERR_VALIDATION_SMPK_CERT = 19,
  KEYWR_ERR_VALIDATION_BMPK_KEY = 20, KEYWR_ERR_VALIDATION_SMPK_KEY = 21, KEYWR_ERR_WRITE_PROT_KEYCOUNT = 22, KEYWR_ERR_WRITE_PROT_KEYREV = 23,
  KEYWR_ERR_IMG_INTEG_SMPK_CERT = 24, KEYWR_ERR_PROGR_MSV = 25, KEYWR_ERR_PROGR_SWREV = 26, KEYWR_ERR_PROGR_FW_CFG_REV = 27,
  KEYWR_ERR_DECRYPT_EXT_OTP = 28, KEYWR_ERR_PROGR_EXT_OTP = 29, KEYWR_ERR_PROGR_OVERRIDE = 30
}
 OTP Keywriter error code bit indices. More...
 

Macros

#define NUM_KEYWR_ERR_CODES   (31)
 

Macro Definition Documentation

◆ NUM_KEYWR_ERR_CODES

#define NUM_KEYWR_ERR_CODES   (31)

Enumeration Type Documentation

◆ keywriter_error_codes

OTP Keywriter error code bit indices.

Enumerator
KEYWR_ERR_DECRYPT_AES256_KEY 

Error in Decrypting AES256 key randomly generated by customer

KEYWR_ERR_DECRYPT_BMEK 

Error in Decrypting BMEK extension field

KEYWR_ERR_DECRYPT_BMPKH 

Error in Decrypting BMPKH extension field

KEYWR_ERR_DECRYPT_SMEK 

Error in Decrypting SMEK extension field

KEYWR_ERR_DECRYPT_SMPKH 

Error in Decrypting SMPKH extension field

KEYWR_ERR_INTERAL_OP 

Internal Operation Error

KEYWR_ERR_INVALID_EXT_COUNT 

Invalid extension count in x509 certificate. Either SMPKH, SMEK pair or BMPKH, BMEK, SMPKH, SMEK should be used. Any other combination will trigger error

KEYWR_ERR_PARSE_CERT 

Error in parsing certificate

KEYWR_ERR_PARSE_FEK 

Error in parsing TI FEK (appended to TIFS binary, before encryption)

KEYWR_ERR_PARSE_SMPK_CERT 

Error in parsing SMPK signed certificate (certificate that contains customer key data)

KEYWR_ERR_PROGR_BMEK 

Error in programming BMEK into SoC eFuses

KEYWR_ERR_PROGR_BMPKH_PART_1 

Error in programming BMPKH part 1 into SoC eFuses

KEYWR_ERR_PROGR_BMPKH_PART_2 

Error in programming BMPKH part 2 into SoC eFuses

KEYWR_ERR_PROGR_KEYCOUNT 

Error in programming KEY COUNT into SoC eFuses

KEYWR_ERR_PROGR_KEYREV 

Error in programming KEY REV into SoC eFuses

KEYWR_ERR_PROGR_SMEK 

Error in programming SMEK into SoC eFuses

KEYWR_ERR_PROGR_SMPKH_PART_1 

Error in programming SMPKH part 1 into SoC eFuses

KEYWR_ERR_PROGR_SMPKH_PART_2 

Error in programming SMPKH part 2 into SoC eFuses

KEYWR_ERR_VALIDATION_CERT 

Error validating certificate

KEYWR_ERR_VALIDATION_SMPK_CERT 

Error validating SMPK signed certificate

KEYWR_ERR_VALIDATION_BMPK_KEY 

Error validating BMPK key

KEYWR_ERR_VALIDATION_SMPK_KEY 

Error validating SMPK key

KEYWR_ERR_WRITE_PROT_KEYCOUNT 

Error write protecting key count row

KEYWR_ERR_WRITE_PROT_KEYREV 

Error write protecting key revision row

KEYWR_ERR_IMG_INTEG_SMPK_CERT 

SMPK signed certificate image integrity failed

KEYWR_ERR_PROGR_MSV 

Error in programming MSV into SoC eFuses

KEYWR_ERR_PROGR_SWREV 

Error in programming SWREV into SoC eFuses

KEYWR_ERR_PROGR_FW_CFG_REV 

Error in programming FW CFG REV into SoC eFuses

KEYWR_ERR_DECRYPT_EXT_OTP 

Error in Decrypting EXT OTP extension field

KEYWR_ERR_PROGR_EXT_OTP 

Error in programming EXT OTP extension field

KEYWR_ERR_PROGR_OVERRIDE 

Error in programming existing field without override specified

Function Documentation

◆ __attribute__()

struct tisci_msg_keywriter_req __attribute__ ( (__packed__)  )

Variable Documentation

◆ __attribute__

enum keywriter_error_codes __attribute__