aboutsummaryrefslogtreecommitdiff
path: root/include/olm/pickle.hh
diff options
context:
space:
mode:
Diffstat (limited to 'include/olm/pickle.hh')
-rw-r--r--include/olm/pickle.hh33
1 files changed, 33 insertions, 0 deletions
diff --git a/include/olm/pickle.hh b/include/olm/pickle.hh
index 1676e23..7a2bd1b 100644
--- a/include/olm/pickle.hh
+++ b/include/olm/pickle.hh
@@ -170,6 +170,39 @@ std::uint8_t const * unpickle(
);
+std::size_t pickle_length(
+ const Ed25519PublicKey & value
+);
+
+
+std::uint8_t * pickle(
+ std::uint8_t * pos,
+ const Ed25519PublicKey & value
+);
+
+
+std::uint8_t const * unpickle(
+ std::uint8_t const * pos, std::uint8_t const * end,
+ Ed25519PublicKey & value
+);
+
+
+std::size_t pickle_length(
+ const Ed25519KeyPair & value
+);
+
+
+std::uint8_t * pickle(
+ std::uint8_t * pos,
+ const Ed25519KeyPair & value
+);
+
+
+std::uint8_t const * unpickle(
+ std::uint8_t const * pos, std::uint8_t const * end,
+ Ed25519KeyPair & value
+);
+
} // namespace olm