You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/hash-driver-hubris.md
+31-14Lines changed: 31 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,7 @@
1
1
# Generic Digest Server Design Document
2
2
3
+
This document describes the design and architecture of a generic digest server for Hubris OS that supports both SPDM and PLDM protocol implementations.
4
+
3
5
## Requirements
4
6
5
7
### Primary Requirement
@@ -16,7 +18,7 @@
16
18
17
19
#### R2: Session Management
18
20
-**R2.1**: Support incremental hash computation for large certificate chains and firmware images
19
-
-**R2.2**: Support multiple concurrent digest sessions (≥8 concurrent operations)
21
+
-**R2.2**: Support multiple concurrent digest sessions (hardware-dependent capacity)
20
22
-**R2.3**: Provide session isolation between different SPDM and PLDM protocol flows
21
23
-**R2.4**: Automatic session cleanup to prevent resource exhaustion
22
24
-**R2.5**: Session timeout mechanism for abandoned operations
@@ -61,9 +63,9 @@
61
63
-**R8.3**: Digest server fails fast on unrecoverable hardware errors rather than returning complex error states
62
64
-**R8.4**: Support debugging via jefe external interface during development
63
65
64
-
## Implementation Overview
66
+
## Design Overview
65
67
66
-
This digest server has been successfully converted to a generic implementation that can work with any device implementing the required digest traits from `openprot-hal-blocking`.
68
+
This digest server provides a generic implementation that can work with any device implementing the required digest traits from `openprot-hal-blocking`. The design supports both single-context and multi-context hardware through hardware-adaptive session management.
0 commit comments