Expand description
Helper functions for standardizing serialization and deserialization of stateful objects.
Structs§
- SemVer
- A semantic library version, ordered by
major, thenminor, thenpatch.
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