On Nov 30, 12:04 am, Nikolay <[EMAIL PROTECTED]> wrote: > Hello > > All what I need in my programm from Crypto++ is ability to check > authenticity of message (license code), I can use both RSA or DSA > algorithms. If I link Crypto++ as static library and use only > VerifyMessage() function to check signature, increment of my exe file > is 200-250 kb. It's a lot:( > > I am wondering if there is a way to reduce this overhead. Maybe get > only a code that needed for pure checking signature, without OOP, > hierarchy of classes, filters mechanism, files operation, exceptions > etc. Only mathematics of big numbers and one VerifyMessage() > function. Is this possible? Maybe someone did this or can give me > some hints?
If you link dynmaically, the executable will be smaller. Make sure that you do not include symbols, line numbers, etc on your compile if you want it as small as possible. > Any other ideas how to reduce size are welcome :) Memory is around $50 for 4 GB. That means that 250K is (262144/4294967296)/50= $0.000001220703125 which is about 1/10000 of a penny. If your application is not embedded, I guess you are barking up the wrong tree. --~--~---------~--~----~------------~-------~--~----~ 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. -~----------~----~----~----~------~----~------~--~---
