normalize ecdsa::PublicKey

dev
MITSUNARI Shigeo 7 years ago
parent 3d4ba548cc
commit a7cf9247a2
  1. 1
      include/mcl/ecdsa.hpp

@ -106,6 +106,7 @@ struct PrecomputedPublicKey {
inline void getPublicKey(PublicKey& pub, const SecretKey& sec)
{
Ec::mul(pub, param.P, sec);
pub.normalize();
}
struct Signature : public mcl::fp::Serializable<Signature> {

Loading…
Cancel
Save