[PATCH v1 0/3] crypto: powerpc/md5

Markus Stockhausen stockhausen at collogia.de
Mon Mar 2 05:30:30 AEDT 2015


[PATCH v1 0/3] crypto: powerpc/md5

The following patches add support for optimized MD5
calculation on PPC processors. It completes the previous
patches to provide a comprehensive IPsec algorithm support
for low power routers without hardware crypto acceleration. 
The implementation is endian independant. Although only 
tested on 32 bit CPU it should run on 64 bit too.

Performance numbers from insmod tcrypt sec=3 mode=302 taken
on e500v2 800 MHz (TP Link WDR4900)

data    per     generic      this patch  speedup  cycles
length  update  bytes/sec    bytes/sec   factor   per byte
------  ------  -----------  ----------  -------  --------
    16      16   14,131,578   16,019,173   x1.13     49.94
    64      16   24,003,093   25,642,282   x1.07     31.20
    64      64   36,445,269   43,124,074   x1.18     18.55
   256      16   32,454,144   33,569,194   x1.03     23.83
   256      64   57,306,965   67,855,104   x1.18     11.79
   256     256   71,010,304   91,093,333   x1.28      8.78
  1024      16   35,902,122   36,451,328   x1.02     21.95
  1024     256   86,229,674  113,111,722   x1.31      7.07
  1024    1024   93,883,733  127,357,952   x1.36      6.28
  2048      16   36,175,189   36,937,728   x1.02     21.66
  2048     256   89,539,242  118,392,832   x1.32      6.76
  2048    1024   97,499,136  133,113,856   x1.37      6.01
  2048    2048   99,198,976  136,406,357   x1.38      5.86
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: InterScan_Disclaimer.txt
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20150301/718a7458/attachment.txt>


More information about the Linuxppc-dev mailing list