Skip to content

Conversation

NewYaroslav
Copy link
Owner

Summary

  • harden secure_zero using memset_s/explicit_bzero or volatile barrier
  • add is_locked, clear, resize and assign helpers
  • document zeroing on buffer resize
  • detect explicit_bzero availability in CMake

Testing

  • cmake .. -DHMACCPP_BUILD_TESTS=ON
  • cmake --build . --target test_all test_totp
  • ctest

https://chatgpt.com/codex/tasks/task_e_68bce8a8ddac832ca758988fcdec16ac

@NewYaroslav NewYaroslav merged commit f7eb83d into main Sep 7, 2025
8 checks passed
@NewYaroslav NewYaroslav deleted the codex/improve-secure_buffer-functionality branch September 7, 2025 03:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant