gnu-crypto-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNU Crypto] GCJ-friendly Blowfish


From: Raif S. Naffah
Subject: [GNU Crypto] GCJ-friendly Blowfish
Date: Thu, 5 Dec 2002 07:04:31 +1100
User-agent: KMail/1.4.3

-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

hello there,

just checked in a version of Blowfish under 
gcj/source/gnu/crypto/cipher.  on my box, the hit-parade now looks like 
so:

JDK 1.3.1_06:
- ----------------
square   Encryption 15067.503 KB/s,  Decryption  15096.619 KB/s
rijndael Encryption 15960.164 KB/s,  Decryption  15378.937 KB/s
null     Encryption 61515.746 KB/s,  Decryption, 62251.0 KB/s
anubis   Encryption 13423.539 KB/s,  Decryption  13504.754 KB/s
twofish  Encryption  2450.9805 KB/s, Decryption   2479.7651 KB/s
serpent  Encryption  5979.717 KB/s,  Decryption   6548.617 KB/s
khazad   Encryption 11144.794 KB/s,  Decryption  10820.637 KB/s
blowfish Encryption 15879.064 KB/s,  Decryption  15348.723 KB/s

ripemd128 21146.871 KB/s
sha-160   21082.955 KB/s
whirlpool  4441.343 KB/s
md5       32770.555 KB/s
md4       49875.51 KB/s
ripemd160 16434.912 KB/s
md2        1342.5754 KB/s

configure with GCJFLAGS="-march=athlon-xp -O2
- -momit-leaf-frame-pointer -funroll-all-loops"
- -------------------------------------------------
square   Encryption 15024.039 KB/s,  Decryption 15009.606 KB/s
rijndael Encryption 14440.85 KB/s,   Decryption 14616.464 KB/s
null     Encryption 78914.14 KB/s,   Decryption 79314.72 KB/s
anubis   Encryption 10903.699 KB/s,  Decryption 10888.502 KB/s
twofish  Encryption  6149.1543 KB/s, Decryption  5938.8066 KB/s
serpent  Encryption 11289.74 KB/s,   Decryption 10934.22 KB/s
khazad   Encryption  6430.041 KB/s,  Decryption  6414.203 KB/s
blowfish Encryption 12245.298 KB/s,  Decryption 12245.298 KB/s

ripemd128 19816.61 KB/s
sha-160   40320.5 KB/s
whirlpool  4910.804 KB/s
md5       37763.438 KB/s
md4       88617.29 KB/s
ripemd160 15837.861 KB/s
md2        1126.8895 KB/s

we're getting there :-)

MD5 is next + cheers;
rsn
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Que du magnifique

iD8DBQE97l/X+e1AKnsTRiERAxJ8AJ9GW1KrbeyVA9NtN05/bkphEH0THACfdvsy
PeNXO+be7uYkfTUrTqk44Tw=
=GtSB
-----END PGP SIGNATURE-----





reply via email to

[Prev in Thread] Current Thread [Next in Thread]