clear Elgamal::CipherText in cstr

dev
MITSUNARI Shigeo 7 years ago
parent 9a859e994a
commit c56818cfb2
  1. 4
      include/mcl/elgamal.hpp

@ -30,6 +30,10 @@ struct ElgamalT {
struct CipherText {
Ec c1;
Ec c2;
CipherText()
{
clear();
}
/*
(c1, c2) = (0, 0) is trivial valid ciphertext for m = 0
*/

Loading…
Cancel
Save