18 #ifndef _VAL_INTERFACES_H_ 19 #define _VAL_INTERFACES_H_ 27 val_status_t (*print) (print_verbosity_t verbosity,
28 const char *string, uint32_t data);
29 val_status_t (*set_status) (uint32_t status);
30 uint32_t (*get_status) (void);
31 void (*
test_init) (uint32_t test_num, char8_t *desc,
32 uint32_t test_bitfield);
33 void (*test_exit) (void);
34 val_status_t (*err_check_set) (uint32_t checkpoint, val_status_t status);
35 val_status_t (*target_get_config) (cfg_id_t cfg_id, uint8_t **data, uint32_t *size);
36 val_status_t (*execute_non_secure_tests) (uint32_t test_num, client_test_t *tests_list,
38 val_status_t (*switch_to_secure_client) (uint32_t test_num);
39 val_status_t (*execute_secure_test_func) (psa_handle_t *handle,
test_info_t test_info,
41 val_status_t (*ipc_connect) (uint32_t sid, uint32_t minor_version,
42 psa_handle_t *handle );
43 val_status_t (*ipc_call) (psa_handle_t handle,
psa_invec *in_vec,
46 void (*ipc_close) (psa_handle_t handle);
47 val_status_t (*get_secure_test_result) (psa_handle_t *handle);
48 val_status_t (*nvmem_read) (uint32_t offset,
void *buffer,
int size);
49 val_status_t (*nvmem_write) (uint32_t offset,
void *buffer,
int size);
50 val_status_t (*wd_timer_init) (wd_timeout_type_t timeout_type);
51 val_status_t (*wd_timer_enable) (void);
52 val_status_t (*wd_timer_disable) (void);
53 val_status_t (*wd_reprogram_timer) (wd_timeout_type_t timeout_type);
54 val_status_t (*set_boot_flag) (boot_state_t state);
55 val_status_t (*get_boot_flag) (boot_state_t *state);
56 int32_t (*crypto_function) (
int type, ...);
57 uint32_t (*its_function) (
int type, ...);
58 uint32_t (*ps_function) (
int type, ...);
59 int32_t (*attestation_function) (
int type, ...);
63 uint32_t (*framework_version) (void);
64 uint32_t (*version) (uint32_t sid);
65 psa_handle_t (*connect) (uint32_t sid, uint32_t minor_version);
66 psa_status_t (*call) (psa_handle_t handle,
72 void (*close) (psa_handle_t handle);
79 test_fptr_t entry_addr;
void test_init()
Test Watchdog init with a valid config.
Copyright (c) 2018-2019, Arm Limited or its affiliates.
Copyright (c) 2018-2019, Arm Limited or its affiliates.
Structure which describes a scatter-gather output buffer.
Structure that describes a scatter-gather input buffer.
Copyright (c) 2018-2019, Arm Limited or its affiliates.