On Wednesday, July 5, 2017 at 9:08:12 AM UTC-4, simon...@eftpos-engineering.ch wrote: > > Hi Everyone, > > > > - we are upgrading from CryptoPP 4.1 to CryptoPP 5.6.5 and face the > problem that we have implemented our own RSA padding scheme via the > template mechanism > - unfortunately it seems that this templates do not exist anymore, is > there another mechanism/templates/classes which can be used to implement a > proprietary RSA padding? > - basically the padding scheme just fills up the message with random > data until the modulus length (unfortunately the overlying protocol does > not uses a standardized padding scheme...) > - any help is appreciated! > > Well, 4.1 predates my limited knowledge. I was still using proverbial training wheels back then.
It looks like the padding schemes were moved into their own class files. For example, OAEP is available in https://github.com/weidai11/cryptopp/blob/master/oaep.h. The base class, PK_EncryptionMessageEncodingMethod, is in https://github.com/weidai11/cryptopp/blob/master/pkcspad.h. Sorry I cannot offer more. Jeff -- -- You received this message because you are subscribed to the "Crypto++ Users" Google Group. To unsubscribe, send an email to cryptopp-users-unsubscr...@googlegroups.com. More information about Crypto++ and this group is available at http://www.cryptopp.com. --- 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.