Searched hist:186179 (Results 1 - 1 of 1) sorted by relevance

/freebsd-10.2-release/sys/crypto/rc4/
H A Drc4.cdiff 186179 Tue Dec 16 14:01:11 MST 2008 mav 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.

Completed in 40 milliseconds