Skip to content

Conversation

@Milerius
Copy link
Contributor

Description

How to test

run C++ unit tests

Types of changes

  • Improvements

Checklist

  • Create pull request as draft initially, unless its complete.
  • Add tests to cover changes as needed.
  • Update documentation as needed.
  • If there is a related Issue, mention it in the description.

@Milerius Milerius changed the title feat(memzero): add memzero c++ wrapper [Improvements]: Add memzero wrapper Jul 20, 2022
@Milerius Milerius linked an issue Jul 20, 2022 that may be closed by this pull request
@Milerius Milerius force-pushed the m/memzero_wrapper branch from e415205 to 3c03f1e Compare July 21, 2022 08:19
@Milerius Milerius marked this pull request as ready for review July 21, 2022 08:19
@Milerius Milerius requested a review from miloserdow July 21, 2022 08:19
Copy link
Contributor

@hewigovens hewigovens left a comment

Choose a reason for hiding this comment

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

Looks good, do we only use memset / memzero in HDWallet? I thought might be somewhere else too

@Milerius
Copy link
Contributor Author

Looks good, do we only use memset / memzero in HDWallet? I thought might be somewhere else too

Let's do it incrementally when we modify a file and we find a memzero/memset, use the new wrapper

@hewigovens hewigovens merged commit 9acde6a into master Jul 22, 2022
@hewigovens hewigovens deleted the m/memzero_wrapper branch July 22, 2022 20:56
DeanDonkov pushed a commit to changex-app/wallet-core that referenced this pull request Apr 7, 2023
* feat(memzero): add memzero c++ wrapper
* fix(memzero): fix cmake
* feat(hdwallet): use memzero wrapper
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.

Add generic and better way to do memzero

4 participants