Date: Wed, 7 Jan 2009 11:44:03 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/crypto/rc4 rc4.c Message-ID: <200901071144.n07Bi7k0066979@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mav 2009-01-07 11:44:03 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/crypto/rc4 rc4.c Log: SVN rev 186857 on 2009-01-07 11:44:03Z by mav MFC rev. 186179: Avoid 256 integer divisions per rc4_init() call. Replace it with using separate index variable. It gives more then double rc4_init() performance increase on tested i386 P4. It also gives about 15% speedup to PPTP VPN with stateless MPPE encryption (by ng_mppc) which calls rc4_init() for every packet. Revision Changes Path 1.5.20.1 +5 -3 src/sys/crypto/rc4/rc4.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901071144.n07Bi7k0066979>