Skip to content
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

Remove exceptions from public and private key code #34

Merged
merged 6 commits into from
Oct 30, 2023

Conversation

relatko
Copy link
Collaborator

@relatko relatko commented Sep 30, 2023

No description provided.

@relatko relatko force-pushed the to_merge_with_LedgerHQ_1_0_5b branch 3 times, most recently from da76cee to f6ceb9c Compare October 2, 2023 10:26
@relatko relatko force-pushed the to_merge_with_LedgerHQ_1_0_5b branch from f6ceb9c to 5d55ca6 Compare October 3, 2023 11:16
@relatko relatko force-pushed the to_merge_with_LedgerHQ_1_0_5b branch from 873c61c to a3661c6 Compare October 6, 2023 15:05
@relatko relatko force-pushed the to_merge_with_LedgerHQ_1_0_5b branch from 0732e0b to 83703bf Compare October 7, 2023 09:07
@relatko relatko force-pushed the to_merge_with_LedgerHQ_1_0_5b branch from 44e50fc to 7eb02b9 Compare October 10, 2023 18:11
src/decodeDH.c Show resolved Hide resolved
src/decodeDH.c Show resolved Hide resolved
src/diffieHellman.c Show resolved Hide resolved
src/diffieHellman.c Show resolved Hide resolved
src/diffieHellman.c Show resolved Hide resolved
src/signTransaction.c Outdated Show resolved Hide resolved
G_io_apdu_buffer,
&bufferLen);
if (err != SUCCESS) {
THROW(err);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need to zero G_io_apdu_buffer?

src/signTransaction.c Show resolved Hide resolved
src/signTransaction.c Show resolved Hide resolved
src/utils.h Outdated
{ \
if (!(condition)) { \
TRACE(); \
error_to_return = error; \
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
error_to_return = error; \
error_to_return = (error); \

@relatko relatko force-pushed the to_merge_with_LedgerHQ_1_0_5b branch from e0797fc to 755ccf5 Compare October 30, 2023 09:20
@relatko relatko force-pushed the to_merge_with_LedgerHQ_1_0_5b branch from 755ccf5 to 7d38be1 Compare October 30, 2023 09:28
@relatko relatko merged commit e722ab0 into to_merge_with_LedgerHQ_1_0_5 Oct 30, 2023
42 checks passed
@relatko relatko deleted the to_merge_with_LedgerHQ_1_0_5b branch October 30, 2023 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants