NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/41069 CVS commit: src/sys



The following reply was made to PR kern/41069; it has been noted by GNATS.

From: Darran Hunt <darran%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/41069 CVS commit: src/sys
Date: Wed, 25 Mar 2009 01:26:14 +0000

 Module Name:   src
 Committed By:  darran
 Date:          Wed Mar 25 01:26:13 UTC 2009
 
 Modified Files:
        src/sys/lib/libkern: Makefile.libkern libkern.h
        src/sys/lib/libkern/arch/i386: Makefile.inc
        src/sys/net: zlib.h
        src/sys/opencrypto: crypto.c cryptodev.c cryptodev.h cryptosoft.c
            cryptosoft.h cryptosoft_xform.c deflate.c deflate.h
            files.opencrypto xform.c xform.h
 Added Files:
        src/sys/lib/libkern: crc32.c crc32.h
        src/sys/opencrypto: ocryptodev.c ocryptodev.h
 
 Log Message:
 Fixes PR kern/41069 and PR kern/41070.
 
 Extends the Opencrypto API to allow the destination buffer size to be
 specified when its not the same size as the input buffer (i.e. for
 operations like compress and decompress).
 The crypto_op and crypt_n_op structures gain a u_int dst_len field.
 The session_op structure gains a comp_alg field to specify a compression
 algorithm.
 Moved four ioctls to new ids; CIOCGSESSION, CIOCNGSESSION,  CIOCCRYPT,
 and CIOCNCRYPTM.
 Added four backward compatible ioctls; OCIOCGSESSION, OCIOCNGSESSION,
 OCIOCCRYPT, and OCIOCNCRYPTM.
 
 Backward compatibility is maintained in ocryptodev.h and ocryptodev.c which
 implement the original ioctls and set dst_len and comp_alg to 0.
 
 Adds user-space access to compression features.
 
 Adds software gzip support (CRYPTO_GZIP_COMP).
 
 Adds the fast version of crc32 from zlib to libkern. This should be generally
 useful and provide a place to start normalizing the various crc32 routines
 in the kernel.  The crc32 routine is used in this patch to support GZIP.
 
 With input and support from tls%NetBSD.org.@localhost
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.1 -r1.2 src/sys/lib/libkern/Makefile.libkern
 cvs rdiff -u -r0 -r1.1 src/sys/lib/libkern/crc32.c \
     src/sys/lib/libkern/crc32.h
 cvs rdiff -u -r1.88 -r1.89 src/sys/lib/libkern/libkern.h
 cvs rdiff -u -r1.27 -r1.28 src/sys/lib/libkern/arch/i386/Makefile.inc
 cvs rdiff -u -r1.13 -r1.14 src/sys/net/zlib.h
 cvs rdiff -u -r1.32 -r1.33 src/sys/opencrypto/crypto.c
 cvs rdiff -u -r1.45 -r1.46 src/sys/opencrypto/cryptodev.c
 cvs rdiff -u -r1.15 -r1.16 src/sys/opencrypto/cryptodev.h
 cvs rdiff -u -r1.23 -r1.24 src/sys/opencrypto/cryptosoft.c
 cvs rdiff -u -r1.5 -r1.6 src/sys/opencrypto/cryptosoft.h \
     src/sys/opencrypto/deflate.h
 cvs rdiff -u -r1.11 -r1.12 src/sys/opencrypto/cryptosoft_xform.c
 cvs rdiff -u -r1.12 -r1.13 src/sys/opencrypto/deflate.c
 cvs rdiff -u -r1.19 -r1.20 src/sys/opencrypto/files.opencrypto
 cvs rdiff -u -r0 -r1.1 src/sys/opencrypto/ocryptodev.c \
     src/sys/opencrypto/ocryptodev.h
 cvs rdiff -u -r1.17 -r1.18 src/sys/opencrypto/xform.c
 cvs rdiff -u -r1.9 -r1.10 src/sys/opencrypto/xform.h
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index