summaryrefslogtreecommitdiff
path: root/sys/crypto/crypto.c
AgeCommit message (Expand)Author
2017-02-07Reduce the per-packet allocation costs for crypto operations (cryptop)Patrick Wildt
2016-09-19convert bcopy to memcpy. from david hillTed Unangst
2016-09-15all pools have their ipl set via pool_setipl, so fold it into pool_init.David Gwynne
2016-04-18Add a mechanism for dispatching mpsafe crypto operations. This adds a newMark Kettenis
2015-08-28fairly simple sizes for free(); ok teduTheo de Raadt
2015-02-09we want to defer work traditionally (in openbsd) handled in anDavid Gwynne
2015-01-27remove the second void * argument on tasks.David Gwynne
2014-10-23pools lock themselves now, we just have to tell them what IPL theyDavid Gwynne
2014-10-23apply only the bit of r1.69 that should have been committed:David Gwynne
2014-10-23revert previous. it did more than the commit message said it did.David Gwynne
2014-10-22make the crypto taskq protect things at IPL_VM instead of IPL_HIGH.David Gwynne
2014-10-20replace bzeros after allocations with M_ZERO and PR_ZERO as appropriate.David Gwynne
2014-09-14remove uneeded proc.h includesJonathan Gray
2014-08-20Bye bye /dev/cryptoMike Belopuhov
2014-07-13use mallocarray()Theo de Raadt
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-01-21cc_queued is not used for anything atm, remove it; ok jsing, markusMike Belopuhov
2014-01-21Respect CRYPTO_F_NOQUEUE flag when dispatching a crypto operationMike Belopuhov
2013-10-31convert crypto work queue to the task_add(9) api; ok dlgMike Belopuhov
2013-03-27institute a hard cap on crypto devs instead of a useless wraparound checkTed Unangst
2011-01-11for key material that is being being discarded, convert bzero() toTheo de Raadt
2010-09-08Reintroduce most crypto/crypto.c r1.55:Joel Sing
2010-08-08Backout r1.55 since this breaks anything which does crypto ops prior toJoel Sing
2010-07-08Revert part of previous.Thordur I. Bjornsson
2010-07-08Move pool initialization to init_crypto and zap the crypto_pool_initializedThordur I. Bjornsson
2010-06-09Remove the CRYPTO_ALGORITHM_ALL define, fixup accordinglyThordur I. Bjornsson
2009-09-03crypto hardware (eg, hifn) establishes its interrupt handler atDavid Gwynne
2008-10-30reintroduce mutexes to workqs for locking.David Gwynne
2007-11-28finish conversion to workq. remove list remnants, and put spl in the rightTed Unangst
2007-11-25convert crypto thread to workq. add WQ_DIRECTOK flag to workq.Ted Unangst
2007-11-14do not call crypto_done() on errors, since the drivers already do this.Markus Friedl
2006-05-31remove some silly casts. put spl calls after all declarations.Ted Unangst
2006-03-04splimp -> splvmBrad Smith
2004-12-21Don't use crypto thread for callbacks.Marco Pfatschbacher
2004-06-20In crypto_thread(), always save return value from splimp(). We were onlyAaron Campbell
2003-06-03Fastpath for userland crypto requests. This change makes userlandBob Beck
2003-02-19Copy the ENTIRE table into the supported algorithms (how the hell did thisJason Wright
2002-11-21From Angelos:Jason Wright
2002-07-17I don't know why this breaks things for me when sshd starts on sparc64.Artur Grabowski
2002-07-16Double-pass over drivers, first hardware only, then software (if weAngelos D. Keromytis
2002-07-16Fix a typo, cleanup on session migration code in crypto_invoke(), andAngelos D. Keromytis
2002-06-11kernel changes to make asymmetric crypto work in userlandBob Beck
2002-06-10fix ivory tower greek fix. ok angelos@Bob Beck
2002-06-09Don't use an int for the flags, when the structure usesAngelos D. Keromytis
2002-04-23initial hack at a CIOCSYMFEAT ioctlTheo de Raadt
2002-04-23driver queueing & callback code for keying operationsTheo de Raadt
2002-03-04crypto_check_alg() is not neededTheo de Raadt
2002-01-23It looks like there has been one crack smoking and a few cut and pastes.Artur Grabowski
2002-01-23Pool deals fairly well with physical memory shortage, but it doesn't dealArtur Grabowski
2001-11-13and for the case where it allocates a bunch at a time, also make sure theTheo de Raadt