diff options
Diffstat (limited to 'src/pubkey/eckaeg')
-rw-r--r-- | src/pubkey/eckaeg/eckaeg.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/pubkey/eckaeg/eckaeg.cpp b/src/pubkey/eckaeg/eckaeg.cpp index 1b315d101..5787f062d 100644 --- a/src/pubkey/eckaeg/eckaeg.cpp +++ b/src/pubkey/eckaeg/eckaeg.cpp @@ -129,9 +129,10 @@ MemoryVector<byte> ECKAEG_PrivateKey::public_value() const /** * Derive a key */ -SecureVector<byte> ECKAEG_PrivateKey::derive_key(const byte key[], u32bit key_len) const +SecureVector<byte> ECKAEG_PrivateKey::derive_key(const byte key[], + u32bit key_len) const { - MemoryVector<byte> key_x(key, key_len); // XXX fix this, nasty/slow + MemoryVector<byte> key_x(key, key_len); // FIXME: nasty/slow PointGFp point = OS2ECP(key_x, public_point().get_curve()); return m_eckaeg_core.agree(point); |