Deeptrust for PCI security architecture  SPEC98T17 rev E
Specification of Deeptrust, the Security Architecture for Cortex-M.

List of functions

int ssbx_display_display_image (int image_id)
 Displays a pre-defined image on the display. More...
 
int ssbx_display_prompt (unsigned char *kbd_str, int *max_length, int timeout, int message_id, char mask, int font_id)
 Displays a pre-defined prompt on the display and waits for user entry. More...
 
int ssbx_display_write_message (int message_id)
 Displays a pre-defined text message on the display. More...
 
int ssbx_touch_get_entry (char *dest, int *len)
 Gets input from the virtual keypad on the touchscreen. More...
 

Detailed Description

This module offers some input-output services that allow interaction with users (keypad, touchscreen, display)

Function Documentation

§ ssbx_display_display_image()

int ssbx_display_display_image ( int  image_id)

Displays a pre-defined image on the display.

Depending on the current state (see ssbx_set_state), the image will be displayed or an error will be returned.

Parameters
[in]image_idThe image identifier
Returns
See error codes

§ ssbx_display_prompt()

int ssbx_display_prompt ( unsigned char *  kbd_str,
int *  max_length,
int  timeout,
int  message_id,
char  mask,
int  font_id 
)

Displays a pre-defined prompt on the display and waits for user entry.

Depending on the current state (see ssbx_set_state), the prompt will be displayed or an error will be returned.

Parameters
kbd_strThe keyboard string
[in]timeoutThe timeout
[in]message_idThe message identifier
[in]maskThe mask character to display in place of user input
Returns
See error codes

§ ssbx_display_write_message()

int ssbx_display_write_message ( int  message_id)

Displays a pre-defined text message on the display.

Depending on the current state (see ssbx_set_state), the text message will be displayed or an error will be returned.

Parameters
[in]message_idThe message identifier
Returns
See error codes

§ ssbx_touch_get_entry()

int ssbx_touch_get_entry ( char *  dest,
int *  len 
)

Gets input from the virtual keypad on the touchscreen.

This operation is allowed only if the PCI Secure Services box is not processing a PIN.

Parameters
destThe destination
[in,out]lenThe key length
Returns
See error codes