GrassToucherV2 / my_crypto_library

MIT License
0 stars 0 forks source link

Valgrind memory safety check #2

Open GrassToucherV2 opened 4 months ago

GrassToucherV2 commented 4 months ago

Memory safety is critical for preventing security vulnerabilities, such as buffer overflows, use-after-free errors, and other exploitable conditions that can lead to unauthorized access and data corruption. Ensuring memory safety is fundamental to building secure and reliable software systems.

The plan is simple, exercise the functions with valgrind to check for warnings and fix them.

GrassToucherV2 commented 4 months ago

Memory safety issue found in ChaCha20-Poly1305 https://github.com/Nuohan-li/my_crypto_library/issues/3

-- fixed and closed

GrassToucherV2 commented 4 months ago

Fixed long standing memory safety issue in bigint.c https://github.com/GrassToucherV2/my_crypto_library/commit/6d93634a55e08cced2b5932cfdd5003b00fb99b0