Hi, ECIES<ECP>::Decryptor cpriv(GlobalRNG(), ASN1::secp256k1()); // line 281 of bench2.cpp typedef PK_FinalTemplate<DL_DecryptorImpl<SchemeOptions> > Decryptor; // line 1665 of pubkey.h
I understood from pubkey.h and eccrypto.h files, as ECIES struct inherits the DL_ES class, the defined type Decryptor is a member of ECIES. However, I don't see from where "cpriv(GlobalRNG(), ASN1::secp256k1())" comes from ? is it related in someway to the DL_PrivateKey_EC class method void Initialize (RandomNumberGenerator &rng, const DL_GroupParameters_EC< EC > ¶ms) // line 1665 of eccrypto.h seems that they share the same parameters. thanks to clarifying me this point. -- You received this message because you are subscribed to the "Crypto++ Users" Google Group. To unsubscribe, send an email to [email protected]. More information about Crypto++ and this group is available at http://www.cryptopp.com.
