1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-22 11:17:19 +00:00
freebsd/sys/opencrypto
Sam Leffler 3569ae7f66 Flush my local cache of cryto subsystem fixes:
o add a ``done'' flag for crypto operations; this is set when the operation
  completes and is intended for callers to check operations that may complete
  ``prematurely'' because of direct callbacks
o close a race for operations where the crypto driver returns ERESTART: we
  need to hold the q lock to insure the blocked state for the driver and any
  driver-private state is consistent; otherwise drivers may take an interrupt
  and notify the crypto subsystem that it can unblock the driver but operations
  will be left queued and never be processed
o close a race in /dev/crypto where operations can complete before the caller
  can sleep waiting for the callback: use a per-session mutex and the new done
  flag to handle this
o correct crypto_dispatch's handling of operations where the driver returns
  ERESTART: the return value must be zero and not ERESTART, otherwise the
  caller may free the crypto request despite it being queued for later handling
  (this typically results in a later panic)
o change crypto mutex ``names'' so witness printouts and the like are more
  meaningful
2003-06-02 23:28:06 +00:00
..
cast.c
cast.h
castsb.h
criov.c
crmbuf.c
crypto_if.m
crypto.c Flush my local cache of cryto subsystem fixes: 2003-06-02 23:28:06 +00:00
cryptodev.c Flush my local cache of cryto subsystem fixes: 2003-06-02 23:28:06 +00:00
cryptodev.h Flush my local cache of cryto subsystem fixes: 2003-06-02 23:28:06 +00:00
cryptosoft.c Change iov_base's type from char *' to the standard void *'. All 2002-10-11 14:58:34 +00:00
cryptosoft.h
deflate.c
deflate.h
rijndael.c
rijndael.h
rmd160.c
rmd160.h
skipjack.c
skipjack.h
xform.c
xform.h