aboutsummaryrefslogtreecommitdiff
path: root/include/olm
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-07-07 09:03:12 +0100
committerMark Haines <mark.haines@matrix.org>2015-07-07 09:03:12 +0100
commita30a64d17931c43ca20090220272ce9257064072 (patch)
tree8d7d387dd9e5d13535a6061a33bdcca455664c2c /include/olm
parentf1cd5613f68beee08ab479edf2a5ae50c91a63fe (diff)
Rename generate_key to curve25519_generate_key
Diffstat (limited to 'include/olm')
-rw-r--r--include/olm/crypto.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/olm/crypto.hh b/include/olm/crypto.hh
index b299e12..7f8f069 100644
--- a/include/olm/crypto.hh
+++ b/include/olm/crypto.hh
@@ -34,7 +34,7 @@ struct Curve25519KeyPair : public Curve25519PublicKey {
/** Generate a curve25519 key pair from 32 random bytes. */
-void generate_key(
+void curve25519_generate_key(
std::uint8_t const * random_32_bytes,
Curve25519KeyPair & key_pair
);