Skip to content

Commit

Permalink
fix security bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ByteCodeTeam committed May 29, 2017
1 parent 72f1601 commit 42e4794
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/crypto/crypto.h
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,10 @@ struct EllipticCurveScalar {
crypto_ops::generate_key_image(pub, sec, image);
}

inline KeyImage scalarmultKey(const KeyImage & P, const KeyImage & a) {
return crypto_ops::scalarmultKey(P, a);
}

inline void hash_data_to_ec(const uint8_t* data, std::size_t len, PublicKey& key) {
crypto_ops::hash_data_to_ec(data, len, key);
}
Expand Down

0 comments on commit 42e4794

Please sign in to comment.