On 09/06/2010 11:46 AM, Miloslav Trmac wrote:
> Hello,
> ----- "Dmitry Kasatkin" <dmitry.kasat...@nokia.com> wrote:
>> Just realized that you removed support for old api in the newapi
>> branch.
>> Old module was 150k, new one is 3.5M.
> Could the difference be simply in debug info?
> 
> $ ll -h cryptodev.ko
> -rw-rw-r--. 1 mitr mitr 13M Sep  3 16:25 cryptodev.ko
> $ size cryptodev.ko 
>    text          data     bss     dec     hex filename
>  115472           688    6304  122464   1de60 cryptodev.ko
> 
> The new code is larger, but it should not be _that_ large.  If it is not 
> debug info, can you find out which functions/variables take most space?

Ok with this option the code with assymetric algorithms (and
libtomcrypt/libtommath) is about 270k and without is 88k, on a my amd64.

Indeed 3.5M is pretty big :)

regards,
Nikos

_______________________________________________
Cryptodev-linux-devel mailing list
Cryptodev-linux-devel@gna.org
https://mail.gna.org/listinfo/cryptodev-linux-devel

Reply via email to