For now generating shared secret in correct way - using just private + 
accepted ephemeral, as said 
here: 
https://www.researchgate.net/publication/255970113_A_Survey_of_the_Elliptic_Curve_Integrated_Encryption_Scheme
 
:
CryptoPP::SecByteBlock sharedA(dh.AgreedValueLength());
dh.Agree(sharedA,privKey,g_ephKey);
string str_shared_secret((const char*)sharedA.data(), sharedA.size());

But still cannot decrypt. Any help is welcome.

-- 
You received this message because you are subscribed to "Crypto++ Users". More 
information about Crypto++ and this group is available at 
http://www.cryptopp.com and 
http://groups.google.com/forum/#!forum/cryptopp-users.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cryptopp-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to