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.
Implementors§
Source§impl Platform for ModeledTestPlatform
impl Platform for ModeledTestPlatform
type Identity = DummyIdentity
type Aes = DummyAes
type Sha = DummySha
type Radio = ModeledRadio
type Delay = DummyDelay
type Clock = DummyClock
type Rng = DummyRng
type CounterStore = DummyCounterStore
type KeyValueStore = DummyKeyValueStore
Source§impl Platform for TestPlatform
impl Platform for TestPlatform
type Identity = DummyIdentity
type Aes = DummyAes
type Sha = DummySha
type Radio = SimulatedRadio
type Delay = DummyDelay
type Clock = DummyClock
type Rng = DummyRng
type CounterStore = DummyCounterStore
type KeyValueStore = DummyKeyValueStore
Source§impl<R, CS, KV> Platform for TokioPlatform<R, CS, KV>
Available on crate feature software-crypto only.
impl<R, CS, KV> Platform for TokioPlatform<R, CS, KV>
Available on crate feature
software-crypto only.Source§impl<R, G, CS, KV> Platform for EmbassyPlatform<R, G, CS, KV>
Available on crate feature software-crypto only.
impl<R, G, CS, KV> Platform for EmbassyPlatform<R, G, CS, KV>
Available on crate feature
software-crypto only.