Skip to content

Handle 64-bit message lengths in SHA256 - #12

Merged
LimiNode merged 1 commit into
mainfrom
codex/update-sha256-finish-for-2-32-bit-support
Sep 3, 2025
Merged

Handle 64-bit message lengths in SHA256#12
LimiNode merged 1 commit into
mainfrom
codex/update-sha256-finish-for-2-32-bit-support

Conversation

@LimiNode

@LimiNode LimiNode commented Sep 3, 2025

Copy link
Copy Markdown
Owner

Summary

  • Write 64-bit message length during SHA-256 padding
  • Track total processed length with 64-bit counter
  • Fix MQL SHA256/SHA512 to emit full message length

Testing

  • cmake -S . -B build -DBUILD_TESTS=ON
  • cmake --build build
  • ctest --test-dir build

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

@LimiNode
LimiNode merged commit 9f7d3a2 into main Sep 3, 2025
4 checks passed
@LimiNode
LimiNode deleted the codex/update-sha256-finish-for-2-32-bit-support branch September 4, 2025 01:42
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