On May 31, 1:01 pm, Niij <[email protected]> wrote:
> 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  ?
>
I believe it comes from the following:

template <class PK, class GP, class O = OID>
class DL_KeyImpl : public PK
{
    ...
}

-- 
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.

Reply via email to