freebsd kernel with SKQ
Go to file
pjd 4de9eb667b - Fix a very old bug in HMAC/SHA{384,512}. When HMAC is using SHA384
or SHA512, the blocksize is 128 bytes, not 64 bytes as anywhere else.
  The bug also exists in NetBSD, OpenBSD and various other independed
  implementations I look at.
- We cannot decide which hash function to use for HMAC based on the key
  length, because any HMAC function can use any key length.
  To fix it split CRYPTO_SHA2_HMAC into three algorithm:
  CRYPTO_SHA2_256_HMAC, CRYPTO_SHA2_384_HMAC and CRYPTO_SHA2_512_HMAC.
  Those names are consistent with OpenBSD's naming.
- Remove authsize field from auth_hash structure.
- Allow consumer to define size of hash he wants to receive.
  This allows to use HMAC not only for IPsec, where 96 bits MAC is requested.
  The size of requested MAC is defined at newsession time in the cri_mlen
  field - when 0, entire MAC will be returned.
- Add swcr_authprepare() function which prepares authentication key.
- Allow to provide key for every authentication operation, not only at
  newsession time by honoring CRD_F_KEY_EXPLICIT flag.
- Make giving key at newsession time optional - don't try to operate on it
  if its NULL.
- Extend COPYBACK()/COPYDATA() macros to handle CRYPTO_BUF_CONTIG buffer
  type as well.
- Accept CRYPTO_BUF_IOV buffer type in swcr_authcompute() as we have
  cuio_apply() now.
- 16 bits for key length (SW_klen) is more than enough.

Reviewed by:	sam
2006-05-17 18:24:17 +00:00
bin Fix the wording about the blocksize (-b) parameter. The existing 2006-05-10 20:32:57 +00:00
contrib Update the description of the `STATE' column for SMP systems, 2006-05-16 15:27:43 +00:00
crypto Introduce a namespace munging hack inspired by NetBSD to avoid polluting 2006-05-13 13:47:45 +00:00
etc Correctly set moused_$2_enable when moused_nondefault_enable is set to NO 2006-05-17 11:37:09 +00:00
games To save you all the trouble with CVSWEB: 2006-05-17 11:00:49 +00:00
gnu Clean the product of patch(1). 2006-04-10 09:00:19 +00:00
include Comment out the function prototypes which our libc actually 2006-05-13 12:43:12 +00:00
kerberos5 Reimplementation of world/kernel build options. For details, see: 2006-03-17 18:54:44 +00:00
lib Fix return value. 2006-05-17 05:14:45 +00:00
libexec *thwack*! all the world's not i386. 2006-03-29 12:29:01 +00:00
release Disconnect alpha hardware notes from RU release documentation 2006-05-17 16:40:06 +00:00
rescue Pass -DCRUNCH down to standard targets in individual makefiles. 2006-04-10 09:32:50 +00:00
sbin Disconnect mount_reiserfs from build. 2006-05-16 22:12:55 +00:00
secure Add a manual dependency on ssh_namespace.h. 2006-05-13 21:38:16 +00:00
share Fix typo in device hint variable 2006-05-17 13:17:02 +00:00
sys - Fix a very old bug in HMAC/SHA{384,512}. When HMAC is using SHA384 2006-05-17 18:24:17 +00:00
tools Send the pcvt(4) driver off to retirement. 2006-05-17 09:33:15 +00:00
usr.bin - Fix warning when compiling with -DDEBUG 2006-05-15 22:09:45 +00:00
usr.sbin - Update to ntp-4.2.0 2006-05-17 10:50:35 +00:00
COPYRIGHT
LOCKS
MAINTAINERS Add Russell Cattelan to list of pre-commit reviewers for changes to XFS. 2006-05-05 20:12:30 +00:00
Makefile Disconnect Alpha from 'make universe'. 2006-05-11 18:54:16 +00:00
Makefile.inc1 Send the pcvt(4) driver off to retirement. 2006-05-17 09:33:15 +00:00
ObsoleteFiles.inc Send the pcvt(4) driver off to retirement. 2006-05-17 09:33:15 +00:00
README Add a note explaining what the rescue/ directory is for. 2006-03-01 20:14:55 +00:00
UPDATING Note that an old adjkerntz is not really usable after the recent 2006-05-15 15:47:45 +00:00

This is the top level of the FreeBSD source directory.  This file
was last revised on:
$FreeBSD$

For copyright information, please see the file COPYRIGHT in this
directory (additional copyright information also exists for some
sources in this tree - please see the specific source directories for
more information).

The Makefile in this directory supports a number of targets for
building components (or all) of the FreeBSD source tree, the most
commonly used one being ``world'', which rebuilds and installs
everything in the FreeBSD system from the source tree except the
kernel, the kernel-modules and the contents of /etc.  The
``buildkernel'' and ``installkernel'' targets build and install
the kernel and the modules (see below).  Please see the top of
the Makefile in this directory for more information on the
standard build targets and compile-time flags.

Building a kernel is a somewhat more involved process, documentation
for which can be found at:
   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html
And in the config(8) man page.
Note: If you want to build and install the kernel with the
``buildkernel'' and ``installkernel'' targets, you might need to build
world before.  More information is available in the handbook.

The sample kernel configuration files reside in the sys/<arch>/conf
sub-directory (assuming that you've installed the kernel sources), the
file named GENERIC being the one used to build your initial installation
kernel.  The file NOTES contains entries and documentation for all possible
devices, not just those commonly used.  It is the successor of the ancient
LINT file, but in contrast to LINT, it is not buildable as a kernel but a
pure reference and documentation file.


Source Roadmap:
---------------
bin		System/user commands.

contrib		Packages contributed by 3rd parties.

crypto		Cryptography stuff (see crypto/README).

etc		Template files for /etc.

games		Amusements.

gnu		Various commands and libraries under the GNU Public License.
		Please see gnu/COPYING* for more information.

include		System include files.

kerberos5	Kerberos5 (Heimdal) package.

lib		System libraries.

libexec		System daemons.

release		Release building Makefile & associated tools.

rescue		Build system for statically linked /rescue utilities.

sbin		System commands.

secure		Cryptographic libraries and commands.

share		Shared resources.

sys		Kernel sources.

tools		Utilities for regression testing and miscellaneous tasks.

usr.bin		User commands.

usr.sbin	System administration commands.


For information on synchronizing your source tree with one or more of
the FreeBSD Project's development branches, please see:

  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/synching.html