Skip to content

Ecdsa server task with support for ast1060-ecdsa hardware#9

Open
rusty1968 wants to merge 7 commits intoOpenPRoT:masterfrom
rusty1968:ecdsa-server
Open

Ecdsa server task with support for ast1060-ecdsa hardware#9
rusty1968 wants to merge 7 commits intoOpenPRoT:masterfrom
rusty1968:ecdsa-server

Conversation

@rusty1968
Copy link
Collaborator

Key Components:
drv-openprot-ecdsa-server: Core server implementation with feature-gated backends
drv-openprot-ecdsa-api: Type-safe API definitions and error handling
drv-ast1060-ecdsa: Hardware-specific AST1060 ECDSA verifier driver
ast1060-ecdsa-test: Example application driving the IPC.

Supported Operations:

  • ECDSA-384 Verification: Hardware-accelerated and placeholder implementations
  • ECDSA-384 Signing: Placeholder implementation for development (hardware signing capability framework ready)
    P-384 Curve: Full support for NIST P-384 elliptic curve parameters

Server Implementations:
VerifierOnlyServer
FullServer<S,V>

The AST1060 ECDSA implementation in aspeed-ddk was replaced with a crate inside the hubris tree that complies with the latest OpenPRoT trait versions and concrete types. This includes the updated EcdsaVerify and EcdsaSign traits, as well as the standardized P384PublicKeyandP384Signature` types from the OpenPRoT HAL blocking framework.

  - Remove inline module definitions for better code organization
  - Use placeholder modules for development and testing
  - Maintain zero-copy performance optimizations throughout
- `VerifierOnlyServer<V>`: Clean verification-only implementation
- `FullServer<S,V>`: Complete signing + verification capabilities
- Shared `verify_ecdsa384()` helper eliminates code duplication
…ow app.toml enables ast1060-ecdsa verifier and app-placeholder.toml enables the mock implementation.
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.

1 participant