Skip to main content

Module suspendable_state

Module suspendable_state 

Source
Expand description

Helper functions for standardizing serialization and deserialization of stateful objects.

Structs§

SemVer
A semantic library version, ordered by major, then minor, then patch.

Constants§

LIB_VERSION
The current library version – ie the version of the bouncycastle-core crate – at compile time (via Cargo’s CARGO_PKG_VERSION_* env vars).

Functions§

add_lib_ver
Puts the library version into the first three bytes of the state array.
check_lib_ver
A helper for deserializing an object’s state