diff options
author | Mark Haines <mark.haines@matrix.org> | 2015-06-09 18:03:01 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2015-06-09 18:03:01 +0100 |
commit | a08d706366ff593431bfb85ec873045bf496b810 (patch) | |
tree | 3c22e706ba6ddc8bbcf70bb4eeaf57b980fca3f1 /include/axolotl/crypto.hh | |
parent | 8123ce62094bf88a4107506d7acd3e8e2866bc1f (diff) |
Add methods for pickling and unpickling sessions
Diffstat (limited to 'include/axolotl/crypto.hh')
-rw-r--r-- | include/axolotl/crypto.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/axolotl/crypto.hh b/include/axolotl/crypto.hh index d772f46..42e4b61 100644 --- a/include/axolotl/crypto.hh +++ b/include/axolotl/crypto.hh @@ -25,6 +25,7 @@ struct Curve25519PublicKey { struct Curve25519KeyPair : public Curve25519PublicKey { + static const int LENGTH = 64; std::uint8_t private_key[32]; }; |