If you build the OpenSSL crypto as a static library you should be able to utilize it without including everything else in your app, depending on your compiler/linker options.
.................................... Erik Tkal Juniper OAC/UAC/Pulse Development -----Original Message----- From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] On Behalf Of chip...@gmx.de Sent: Friday, June 22, 2012 9:08 AM To: openssl-users@openssl.org Subject: Re: OpenSSL Library: Only BIGNUM functions Thank you, that sounds interesting. I'll look at it. But is there really no possibilty to get OpenSSL library smaller, only with BIGNUMs. I ask that because I did very much with these functions. Thank you. -------- Original-Nachricht -------- > Datum: Fri, 22 Jun 2012 13:04:02 +0100 > Von: "Matt Caswell (fr...@baggins.org)" <fr...@baggins.org> > An: openssl-users@openssl.org > Betreff: Re: OpenSSL Library: Only BIGNUM functions > As an alternative have you considered using the GMP library? That > library is much more focussed on providing multi-precision arithmetic > as opposed to crypto , so I would expect it to be a lot smaller. > > http://gmplib.org/ > > Matt > > On 22 June 2012 12:57, <chip...@gmx.de> wrote: > > Hi, > > > > I have to create a program, which has to be as small as possible, > > but it > should use the BIGNUM functions from the OpenSSL library, because it > has to work with large numbers. Is there a possibilty to compile a > library, which just contains the BIGNUMs functions. I don't need any > special features like rsa or dsa. > > At the moment I build the OpenSSL library with as little ciphers as > possible. Unfortunately I cannot deactivate all of them, because then > the library doesn't compile. The library is now about 1,59Mb and I > think this is just a little bit too much for only the BIGNUM functions. > > Another possibilty could be to just copy the source code which is in > > the > bn-directory. But it doesn't compile because there are many > dependencies from other parts around this directory. > > Has anyone a version which just contains the BIGNUM functions? > > > > Thank you for your help. > > -- > > Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen > > Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de > > ____________________________________________________________________ > > __ OpenSSL Project > http://www.openssl.org > > User Support Mailing List > openssl-users@openssl.org > > Automated List Manager > majord...@openssl.org > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List openssl-users@openssl.org > Automated List Manager majord...@openssl.org -- Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org