History log of /src/sys/opencrypto/ocryptodev.h |
Revision | | Date | Author | Comments |
1.4 |
| 27-Jan-2019 |
pgoyette | Merge the [pgoyette-compat] branch
|
1.3 |
| 06-Sep-2015 |
dholland | branches: 1.3.16; 1.3.18; More on PR 41200: headers that declare ioctls should include sys/ioccom.h. This covers (I think) all the MI headers outside of external/ (and dist/).
|
1.2 |
| 19-Feb-2011 |
drochner | branches: 1.2.2; 1.2.16; 1.2.34; make the compatibility code conditional on COMPAT_50
|
1.1 |
| 25-Mar-2009 |
darran | branches: 1.1.2; 1.1.4; 1.1.6; 1.1.8; 1.1.12; 1.1.14; 1.1.16; 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.
|
1.1.16.1 |
| 05-Mar-2011 |
bouyer | Sync with HEAD
|
1.1.14.1 |
| 06-Jun-2011 |
jruoho | Sync with HEAD.
|
1.1.12.1 |
| 05-Mar-2011 |
rmind | sync with head
|
1.1.8.2 |
| 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
1.1.8.1 |
| 25-Mar-2009 |
jym | file ocryptodev.h was added on branch jym-xensuspend on 2009-05-13 17:22:56 +0000
|
1.1.6.2 |
| 04-May-2009 |
yamt | sync with head.
|
1.1.6.1 |
| 25-Mar-2009 |
yamt | file ocryptodev.h was added on branch yamt-nfs-mp on 2009-05-04 08:14:24 +0000
|
1.1.4.2 |
| 03-May-2009 |
snj | 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/Makefile.inc: 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 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.
|
1.1.4.1 |
| 25-Mar-2009 |
snj | file ocryptodev.h was added on branch netbsd-5 on 2009-05-03 17:24:45 +0000
|
1.1.2.2 |
| 28-Apr-2009 |
skrll | Sync with HEAD.
|
1.1.2.1 |
| 25-Mar-2009 |
skrll | file ocryptodev.h was added on branch nick-hppapmap on 2009-04-28 07:37:50 +0000
|
1.2.34.1 |
| 22-Sep-2015 |
skrll | Sync with HEAD
|
1.2.16.1 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.2.2.2 |
| 20-May-2011 |
matt | bring matt-nb5-mips64 up to date with netbsd-5-1-RELEASE (except compat).
|
1.2.2.1 |
| 19-Feb-2011 |
matt | file ocryptodev.h was added on branch matt-nb5-mips64 on 2011-05-20 08:11:33 +0000
|
1.3.18.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
1.3.16.5 |
| 23-Sep-2018 |
pgoyette | No need to declare the crypto_50 init/fini routines. The compat_50 module no longer needs them, and they're declared static in the ocryptodev.c code
|
1.3.16.4 |
| 23-Sep-2018 |
pgoyette | Fix some thinkos/pastos/typos
|
1.3.16.3 |
| 22-Sep-2018 |
pgoyette | Forward-declare some structs so we can use pointers to them in function declarations.
|
1.3.16.2 |
| 22-Sep-2018 |
pgoyette | When the compat code needs to callback to the original code, we cannot call directly via the routines' global symbols, since the original code might not be built-in. So, the original code that calls compat code needs to pass in the addresses of the callbacks. This allows for the compat code to be built whether or not the original (calling) code is included.
XXX Done for cryptodev, will need to do the same thing for ccd(4) and XXX vnd(4)
|
1.3.16.1 |
| 23-Mar-2018 |
pgoyette | Handle the compat_50 stuff for opencrypto/cryptodev
|