NetBSD-Bugs archive

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

PR/41070 CVS commit: [netbsd-5] src/sys

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

From: Soren Jacobsen <>
Subject: PR/41070 CVS commit: [netbsd-5] src/sys
Date: Sun, 3 May 2009 17:24:46 +0000

 Module Name:   src
 Committed By:  snj
 Date:          Sun May  3 17:24:46 UTC 2009
 Modified Files:
        src/sys/lib/libkern [netbsd-5]: Makefile libkern.h
        src/sys/lib/libkern/arch/i386 [netbsd-5]:
        src/sys/net [netbsd-5]: zlib.h
        src/sys/opencrypto [netbsd-5]: 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 [netbsd-5]: crc32.c crc32.h
        src/sys/opencrypto [netbsd-5]: ocryptodev.c ocryptodev.h
 Log Message:
 Pull up following revision(s) (requested by tls in ticket #611):
        sys/lib/libkern/Makefile: patch
        sys/lib/libkern/crc32.c: revision 1.1
        sys/lib/libkern/crc32.h: revision 1.1
        sys/lib/libkern/libkern.h: revision 1.89
        sys/lib/libkern/arch/i386/ revision 1.28
        sys/net/zlib.h: revision 1.14 via patch
        sys/opencrypto/crypto.c: revision 1.33
        sys/opencrypto/cryptodev.c: revision 1.46
        sys/opencrypto/cryptodev.h: revision 1.16
        sys/opencrypto/cryptosoft.c: revision 1.24
        sys/opencrypto/cryptosoft.h: revision 1.6
        sys/opencrypto/deflate.h: revision 1.6
        sys/opencrypto/cryptosoft_xform.c: revision 1.12
        sys/opencrypto/deflate.c: revision 1.13
        sys/opencrypto/files.opencrypto: revision 1.20
        sys/opencrypto/ocryptodev.c: revision 1.1
        sys/opencrypto/ocryptodev.h: revision 1.1
        sys/opencrypto/xform.c: revision 1.18
        sys/opencrypto/xform.h: revision 1.10
 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
 Moved four ioctls to new ids; CIOCGSESSION, CIOCNGSESSION,  CIOCCRYPT,
 Added four backward compatible ioctls; OCIOCGSESSION, OCIOCNGSESSION,
 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
 To generate a diff of this commit:
 cvs rdiff -u -r1.89 -r1.89.6.1 src/sys/lib/libkern/Makefile
 cvs rdiff -u -r0 -r1.4.4.2 src/sys/lib/libkern/crc32.c
 cvs rdiff -u -r0 -r1.1.4.2 src/sys/lib/libkern/crc32.h
 cvs rdiff -u -r1.82 -r1.82.4.1 src/sys/lib/libkern/libkern.h
 cvs rdiff -u -r1.27 -r1.27.86.1 src/sys/lib/libkern/arch/i386/
 cvs rdiff -u -r1.12 -r1.12.84.1 src/sys/net/zlib.h
 cvs rdiff -u -r1.29.4.1 -r1.29.4.2 src/sys/opencrypto/crypto.c
 cvs rdiff -u -r1.44.8.2 -r1.44.8.3 src/sys/opencrypto/cryptodev.c
 cvs rdiff -u -r1.14.10.1 -r1.14.10.2 src/sys/opencrypto/cryptodev.h
 cvs rdiff -u -r1.20 -r1.20.20.1 src/sys/opencrypto/cryptosoft.c
 cvs rdiff -u -r1.5 -r1.5.52.1 src/sys/opencrypto/cryptosoft.h
 cvs rdiff -u -r1.8 -r1.8.20.1 src/sys/opencrypto/cryptosoft_xform.c
 cvs rdiff -u -r1.11 -r1.11.10.1 src/sys/opencrypto/deflate.c
 cvs rdiff -u -r1.5 -r1.5.10.1 src/sys/opencrypto/deflate.h
 cvs rdiff -u -r1.19 -r1.19.20.1 src/sys/opencrypto/files.opencrypto
 cvs rdiff -u -r0 -r1.2.4.2 src/sys/opencrypto/ocryptodev.c
 cvs rdiff -u -r0 -r1.1.4.2 src/sys/opencrypto/ocryptodev.h
 cvs rdiff -u -r1.17 -r1.17.14.1 src/sys/opencrypto/xform.c
 cvs rdiff -u -r1.9 -r1.9.20.1 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