int fsl_shw_pco_check_auth_supported | ( | const fsl_shw_pco_t * | pc_info, | |
fsl_shw_acc_mode_t | mode | |||
) |
Determine whether a given Encryption-Authentication mode is supported.
pc_info | The Platform Capabilities Object to query. | |
mode | The Authentication mode. |
int fsl_shw_pco_check_black_key_supported | ( | const fsl_shw_pco_t * | pc_info | ) |
Determine whether Black Keys (key establishment / wrapping) is supported.
pc_info | The Platform Capabilities Object to query. |
int fsl_shw_pco_check_pk_supported | ( | const fsl_shw_pco_t * | pc_info | ) |
Determine whether Platform Key features are available
pc_info | The Platform Capabilities Object to query. |
int fsl_shw_pco_check_spo_supported | ( | const fsl_shw_pco_t * | pc_info | ) |
Determine whether Secure Partitions are supported
pc_info | The Platform Capabilities Object to query. |
int fsl_shw_pco_check_sw_keys_supported | ( | const fsl_shw_pco_t * | pc_info | ) |
Determine whether Software Key features are available
pc_info | The Platform Capabilities Object to query. |
int fsl_shw_pco_check_sym_supported | ( | const fsl_shw_pco_t * | pc_info, | |
fsl_shw_key_alg_t | algorithm, | |||
fsl_shw_sym_mode_t | mode | |||
) |
Determine whether the combination of a given symmetric algorithm and a given mode is supported.
pc_info | The Platform Capabilities Object to query. | |
algorithm | A Symmetric Cipher algorithm. | |
mode | A Symmetric Cipher mode. |
void fsl_shw_pco_get_driver_version | ( | const fsl_shw_pco_t * | pc_info, | |
uint32_t * | major, | |||
uint32_t * | minor | |||
) |
Get underlying driver version.
pc_info | The Platform Capabilities Object to query. | |
[out] | major | A pointer to where the major version of the driver is to be stored. |
[out] | minor | A pointer to where the minor version of the driver is to be stored. |
void fsl_shw_pco_get_hash_algorithms | ( | const fsl_shw_pco_t * | pc_info, | |
fsl_shw_hash_alg_t * | algorithms[], | |||
uint8_t * | algorithm_count | |||
) |
Get list of hash algorithms supported.
pc_info | The Platform Capabilities Object to query. | |
[out] | algorithms | A pointer which will be set to the list of algorithms. |
[out] | algorithm_count | The number of algorithms in the list at algorithms. |
void fsl_shw_pco_get_scc_driver_version | ( | const fsl_shw_pco_t * | pc_info, | |
uint32_t * | major, | |||
uint32_t * | minor | |||
) |
Get FSL SHW SCC driver version
pc_info | The Platform Capabilities Object to query. | |
[out] | major | A pointer to where the major version of the SCC driver is to be stored. |
[out] | minor | A pointer to where the minor version of the SCC driver is to be stored. |
uint32_t fsl_shw_pco_get_scm_block_size | ( | const fsl_shw_pco_t * | pc_info | ) |
Get the size of an SCM block, in bytes
pc_info | The Platform Capabilities Object to query. |
uint32_t fsl_shw_pco_get_scm_version | ( | const fsl_shw_pco_t * | pc_info | ) |
Get SCM hardware version
pc_info | The Platform Capabilities Object to query. |
void fsl_shw_pco_get_smn_size | ( | const fsl_shw_pco_t * | pc_info, | |
uint32_t * | black_size, | |||
uint32_t * | red_size | |||
) |
Get size of Black and Red RAM memory
pc_info | The Platform Capabilities Object to query. | |
[out] | black_size | A pointer to where the size of the Black RAM, in blocks, is to be placed. |
[out] | red_size | A pointer to where the size of the Red RAM, in blocks, is to be placed. |
uint32_t fsl_shw_pco_get_smn_version | ( | const fsl_shw_pco_t * | pc_info | ) |
Get SMN hardware version
pc_info | The Platform Capabilities Object to query. |
uint32_t fsl_shw_pco_get_spo_count | ( | const fsl_shw_pco_t * | pc_info | ) |
Get the number of Secure Partitions on this platform
pc_info | The Platform Capabilities Object to query. |
uint32_t fsl_shw_pco_get_spo_size_bytes | ( | const fsl_shw_pco_t * | pc_info | ) |
Get the size of a Secure Partitions
pc_info | The Platform Capabilities Object to query. |
void fsl_shw_pco_get_sym_algorithms | ( | const fsl_shw_pco_t * | pc_info, | |
fsl_shw_key_alg_t * | algorithms[], | |||
uint8_t * | algorithm_count | |||
) |
Get list of symmetric algorithms supported.
pc_info | The Platform Capabilities Object to query. | |
[out] | algorithms | A pointer to where to store the location of the list of algorithms. |
[out] | algorithm_count | A pointer to where to store the number of algorithms in the list at algorithms. |
void fsl_shw_pco_get_sym_modes | ( | const fsl_shw_pco_t * | pc_info, | |
fsl_shw_sym_mode_t * | modes[], | |||
uint8_t * | mode_count | |||
) |
Get list of symmetric modes supported.
pc_info | The Platform Capabilities Object to query. | |
[out] | modes | A pointer to where to store the location of the list of modes. |
[out] | mode_count | A pointer to where to store the number of algorithms in the list at modes. |
void fsl_shw_pco_get_version | ( | const fsl_shw_pco_t * | pc_info, | |
uint32_t * | major, | |||
uint32_t * | minor | |||
) |
Get FSL SHW API version
pc_info | The Platform Capabilities Object to query. | |
[out] | major | A pointer to where the major version of the API is to be stored. |
[out] | minor | A pointer to where the minor version of the API is to be stored. |
© Freescale Semiconductor, Inc., 2007.
All rights reserved. Freescale Confidential Proprietary NDA Required |
![]() |