Renamed EIP-712 UI function
This commit is contained in:
@@ -429,7 +429,7 @@ bool handle_eip712_struct_impl(const uint8_t *const apdu_buf)
|
||||
{
|
||||
if (N_storage.verbose_eip712)
|
||||
{
|
||||
ui_712_new_struct(path_get_root());
|
||||
ui_712_review_struct(path_get_root());
|
||||
reply_apdu = false;
|
||||
}
|
||||
ui_712_field_flags_reset();
|
||||
|
||||
@@ -159,7 +159,7 @@ void ui_712_next_field(void)
|
||||
*
|
||||
* @param[in] struct_ptr pointer to the structure
|
||||
*/
|
||||
void ui_712_new_struct(const void *const struct_ptr)
|
||||
void ui_712_review_struct(const void *const struct_ptr)
|
||||
{
|
||||
const char *struct_name;
|
||||
uint8_t struct_name_length;
|
||||
|
||||
@@ -33,7 +33,7 @@ typedef struct
|
||||
bool ui_712_init(void);
|
||||
void ui_712_deinit(void);
|
||||
void ui_712_next_field(void);
|
||||
void ui_712_new_struct(const void *const struct_ptr);
|
||||
void ui_712_review_struct(const void *const struct_ptr);
|
||||
void ui_712_new_field(const void *const field_ptr, const uint8_t *const data, uint8_t length);
|
||||
void ui_712_end_sign(void);
|
||||
unsigned int ui_712_approve(const bagl_element_t *e);
|
||||
|
||||
Reference in New Issue
Block a user