Files
app-ethereum/src_features/stark_getPublicKey/logic_stark_getPublicKey.c

15 lines
312 B
C
Raw Normal View History

2020-06-27 13:24:04 +02:00
#ifdef HAVE_STARKWARE
#include <string.h>
2020-06-27 13:24:04 +02:00
#include "shared_context.h"
#include "feature_stark_getPublicKey.h"
uint32_t set_result_get_stark_publicKey() {
uint32_t tx = 0;
2020-11-24 10:23:45 +01:00
memmove(G_io_apdu_buffer + tx, tmpCtx.publicKeyContext.publicKey.W, 65);
2020-06-27 13:24:04 +02:00
tx += 65;
return tx;
}
#endif // HAVE_STARKWARE