Re: Hardware acceleration?
Matthew Toseland <toad-EI5O+8PHWbJeeLb3ft/[email protected]> Thu, 11 Dec 2008 13:54:44 +0000
| Newsgroups | gmane.network.freenet.technical |
|---|---|
| Message-ID | <[email protected]> |
On Thursday 11 December 2008 07:26, Daniel Cheng wrote: > On Thu, Dec 11, 2008 at 1:12 PM, Ancoron Luciferis > <[email protected]> wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Hi *, > > > > I have a simple question: > > > > In the near future I am going to buy one of those fantastic little boxes > > from Soekris ( http://www.soekris.com/net5501.htm ) with an additional > > "hardware security accelerator" ( http://www.soekris.com/vpn1401.htm ) > > board that can take over the en-/decryption of secured connections using > > public key, RSA, DSA, SSL, IKE and DH, authentication, compression, LZS, > > MPPC, ... using the crypto engine "Hi/fn 7955" (using > > http://sourceforge.net/projects/hifn7951/ experimental driver for linux). > > > > Would a current freenet client denefit from these hardware accelerations? > > Short answer: No. =) > > Long answer: > You need special JCE module (software) installed. > (e.g. http://www.via.com.tw/en/initiatives/padlock/via-jcp.jsp ) > > However, > the most-used crypto in freenet is Rijndael (original favour, not the NIST one), > no module provide this acceleration. AFAIK it's the same, but we generally use 256/256, whereas AES is actually 256/128. In any case there are export policy / key length issues until 1.6, and we don't require 1.6 yet. > > SHA-256, while do have some acceleration exist, are used sparsely. We use SHA-256 in many places. We use the JVM implementation. So if hardware acceleration is enabled, and if the relevant java library is included (manually, RTFM), SHA-256 will be accelerated. The hardware RNG will also be useful. > > > The main question thereof is: Is the encryption/decryption secure > > connection handling implemented in pure Java or is it dome using the > > native (for Linux/Unix systems shared) libraries? > > > > And if it is implemented in pure Java wouldn't it give freenet an extra > > performance boost when it used native/shared libraries for such a task > > that can be compiled with specific processor optimization flags? > > > > Thanx in advance for any answers. :-) > > > > > > Regards, > > > > AncoL _______________________________________________ Tech mailing list [email protected] http://emu.freenetproject.org/cgi-bin/mailman/listinfo/tech
signature.asc
(application/pgp-signature, 827 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iQIVAwUASUEbqnsvjZi+xPTDAQJAZBAAuXOLQcsXWa268fNXrqIdrWjj8eVd2Usv 2A+IeGk4WabRQEAtaXKm4NPVpQEK8R25wx4ePgeve0cd2HHYg++XLNYOt9G4oCOs 287esrVnVqKMk3M556g7EWuDK8uSk+u7z1AG9TlCa8kOLbfdDLqs1TlIX8DI7K+U dU3BKjOYqeHUsFo38j8H1t1lVwzsw5lcHetPciv7fAr7GVxrfw/FfJiehRuDeC2L A3iNoI1Ko2leaRJOOrwsuKb+1E9IoVcj1qVj0WDBmn8qGDyUPWVs0VAsIgARYCVy vNNVApHMuLPJ3adopWbadUWSvWVcijNK04MBkx+CjSKRN530Yy0yQZV8wcPNro6A kIHkh2UdW/XR4bimLiKh/dAdRY2N+24j2erHp4q9jUni2eXm32woWoifnmH4uj27 JIpX8PD7PSQ6ugvhoWgeRAUm5LWlAwq0kZhXTcsr6E85oS1NLzhEkYY3YOhurYj6 IMI3DvjvgXI689uhqpf8K8/2IMMMcX853Udz43obO+uH0odfgxBaLABJ+lyqYo+v tglJy4ebm2hRLa9h/QcIGsSyLixapPuq1W1MKUYrxxl1VnYhCbFCeqFmQ+5B88CL G/0NnWcWqEyGmO/9goWLEEWMsz64XIfD37b8UowCFPj39mAtf2jNlxTCoByF20Zp jgX5uTKZH6k= =KuYT -----END PGP SIGNATURE-----