Erase hash state and compression schedules #5

Manually merged
erikinkinen merged 6 commits from feature/hash-state-erasure into feature/dependency-review-policy 2026-11-21 05:47:14 +01:00
Owner

Erase owned chaining state, buffered input and lengths at drop and reset, and retire expanded compression schedules. Clones retain independent owners; caller inputs and returned digests stay caller-owned.

  • Retire owned hash state and compression schedules.
  • Check reset storage, clone independence and unchanged caller inputs.
  • Preserve known vectors and padding/chunk boundaries in debug and optimized builds.
  • Merge the repository prerequisite #4.

This branch also includes the completed downstream features from #6.

Erase owned chaining state, buffered input and lengths at drop and reset, and retire expanded compression schedules. Clones retain independent owners; caller inputs and returned digests stay caller-owned. - [x] Retire owned hash state and compression schedules. - [x] Check reset storage, clone independence and unchanged caller inputs. - [x] Preserve known vectors and padding/chunk boundaries in debug and optimized builds. - [ ] Merge the repository prerequisite [#4](https://git.erikinkinen.fi/erix/lib-sha2/pulls/4). This branch also includes the completed downstream features from #6.
erikinkinen added this to the Alpha 1 milestone 2026-10-30 18:00:27 +01:00
fix: Erase hash state and compression schedules
Some checks failed
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 3s
CI / test (push) Failing after 37s
f279a6a7f9
Erase owned chaining state, input buffers and lengths at drop and reset. Retire
expanded compression schedules through the shared storage-erasure primitive
while preserving independent clones and caller-owned inputs and digests.
ci: Select the public erasure provider APIs
Some checks failed
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / test (push) Has been cancelled
CI / markdown (push) Has been cancelled
dbc6326cd6
Select the exact public ConstantTime and crypto sources required by this feature. Preserve its implementation and every original Cargo gate, and bind the actual retained consumer to the tracked source graph.
ci: Use shared development dependency profiles
Some checks failed
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 7s
CI / test (push) Failing after 29s
429674e83c
Keep authored manifests on main and select coordinated providers through Integration. Resolve branches once per run, retain the frozen snapshot and helper identity as artifacts, and use shared source checks instead of copied tests and guides.
test: Cover cryptographic ownership in optimized builds
All checks were successful
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 2s
CI / test (push) Successful in 34s
ec3044afb4
Exercise the original ownership boundaries and algorithm controls in debug and release builds using one captured dependency graph. Document the scope of owned storage erasure and keep caller inputs and outputs outside that guarantee.
erikinkinen changed title from WIP: Erase hash state and compression schedules to Erase hash state and compression schedules 2026-11-13 03:14:00 +01:00
Author
Owner

Ready for review. The library ownership contract and its controls are complete; the remaining linked prerequisites are merge gates.

Ready for review. The library ownership contract and its controls are complete; the remaining linked prerequisites are merge gates.
ci: Declare main and feature provider policy
All checks were successful
CI / markdown (push) Successful in 2s
CI / test (push) Successful in 37s
2cf1090711
Pass the provider policy explicitly. Main and tag builds must use main providers; feature builds keep their declared companions. Older helpers that lack this contract must fail before preparing sources.
feat: Merge ci: Use shared development dependency selection
All checks were successful
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 2s
CI / test (push) Successful in 35s
b35a843897
Integrate the reviewed prepared history into feature/hash-state-erasure. The feature tree and
original source branch remain unchanged. Upstream work retains its own
completion requirements.

#6
Author
Owner

Merged the approved downstream work from #6. The upstream PR retains its own remaining scope and completion requirements.

Merged the approved downstream work from #6. The upstream PR retains its own remaining scope and completion requirements.
erikinkinen manually merged commit 104871e46b into feature/dependency-review-policy 2026-11-21 05:47:14 +01:00
Sign in to join this conversation.
No description provided.