1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-22 11:17:19 +00:00
freebsd/sys/opencrypto
Sam Leffler f7890744d0 Invoke the driver directly when a request is submitted via crypto_dispatch
or crypto_kdispatch unless the driver is currently blocked.  This eliminates
the context switch to the dispatch thread for virtually all requests.

Note that this change means that for software crypto drivers the caller
will now block until the request is completed and the callback is dispatched
to the callback thread (h/w drivers will typically just dispatch the op to
the device and return quickly).  If this is an issue we can either implement
a non-blocking interface in the s/w crypto driver or use either the
"no delay" flag in the crypto request or the "software driver" capability
flag to control what to do.

Sponsored by:	Vernier Networks
2003-01-09 05:39:04 +00:00
..
cast.c
cast.h
castsb.h
criov.c
crmbuf.c
crypto_if.m
crypto.c Invoke the driver directly when a request is submitted via crypto_dispatch 2003-01-09 05:39:04 +00:00
cryptodev.c MFS: crypto timing support; purge usercrypto sysctl (just don't config 2003-01-03 06:16:59 +00:00
cryptodev.h MFS: crypto timing support; purge usercrypto sysctl (just don't config 2003-01-03 06:16:59 +00:00
cryptosoft.c
cryptosoft.h
deflate.c
deflate.h
rijndael.c
rijndael.h
rmd160.c
rmd160.h
skipjack.c
skipjack.h
xform.c
xform.h