pub trait Platform {
type Identity: NodeIdentity;
type Aes: AesProvider;
type Sha: Sha256Provider;
type Radio: Radio;
type Delay: DelayNs;
type Clock: Clock;
type Rng: CryptoRng;
type CounterStore: CounterStore;
type KeyValueStore: KeyValueStore;
}Expand description
Bundle of platform-specific associated types used by the higher layers.
Required Associated Types§
Sourcetype Identity: NodeIdentity
type Identity: NodeIdentity
Local identity implementation.
Sourcetype Aes: AesProvider
type Aes: AesProvider
AES provider implementation.
Sourcetype Sha: Sha256Provider
type Sha: Sha256Provider
SHA/HMAC provider implementation.
Sourcetype CounterStore: CounterStore
type CounterStore: CounterStore
Persistent frame-counter store implementation.
Sourcetype KeyValueStore: KeyValueStore
type KeyValueStore: KeyValueStore
General-purpose persistent key-value store implementation.