Files

20 lines
502 B
C
Raw Permalink Normal View History

#ifndef EIP712_H_
#define EIP712_H_
#ifdef HAVE_EIP712_FULL_SUPPORT
#include <stdbool.h>
#include <stdint.h>
2022-07-19 11:49:18 +02:00
#define DOMAIN_STRUCT_NAME "EIP712Domain"
2022-07-19 11:49:18 +02:00
bool handle_eip712_struct_def(const uint8_t *const apdu_buf);
bool handle_eip712_struct_impl(const uint8_t *const apdu_buf);
bool handle_eip712_sign(const uint8_t *const apdu_buf);
bool handle_eip712_filtering(const uint8_t *const apdu_buf);
void handle_eip712_return_code(bool success);
2022-07-19 11:49:18 +02:00
#endif // HAVE_EIP712_FULL_SUPPORT
2022-07-19 11:49:18 +02:00
#endif // EIP712_H_