Skip to main content

Module crypto

Module crypto 

Source
Expand description

Signature schemes for the slow path, one module each, all behind the same ports (crate::ports::CryptoIn / crate::ports::CryptoOut).

SchemeModuleFeatureOwner
Ed25519ed25519ed25519 (default)this crate
DSigdsigdsigDSig
Outside the replica (card tops)externalalwaysthis crate
Model (tests only, not secure)[model]simthis crate

A build picks one with RHDL_UBFT_SCHEME ([crate::Scheme]); both may be compiled in.

Modules§

ed25519
Ed25519 for the slow path: this repository’s uBFT service behind rhdl_ubft’s crypto ports.
external
A scheme outside the replica (define_replica!(Name, external SB)).