Definition of the User Keystore API. More...
Data Structures | |
struct | keystore_data_slot_info_t |
struct | keystore_data_t |
Typedefs | |
typedef struct keystore_data_slot_info_t | keystore_data_slot_info_t |
typedef struct keystore_data_t | keystore_data_t |
Functions | |
void | fsl_shw_init_keystore (fsl_shw_kso_t *keystore, fsl_shw_return_t(*data_init)(fsl_shw_uco_t *user_ctx, void **user_data), void(*data_cleanup)(fsl_shw_uco_t *user_ctx, void **user_data), fsl_shw_return_t(*slot_alloc)(void *user_data, uint32_t size, uint64_towner_id, uint32_t *slot), fsl_shw_return_t(*slot_dealloc)(void *user_data, uint64_towner_id, uint32_tslot), fsl_shw_return_t(*slot_verify_access)(void *user_data, uint64_towner_id, uint32_tslot), void *(*slot_get_address)(void *user_data, uint32_t handle), uint32_t(*slot_get_base)(void *user_data, uint32_t handle), uint32_t(*slot_get_offset)(void *user_data, uint32_t handle), uint32_t(*slot_get_slot_size)(void *user_data, uint32_thandle)) |
void | fsl_shw_init_keystore_default (fsl_shw_kso_t *keystore) |
fsl_shw_return_t | fsl_shw_establish_keystore (fsl_shw_uco_t *user_ctx, fsl_shw_kso_t *keystore) |
void | fsl_shw_release_keystore (fsl_shw_uco_t *user_ctx, fsl_shw_kso_t *keystore) |
fsl_shw_return_t | keystore_slot_alloc (fsl_shw_kso_t *keystore, uint32_t size, uint64_t owner_id, uint32_t *slot) |
fsl_shw_return_t | keystore_slot_dealloc (fsl_shw_kso_t *keystore, uint64_t owner_id, uint32_t slot) |
fsl_shw_return_t | keystore_slot_load (fsl_shw_kso_t *keystore, uint64_t owner_id, uint32_t slot, const uint8_t *key_data, uint32_t key_length) |
fsl_shw_return_t | keystore_slot_read (fsl_shw_kso_t *keystore, uint64_t owner_id, uint32_t slot, uint32_t key_length, uint8_t *key_data) |
fsl_shw_return_t | keystore_slot_encrypt (fsl_shw_uco_t *user_ctx, fsl_shw_kso_t *keystore, uint64_t owner_id, uint32_t slot, uint32_t length, uint8_t *destination) |
fsl_shw_return_t | keystore_slot_decrypt (fsl_shw_uco_t *user_ctx, fsl_shw_kso_t *keystore, uint64_t owner_id, uint32_t slot, uint32_t length, const uint8_t *source) |
fsl_shw_return_t | shw_kso_init_data (fsl_shw_uco_t *user_ctx, void **user_data) |
void | shw_kso_cleanup_data (fsl_shw_uco_t *user_ctx, void **user_data) |
fsl_shw_return_t | shw_slot_verify_access (void *user_data, uint64_t owner_id, uint32_t slot) |
fsl_shw_return_t | shw_slot_alloc (void *user_data, uint32_t size, uint64_t owner_id, uint32_t *slot) |
fsl_shw_return_t | shw_slot_dealloc (void *user_data, uint64_t owner_id, uint32_t slot) |
void * | shw_slot_get_address (void *user_data, uint32_t slot) |
uint32_t | shw_slot_get_base (void *user_data, uint32_t slot) |
uint32_t | shw_slot_get_offset (void *user_data, uint32_t slot) |
uint32_t | shw_slot_get_slot_size (void *user_data, uint32_t slot) |
Definition of the User Keystore API.
© Freescale Semiconductor, Inc., 2007.
All rights reserved. Freescale Confidential Proprietary NDA Required |
![]() |