Source-Changes archive

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

CVS commit: src



Module Name:    src
Committed By:   tls
Date:           Fri Jan 25 07:09:56 UTC 2008

Modified Files:
        src/crypto/dist/openssl/crypto/engine: eng_cryptodev.c
        src/share/man/man4: crypto.4
        src/sys/opencrypto: cryptodev.c

Log Message:
Some minor opencrypto fixes, one with a major performance impact for
OpenSSL:

1) Fix extremely misleading text in crypto.4 manual page so it does not
   appear to claim that a new cloned file descriptor is required for every
   session.

2) Fix severe performance problem (and fd leak!) in openssl cryptodev
   engine resulting from misunderstanding probably caused by said manual
   page text.

3) Check for session-ID wraparound in kernel cryptodev provider.  Also,
   start allocating sessions at 1, not 0 -- this will be necessary when
   we add ioctls for the creation of multiple sessions at once, so we
   can tell which if any creations failed.


To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 src/crypto/dist/openssl/crypto/engine/eng_cryptodev.c
cvs rdiff -r1.10 -r1.11 src/share/man/man4/crypto.4
cvs rdiff -r1.27 -r1.28 src/sys/opencrypto/cryptodev.c

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