Padlock support

Werner Koch wk at gnupg.org
Thu Nov 29 11:56:40 CET 2007


Hi,

the first steps for supporting the Padlock engine of VIA processors have
been taken.  With the current SVN of libgcrypt the ACE engine is used
for AES-128.  More stuff will follow.

Here are the benchmarks (milliseconds for 10^6 bytes):

            ECB        CBC         CFB         OFB         CTR
=================================================================         
Pentium M 1500 MHz:
AES      50    40    60    60    50    60    50    50   100    90
AES192   60    50    60    70    60    60    70    60   100   110
AES256   60    60    70    80    60    80    60    70   110   120

Via Nehemiah 600 MHz:
AES      60    60   110   100    90    90    90    80   280   300
AES192  420   430   480   480   460   470   460   460   660   660
AES256  490   500   540   550   520   530   520   530   730   730

I think this is quite an improvement.  Due to the internal structure of
libgcrypt we can only encrypt one block at a time which seriously limits
the performance.  This is something we need to tackle in the future.

Thanks to Nikos Mavrogiannopoulos for giving me access to his VIA box.


Shalom-Salam,

   Werner


-- 
Die Gedanken sind frei.  Auschnahme regelt ein Bundeschgesetz.




More information about the Gcrypt-devel mailing list