On Sun September 28 2008, Kimmo Tuhkala wrote:
> How to test speed in commandline openssl with this cipher TLSv1 encrypted
> session using cipher AES256-SHA (256 bits) or TLSv1 encrypted session using
> cipher AES128-SHA (128 bits)
> 
> I use via epia ex15000G and i would like to know how does above ciphers use
> hardware via padlock engine.
> 
> Is there any way to test with above cipher in commandline openssl?
> 

First question: Does the build of openssl your using support the Padlock engine?

Enter:
openssl engine padlock

Expect, at least:
(padlock) VIA PadLock (no-RNG, ACE)

If not, hope you enjoy patching the source code.
There is a known patch for 0.9.8e that applies to 0.9.8h (and maybe later 
versions)

One person's experience listed here:
http://forum.netbookuser.com/viewtopic.php?pid=5872#p5872

That is on the C7-M processor (similar Padlock engine).

Find that you have to write the code yourself?
Go here:
http://linux.via.com.tw/support/downloadFiles.action

In the right-hand "platform" drop-down box, select: CPU
Where you will find a document named:
Padlock Programming Guide for VIA C3/C7 CPU

And the associated download link:
http://linux.via.com.tw/support/beginDownload.action?eleid=181&fid=261

VIA has finally released the documentation on the Padlock engine (yea).
The released documentation is still watermarked as requiring NDA (no longer so)
and is dated 2005 (boo) but at least it is a start.

If you can share any code you have to patch into openSSL, that would
be nice for everyone.

Mike

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to