Files
app-ethereum/src_features/getEth2PublicKey/logic_getEth2PublicKey.c

14 lines
261 B
C
Raw Permalink Normal View History

2020-10-27 11:16:50 +01:00
#ifdef HAVE_ETH2
#include <string.h>
2020-10-27 11:16:50 +01:00
#include "shared_context.h"
uint32_t set_result_get_eth2_publicKey() {
uint32_t tx = 0;
2020-11-24 10:23:45 +01:00
memmove(G_io_apdu_buffer + tx, tmpCtx.publicKeyContext.publicKey.W, 48);
2020-10-27 11:16:50 +01:00
tx += 48;
return tx;
}
#endif // HAVE_ETH2