Expand description
§Trussed
Trussed® is a minimal, modular way to write cryptographic applications on microcontroller platforms. Easy to write, easy to audit — compile-time security by default.
Documentation is evolving, a good entry point is the module trussed::client
.
Re-exports§
pub use api::Reply;
pub use error::Error;
pub use client::Client;
pub use client::ClientImplementation;
pub use platform::Platform;
pub use service::Service;
Modules§
- api
- This (incomplete!) API loosely follows PKCS#11 v3.
- client
- Client interface for applications.
- config
- error
- key
- mechanisms
- pipe
- platform
- Trait for platforms to implement that use Trussed.
- service
- store
store
presents a combined interface to three littlefs2 filesystems: internal flash, external flash, volatile/RAM.- types
Macros§
Structs§
Traits§
- Interchange
- Do NOT implement this yourself! Use the macro
interchange!
.
Functions§
- cbor_
deserialize - cbor_
serialize - cbor_
serialize_ bytes - Serialize object into newly allocated Bytes.
- postcard_
deserialize - Deserialize a message of type
T
from a byte slice. The unused portion (if any) of the byte slice is not returned. - postcard_
serialize - Serialize a
T
to the given slice, with the resulting slice containing data in a serialized format. - postcard_
serialize_ bytes