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 |
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 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 |
SCM Configuration Register. See SCM Configuration Register Definitions for details.
Referenced by check_register_accessible(), scc_grab_config_values(), and scc_write_register().
#define SCM_CONTROL 0x0000000C |
SCM Control register. See SCM Control Register definitions for details.
Referenced by scc_do_crypto().
#define SCM_ERROR_STATUS 0x00000014 |
SCM Error Status Register. See SCM Error Status Register definitions for details.
Referenced by check_register_accessible(), copy_from_scc(), copy_to_scc(), scc_do_crypto(), scc_init(), and scc_zeroize_memories().
#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 |
SCM Interrupt Control Register. See SCM Interrupt Control Register definitions for details.
Referenced by check_register_accessible(), OS_DEV_ISR(), scc_cleanup(), scc_do_crypto(), scc_init(), scc_zeroize_memories(), and setup_interrupt_handling().
#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 |
SCM Status register. See SCM Status Register Definitions for details.
Referenced by check_register_accessible(), is_cipher_done(), OS_DEV_ISR(), scc_do_crypto(), scc_read_register(), and scc_write_register().
© Freescale Semiconductor, Inc., 2007.
All rights reserved. Freescale Confidential Proprietary NDA Required |
![]() |