-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add more heart beats #117
Add more heart beats #117
Conversation
@@ -113,6 +113,7 @@ | |||
|
|||
// NOTE: Uses global hdPath / HDPATH_LEN_DEFAULT | |||
static zxerr_t crypto_extractPublicKey(uint8_t *pubKey, uint16_t pubKeyLen) { | |||
io_seproxyhal_io_heartbeat(); |
Check warning
Code scanning / CodeQL
Implicit function declaration Warning
@@ -149,6 +151,7 @@ | |||
// handleGetAddrSecp256K1 | |||
// NOTE: Uses global hdPath / HDPATH_LEN_DEFAULT (indirectly) | |||
zxerr_t crypto_fillAddress_secp256k1(uint8_t *buffer, uint16_t buffer_len, uint16_t *replyLen) { | |||
io_seproxyhal_io_heartbeat(); |
Check warning
Code scanning / CodeQL
Implicit function declaration Warning
@@ -224,6 +229,7 @@ | |||
// handleInitTX step 1/2 | |||
zxerr_t crypto_extracttx_sapling(uint8_t *buffer, uint16_t bufferLen, const uint8_t *txdata, const uint16_t txdatalen) { | |||
ZEMU_LOGF(100, "crypto_extracttx_sapling\n"); | |||
io_seproxyhal_io_heartbeat(); |
Check warning
Code scanning / CodeQL
Implicit function declaration Warning
@@ -430,6 +440,7 @@ | |||
|
|||
// handleExtractOutputData | |||
zxerr_t crypto_extract_output_rnd(uint8_t *buffer, uint16_t bufferLen, uint16_t *replyLen) { | |||
io_seproxyhal_io_heartbeat(); |
Check warning
Code scanning / CodeQL
Implicit function declaration Warning
@@ -469,6 +480,7 @@ | |||
if (get_state() != STATE_CHECKING_ALL_TXDATA) { | |||
return zxerr_unknown; | |||
} | |||
io_seproxyhal_io_heartbeat(); |
Check warning
Code scanning / CodeQL
Implicit function declaration Warning
@@ -499,6 +511,7 @@ | |||
|
|||
uint8_t hash[HASH_SIZE] = {0}; | |||
size_t sequence_hash_offset = 0; | |||
io_seproxyhal_io_heartbeat(); |
Check warning
Code scanning / CodeQL
Implicit function declaration Warning
@@ -903,6 +917,7 @@ | |||
// handleCheckandSign step 8/11 | |||
zxerr_t crypto_checkencryptions_sapling(uint8_t *buffer, uint16_t bufferLen, const uint8_t *txdata) { | |||
zemu_log_stack("crypto_checkencryptions_sapling"); | |||
io_seproxyhal_io_heartbeat(); |
Check warning
Code scanning / CodeQL
Implicit function declaration Warning
@@ -1262,6 +1281,7 @@ | |||
|
|||
tmp_sapling_ivk_and_default_div *out = (tmp_sapling_ivk_and_default_div *)buffer; | |||
MEMZERO(buffer, bufferLen); | |||
io_seproxyhal_io_heartbeat(); |
Check warning
Code scanning / CodeQL
Implicit function declaration Warning
@@ -1421,6 +1442,7 @@ | |||
if (bufferLen < sizeof(tmp_buf_addr_s)) { | |||
return zxerr_unknown; | |||
} | |||
io_seproxyhal_io_heartbeat(); |
Check warning
Code scanning / CodeQL
Implicit function declaration Warning
Add more heart beats (Zondax#117)
🔗 zboto Link