Skip to content

Add HashAlgorithm to kbs-types#2

Merged
jialez0 merged 3 commits into
inclavare-containers:mainfrom
Xynnn007:hash-alg
Jul 30, 2025
Merged

Add HashAlgorithm to kbs-types#2
jialez0 merged 3 commits into
inclavare-containers:mainfrom
Xynnn007:hash-alg

Conversation

@Xynnn007

Copy link
Copy Markdown
Member

No description provided.

ssolit added 3 commits July 30, 2025 16:38
Consolidates code related HashAlgorithm from across different crates in guest-components and trustee and exposes it for external use. This reduces code duplication, makes behavior more consistent, and ensures external projects never need to convert between multiple HashAlgorithm types

Signed-off-by: ssolit <sol@seismic.systems>
Adds relevant alloc imports, gated by the alloc feature an no std features

Signed-off-by: ssolit <sol@seismic.systems>
removes the accumulate_hash function. Users are expected to call digest() instead. This helps unify the interface and remove duplicate code

Signed-off-by: ssolit <sol@seismic.systems>
@jialez0
jialez0 merged commit 1acd887 into inclavare-containers:main Jul 30, 2025
2 checks passed
@Xynnn007
Xynnn007 deleted the hash-alg branch July 30, 2025 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants