freebsd-dev/sys/crypto
Alexander Motin f2831a952d 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.
2008-12-16 13:58:37 +00:00
..
blowfish
camellia Integrate the Camellia Block Cipher. For more information see RFC 4132 2007-05-09 19:37:02 +00:00
des
rc4 Avoid 256 integer divisions per rc4_init() call. Replace it with using 2008-12-16 13:58:37 +00:00
rijndael Make test00 compilable again. 2008-01-15 18:34:47 +00:00
sha2 Initialize T1 to silent gcc warning. 2006-10-22 02:19:33 +00:00
via Fix a potential NULL-pointer dereference in padlock(4). 2008-11-17 19:00:36 +00:00
sha1.c
sha1.h