On Fri, Jul 12, 2019 at 4:20 AM Luca Di Mauro <[email protected]> wrote: > > So the current version of ECIES doesn't implement that version of scheme > (IEEE 1363a). Is it correct?
By default, NO. But ECIES is parameterized, and the P1363 version is available. The default ECIES version uses parameters that interop with Botan and Bouncy Castle. The parameter selection actually comes from Shoup, who advised IEEE to use them (but IEEE did not do). If you select different parameters you will have the P1363 version. In fact, we recently added code to test the old P1363 version. The P1363 version of ECIES is exercised in validat8.cpp around line 200 (https://github.com/weidai11/cryptopp/blob/master/validat8.cpp#L202): FileSource fc(DataDir("TestData/ecies_p160.dat").c_str(), true, new HexDecoder); ECIES<ECP,SHA1,NoCofactorMultiplication,false,true>::Decryptor privC(fc); ECIES<ECP,SHA1,NoCofactorMultiplication,false,true>::Encryptor pubC(privC); Also see the docs on ECIES at https://www.cryptopp.com/docs/ref/struct_e_c_i_e_s.html , and the ECIES wiki page at https://www.cryptopp.com/wiki/Elliptic_Curve_Integrated_Encryption_Scheme . The wiki page is kind of crappy and needs a rewrite. But it has important details that are easy to find once you know where to look. Jeff -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/cryptopp-users/CAH8yC8nCJ2JUkyS26ce5PPXakxx51-5H42_oYf1Vq0pSc0f5pg%40mail.gmail.com.
