Skip to content

feat: add secure buffer HKDF helpers - #83

Merged
LimiNode merged 1 commit into
mainfrom
codex/replace-std-vector-with-secure_buffer-in-hmac_utils
Sep 6, 2025
Merged

feat: add secure buffer HKDF helpers#83
LimiNode merged 1 commit into
mainfrom
codex/replace-std-vector-with-secure_buffer-in-hmac_utils

Conversation

@LimiNode

@LimiNode LimiNode commented Sep 6, 2025

Copy link
Copy Markdown
Owner

Summary

  • add hkdf_extract_sha256_secure and hkdf_expand_sha256_secure returning secure_buffer
  • use secure buffers throughout HKDF key/IV derivation

Testing

  • ./build/test_all --gtest_filter=-HashTest.SHA512LargeInput
  • ./build/test_totp

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

Add hkdf_extract_sha256_secure and hkdf_expand_sha256_secure returning secure_buffer and switch hkdf_key_iv_256 to use secure buffers.
@LimiNode
LimiNode merged commit 14442c1 into main Sep 6, 2025
8 checks passed
@LimiNode
LimiNode deleted the codex/replace-std-vector-with-secure_buffer-in-hmac_utils branch September 6, 2025 05:49
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