ftp://ftp.kerneli.org/pub/linux/kerneli/v2.1/patch-int-2.1.129.4.gz
The following has changed from the last patch:
1998-11-23 Alexander Kjeldaas <astor@guardian.no>
* International kernel patch 2.1.129.4 released.
* Added crypto/testing/speed.c to test the speed of the different
crypto algorithms.
* cast256, crypton, rijndael, safer, and twofish added, but they
are not yet completely ported to the kernel crypto-API.
* Updated implementations of MARS, DFC, RC6 and SERPENT.
1998-11-22 Alexander Kjeldaas <astor@guardian.no>
* International kernel patch 2.1.129.3 released.
* "loop_gen" - skeleton of general loop crypto driver added
* Made loop-modules for DFC, MARS, and RC6
* Added DFC, MARS, and RC6 to crypto library
This is the output of "speed".
Testing cipher serpent, number 7..seems to work
encrypt serpent = 260181 usec/MB; 3.843 MB/s; 30.748 Mb/s
decrypt serpent = 237477 usec/MB; 4.211 MB/s; 33.687 Mb/s
Testing cipher mars, number 8..seems to work
encrypt mars = 130101 usec/MB; 7.686 MB/s; 61.491 Mb/s
decrypt mars = 119216 usec/MB; 8.388 MB/s; 67.105 Mb/s
Testing cipher rc6, number 11..seems to work
encrypt rc6 = 86271 usec/MB; 11.591 MB/s; 92.731 Mb/s
decrypt rc6 = 84559 usec/MB; 11.826 MB/s; 94.608 Mb/s
Testing cipher dfc, number 15..seems to work
encrypt dfc = 336232 usec/MB; 2.974 MB/s; 23.793 Mb/s
decrypt dfc = 332504 usec/MB; 3.007 MB/s; 24.060 Mb/s
This is on a Pentium II 400MHz. I looked at the code generated by gcc
and it is far from optimal. If someone feels like it, please don't
hesitate to rewrite some of these in assembly :-). DFC is a 64-bit
encryption algorithm being "emulated" on a 32-bit machine. It would
probably be pretty fast if coded in assembly on a 64-bit machine.
On the ftp-site, the directory /pub/linux/kernel is a normal
kernel-mirror while /pub/linux/kerneli is a kernel-mirror plus the
international kernel patch. You should find all utilities needed for
using crypto in the kernel in /pub/linux/kerneli/net-source/.
Enjoy,
astor
-- Alexander Kjeldaas, Guardian Networks AS, Trondheim, Norway http://www.guardian.no/- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/