SCM Registers

Defines

#define SCM_RED_START   0x00000000
#define SCM_BLACK_START   0x00000004
#define SCM_LENGTH   0x00000008
#define SCM_CONTROL   0x0000000C
#define SCM_STATUS   0x00000010
#define SCM_ERROR_STATUS   0x00000014
#define SCM_INTERRUPT_CTRL   0x00000018
#define SCM_CONFIGURATION   0x0000001C
#define SCM_INIT_VECTOR_0   0x00000020
#define SCM_INIT_VECTOR_1   0x00000024
#define SCM_RED_MEMORY   0x00000400
#define SCM_BLACK_MEMORY   0x00000800

Detailed Description

These values are offsets into the SCC for the Secure Memory (SCM) registers. They are used in the register_offset parameter of scc_read_register() and scc_write_register().


Define Documentation

#define SCM_BLACK_MEMORY   0x00000800

Starting location of first block of Black memory

Referenced by scc_dealloc_slot(), scc_decrypt(), scc_decrypt_slot(), scc_encrypt(), scc_encrypt_slot(), and scc_grab_config_values().

#define SCM_BLACK_START   0x00000004

Starting block offset in black memory for cipher function.

Referenced by scc_crypt(), scc_decrypt_slot(), scc_encrypt(), and scc_encrypt_slot().

#define SCM_CONFIGURATION   0x0000001C
#define SCM_CONTROL   0x0000000C

SCM Control register. See SCM Control Register definitions for details.

Referenced by scc_do_crypto().

#define SCM_ERROR_STATUS   0x00000014
#define SCM_INIT_VECTOR_0   0x00000020

Upper Half of the Initialization Vector

Referenced by scc_crypt(), scc_decrypt_slot(), and scc_encrypt_slot().

#define SCM_INIT_VECTOR_1   0x00000024

Lower Half of the Initialization Vector

Referenced by scc_decrypt_slot(), and scc_encrypt_slot().

#define SCM_INTERRUPT_CTRL   0x00000018
#define SCM_LENGTH   0x00000008

Number of blocks to process during cipher function

Referenced by scc_do_crypto().

#define SCM_RED_MEMORY   0x00000400

Starting location of first block of Red memory

Referenced by scc_dealloc_slot(), scc_decrypt(), scc_encrypt(), scc_get_slot_info(), scc_load_slot(), and scc_read_slot().

#define SCM_RED_START   0x00000000

Starting block offset in red memory for cipher function.

Referenced by offset_within_scm(), scc_crypt(), scc_decrypt_slot(), scc_encrypt(), and scc_encrypt_slot().

#define SCM_STATUS   0x00000010
footer
©  Freescale Semiconductor, Inc., 2007.  All rights reserved.
Freescale Confidential Proprietary
NDA Required
doxygen