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

Audit #103

Merged
merged 6 commits into from
Jan 3, 2025
Merged

Audit #103

merged 6 commits into from
Jan 3, 2025

Conversation

chcmedeiros
Copy link
Collaborator

No description provided.

MEMZERO(raw_privkey, 64);
}

MEMZERO(raw_privkey, 64);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Add a new line to improve visual clarity. We have the same if statement in lines 102 and 142. We can remove both of them

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Just added the new line. Regarding the other if statements, in those cases, what we are zeroizing are the function return arguments, so we can only set to zero in case of error.

@chcmedeiros chcmedeiros merged commit 16b0bb7 into dev Jan 3, 2025
28 checks passed
@chcmedeiros chcmedeiros deleted the audit branch January 3, 2025 13:54
chcmedeiros added a commit that referenced this pull request Jan 3, 2025
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