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

[IMPROVED] crypto: effectively zeroize mem. content #501

Merged
merged 1 commit into from
Jan 10, 2022

Commits on Jan 9, 2022

  1. [IMPROVED] crypto: effectively zeroize mem. content

    When libsodim is not used, memory content is zeroized using a simple
    memset() and de-allocated using free(), so compiler may decide to remove
    memset().
    
    This patch add secure_memzero(), similar to sodium_zero(), to be sure to
    zeroize memory content also when libsodium is not used.
    Paolo Teti committed Jan 9, 2022
    Configuration menu
    Copy the full SHA
    ab43657 View commit details
    Browse the repository at this point in the history