diff options
author | Richard van der Hoff <richard@matrix.org> | 2016-09-02 15:13:24 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2016-09-05 10:40:39 +0100 |
commit | f0acf6582f88ca66b3fabf7d622278da51a94c10 (patch) | |
tree | 28581d2ab5ec6cfd835b18aa9be9e1a46109d2b8 /include/olm/account.hh | |
parent | 2aad4cfa860e33228372d525b4bc6a8bcdfbb8f6 (diff) |
Convert Ed25519 and Curve25519 functions to plain C
Diffstat (limited to 'include/olm/account.hh')
-rw-r--r-- | include/olm/account.hh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/olm/account.hh b/include/olm/account.hh index 6ea0d19..4b7b190 100644 --- a/include/olm/account.hh +++ b/include/olm/account.hh @@ -25,14 +25,14 @@ namespace olm { struct IdentityKeys { - Ed25519KeyPair ed25519_key; - Curve25519KeyPair curve25519_key; + _olm_ed25519_key_pair ed25519_key; + _olm_curve25519_key_pair curve25519_key; }; struct OneTimeKey { std::uint32_t id; bool published; - Curve25519KeyPair key; + _olm_curve25519_key_pair key; }; @@ -128,12 +128,12 @@ struct Account { /** Lookup a one time key with the given public key */ OneTimeKey const * lookup_key( - Curve25519PublicKey const & public_key + _olm_curve25519_public_key const & public_key ); /** Remove a one time key with the given public key */ std::size_t remove_key( - Curve25519PublicKey const & public_key + _olm_curve25519_public_key const & public_key ); }; |