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

13 lines
227 B
C
Raw Normal View History

2020-10-27 11:16:50 +01:00
#ifdef HAVE_ETH2
#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