2020-10-27 11:16:50 +01:00
|
|
|
#ifdef HAVE_ETH2
|
|
|
|
|
|
2022-03-08 17:59:36 +01:00
|
|
|
#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;
|
|
|
|
|
}
|
|
|
|
|
|
2022-03-08 17:59:36 +01:00
|
|
|
#endif // HAVE_ETH2
|