feat(sha384-extend): enhance SHA384 extend utility with padding and tests

- Refactor `sha384-extend` to include digest padding and validation.
- Add `extend_sha384` function for hex-string-based digest extension.
- Introduce comprehensive test coverage for edge cases and errors.

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
This commit is contained in:
Harald Hoyer 2025-03-26 14:31:16 +01:00
parent 7258452b79
commit fa2ecee4bd
Signed by: harald
GPG key ID: F519A1143B3FBE32
6 changed files with 234 additions and 33 deletions

1
Cargo.lock generated
View file

@ -5189,6 +5189,7 @@ dependencies = [
"clap 4.5.30",
"hex",
"sha2",
"teepot",
]
[[package]]