2020-06-27 13:24:04 +02:00
|
|
|
#ifdef HAVE_STARKWARE
|
|
|
|
|
|
2022-03-08 17:59:36 +01:00
|
|
|
#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;
|
|
|
|
|
}
|
|
|
|
|
|
2022-03-08 17:59:36 +01:00
|
|
|
#endif // HAVE_STARKWARE
|