WIP: Erase SHA-2 state and compression schedules #2
No reviewers
Labels
No labels
alpha-1
bug
ci
docs
duplicate
enhancement
help wanted
invalid
performance
phase-6
question
refactor
security
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
erix/lib-sha2!2
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/posix-compat"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary and rationale
Erase SHA-256 and SHA-512 chaining state, buffered input and length metadata on drop and before reset. Erase each compression schedule after use. Cloned hash states remain independent owners with their own cleanup.
Use the original EriX storage-erasure helpers and document the caller's remaining responsibility for input buffers, returned digests and prior copies. The branch also updates component documentation and skips duplicate same-repository pull-request jobs.
Tracking and scope
The linked component audit, implementation and consumer requirements remain part of this WIP review. The phase-wide guest and toolchain build requirements stay with the phase completion issue.
Architecture, authority and failure behavior
Cleanup applies to each hasher's owned state and temporary compression schedule. Caller input buffers and returned digests retain their existing ownership. Volatile erasure does not clear earlier compiler copies, registers, hardware remnants or storage after an abort. The erasure library adds no service, allocator or I/O authority.
The CI guard skips same-repository pull requests before any job steps run. Pushes, fork pull requests and manual runs retain their existing eligibility.
Validation evidence
Formatting, strict Clippy, warning-denied builds and documentation, unit tests, and applicable native/VM and consumer regressions remain required for the declared scope. Authored controls and older successful runs do not establish current full acceptance.
Review checklist
This review remains WIP until its declared scope and dependent requirements are complete.
erikinkinen referenced this pull request from erix/docs2026-10-02 05:44:35 +02:00
erikinkinen referenced this pull request from erix/e2fsd2026-10-02 05:44:47 +02:00
erikinkinen referenced this pull request from erix/integration2026-10-02 05:44:54 +02:00
erikinkinen referenced this pull request from erix/lib-ipc2026-10-02 05:45:10 +02:00
WIP: Skip duplicate same-repository pull request jobsto WIP: Erase SHA-2 state and compression schedulesThis source is now split into feature PRs, starting at #4 and ending at #5. Each PR links its prerequisite. The complete stack preserves the runtime changes and dependency declarations; obsolete pin checkpoints and documented source-acquisition differences are separated from feature behavior.
Closing this aggregate without merging. The replacement PRs remain WIP for their remaining integration and review.
Pull request closed