-
Notifications
You must be signed in to change notification settings - Fork 224
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minor changes related to code review
- Loading branch information
BTChip github
committed
Mar 22, 2022
1 parent
375eb1c
commit d04ed9a
Showing
2 changed files
with
5 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 2 additions & 4 deletions
6
src_features/performPrivacyOperation/logic_performPrivacyOperation.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
#include "shared_context.h" | ||
|
||
uint32_t set_result_perform_privacy_operation() { | ||
uint32_t tx = 0, i; | ||
for (i=0; i<32; i++) { | ||
for (uint8_t i=0; i<32; i++) { | ||
G_io_apdu_buffer[i] = tmpCtx.publicKeyContext.publicKey.W[32 - i]; | ||
} | ||
tx = 32; | ||
return tx; | ||
return 32; | ||
} |