Crate trussed

Source
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§

block
platform
store
syscall
try_syscall

Structs§

Bytes

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