Available on (32-bit or 64-bit) and (crate features
test-utils) only.Expand description
Test utilities
Modules§
- frankenstein
- This module contains the Frankenstein test utilities.
- single_
group_ test_ framework - storage_
state - test_
framework - This crate provides a framework to set up clients and groups using the
OpenMLS mls_group API. To use the framework, start by creating a new
TestSetupwith a number of clients. After that,create_clientshas to be called before the theTestSetupcan be used. - vector_
converter - Helper mod that converts a objects that implement FromIterator<,> (like a HashMap or a BTreeMap) into a vector of tuples and vice versa.
Structs§
- Hpke
KeyPair - Helper holding a (private, public) key pair as byte vectors.
Enums§
- Ciphersuite
- MLS ciphersuites.
Traits§
- Open
MlsProvider - The OpenMLS Crypto Provider Trait
- Storage
Provider Trait - StorageProvider describes the storage backing OpenMLS and persists the state of OpenMLS groups.
Functions§
- bytes_
to_ hex - Convert
bytesto a hex string. - hex_
to_ bytes - Convert a hex string to a byte vector.
- hex_
to_ bytes_ option - Convert a hex string to a byte vector.
If the input is
None, this returns an empty vector. - random_
u8 - random_
u32 - random_
u64
Type Aliases§
- Open
MlsLibcrux libcrux-providerand neither WebAssembly, nor x86 and Windows - Open
MlsRust Crypto