Files
app-ethereum/src_features/signMessageEIP712/encode_field.h

14 lines
366 B
C
Raw Normal View History

2022-05-02 15:30:14 +02:00
#ifndef ENCODE_FIELD_H_
#define ENCODE_FIELD_H_
#include <stdint.h>
#include <stdbool.h>
#define EIP_712_ENCODED_FIELD_LENGTH 32
2022-04-14 18:22:35 +02:00
void *encode_integer(const uint8_t *const value, uint8_t length);
void *encode_boolean(const bool *const value, uint8_t length);
void *encode_address(const uint8_t *const value, uint8_t length);
2022-05-02 15:30:14 +02:00
#endif // ENCODE_FIELD_H_