AM64x MCU+ SDK  08.00.00

Introduction

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

Data Structures

struct  tisci_msg_keywriter_req
 Declarations for all functions dealing with keywriter. 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
}
 

Macros

#define KEYWRTIER_H
 This file contains: More...
 

Macro Definition Documentation

◆ KEYWRTIER_H

#define KEYWRTIER_H

This file contains:

    WARNING!!: Autogenerated file from SYSFW. DO NOT MODIFY!!

Copyright (C) 2019-2021 Texas Instruments Incorporated - https://www.ti.com/

Enumeration Type Documentation

◆ keywriter_error_codes

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

Function Documentation

◆ __attribute__()

struct tisci_msg_keywriter_req __attribute__ ( (__packed__)  )

Variable Documentation

◆ __attribute__

enum keywriter_error_codes __attribute__