sys: Automated cleanup of cdefs and other formattingApply the following automated changes to try to eliminateno-longer-needed sys/cdefs.h includes as well as now-emptyblank lines in a row.Remov
sys: Automated cleanup of cdefs and other formattingApply the following automated changes to try to eliminateno-longer-needed sys/cdefs.h includes as well as now-emptyblank lines in a row.Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/Remove /\n+#if.*\n#endif.*\n+/Remove /^#if.*\n#endif.*\n/Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/Sponsored by: Netflix
show more ...
sys: Remove $FreeBSD$: one-line .c patternRemove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
sys: Remove $FreeBSD$: two-line .h patternRemove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
Revert previous commit...Pointyhat to: kevlo (myself)
Prefer NULL over 0 for pointers
Avoid 256 integer divisions per rc4_init() call. Replace it with usingseparate index variable.It gives more then double rc4_init() performance increase on tested i386 P4.It also gives about 15% s
Avoid 256 integer divisions per rc4_init() call. Replace it with usingseparate 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.
Use __FBSDID().
make rc4 crypto support a module so other modules can depend on itSubmitted by: impReviewed by: imp
A simplified RC4 implementation for kernel use.