Add EIP 712 signing v0
This commit is contained in:
committed by
TamtamHero
parent
c308b55535
commit
27c34e271a
@@ -71,10 +71,19 @@ typedef struct messageSigningContext_t {
|
||||
uint32_t remainingLength;
|
||||
} messageSigningContext_t;
|
||||
|
||||
typedef struct messageSigningContext712_t {
|
||||
uint8_t pathLength;
|
||||
uint32_t bip32Path[MAX_BIP32_PATH];
|
||||
uint8_t domainHash[32];
|
||||
uint8_t messageHash[32];
|
||||
} messageSigningContext712_t;
|
||||
|
||||
|
||||
typedef union {
|
||||
publicKeyContext_t publicKeyContext;
|
||||
transactionContext_t transactionContext;
|
||||
messageSigningContext_t messageSigningContext;
|
||||
messageSigningContext712_t messageSigningContext712;
|
||||
} tmpCtx_t;
|
||||
|
||||
typedef union {
|
||||
|
||||
Reference in New Issue
Block a user