summaryrefslogtreecommitdiffstats
path: root/sys/crypto/crypto.c
AgeCommit message (Expand)AuthorFilesLines
2020-03-30Break crypto_unregister() sanity check into two expressions, making itkrw1-4/+6
2020-03-29Don't access past end of cc_alg[] when trying to avoidkrw1-4/+4
2017-11-30Fix the IPL and flags of the MP-safe crypto taskq. Now a sane IPLvisa1-2/+2
2017-02-07Reduce the per-packet allocation costs for crypto operations (cryptop)patrick1-24/+18
2016-09-19convert bcopy to memcpy. from david hilltedu1-2/+2
2016-09-15all pools have their ipl set via pool_setipl, so fold it into pool_init.dlg1-7/+5
2016-04-18Add a mechanism for dispatching mpsafe crypto operations. This adds a newkettenis1-3/+17
2015-08-28fairly simple sizes for free(); ok teduderaadt1-3/+5
2015-02-09we want to defer work traditionally (in openbsd) handled in andlg1-2/+2
2015-01-27remove the second void * argument on tasks.dlg1-4/+3
2014-10-23pools lock themselves now, we just have to tell them what IPL theydlg1-13/+4
2014-10-23apply only the bit of r1.69 that should have been committed:dlg1-2/+2
2014-10-23revert previous. it did more than the commit message said it did.dlg1-5/+14
2014-10-22make the crypto taskq protect things at IPL_VM instead of IPL_HIGH.dlg1-14/+5
2014-10-20replace bzeros after allocations with M_ZERO and PR_ZERO as appropriate.dlg1-9/+4
2014-09-14remove uneeded proc.h includesjsg1-2/+1
2014-08-20Bye bye /dev/cryptomikeb1-126/+1
2014-07-13use mallocarray()deraadt1-4/+4
2014-07-12add a size argument to free. will be used soon, but for now default to 0.tedu1-2/+2
2014-01-21cc_queued is not used for anything atm, remove it; ok jsing, markusmikeb1-17/+1
2014-01-21Respect CRYPTO_F_NOQUEUE flag when dispatching a crypto operationmikeb1-2/+2
2013-10-31convert crypto work queue to the task_add(9) api; ok dlgmikeb1-13/+14
2013-03-27institute a hard cap on crypto devs instead of a useless wraparound checktedu1-3/+2
2011-01-11for key material that is being being discarded, convert bzero() toderaadt1-2/+2
2010-09-08Reintroduce most crypto/crypto.c r1.55:jsing1-12/+8
2010-08-08Backout r1.55 since this breaks anything which does crypto ops prior tojsing1-6/+11
2010-07-08Revert part of previous.thib1-4/+6
2010-07-08Move pool initialization to init_crypto and zap the crypto_pool_initializedthib1-16/+9
2010-06-09Remove the CRYPTO_ALGORITHM_ALL define, fixup accordinglythib1-9/+9
2009-09-03crypto hardware (eg, hifn) establishes its interrupt handler atdlg1-7/+12
2008-10-30reintroduce mutexes to workqs for locking.dlg1-2/+2
2007-11-28finish conversion to workq. remove list remnants, and put spl in the righttedu1-10/+23
2007-11-25convert crypto thread to workq. add WQ_DIRECTOK flag to workq.tedu1-55/+14
2007-11-14do not call crypto_done() on errors, since the drivers already do this.markus1-2/+1
2006-05-31remove some silly casts. put spl calls after all declarations.tedu1-12/+21
2006-03-04splimp -> splvmbrad1-12/+12
2004-12-21Don't use crypto thread for callbacks.mpf1-67/+7
2004-06-20In crypto_thread(), always save return value from splimp(). We were onlyaaron1-2/+2
2003-06-03Fastpath for userland crypto requests. This change makes userlandbeck1-11/+21
2003-02-19Copy the ENTIRE table into the supported algorithms (how the hell did thisjason1-2/+2
2002-11-21From Angelos:jason1-106/+238
2002-07-17I don't know why this breaks things for me when sshd starts on sparc64.art1-86/+61
2002-07-16Double-pass over drivers, first hardware only, then software (if weangelos1-24/+43
2002-07-16Fix a typo, cleanup on session migration code in crypto_invoke(), andangelos1-38/+44
2002-06-11kernel changes to make asymmetric crypto work in userlandbeck1-14/+7
2002-06-10fix ivory tower greek fix. ok angelos@beck1-5/+6
2002-06-09Don't use an int for the flags, when the structure usesangelos1-2/+4
2002-04-23initial hack at a CIOCSYMFEAT ioctlderaadt1-1/+30
2002-04-23driver queueing & callback code for keying operationsderaadt1-8/+123
2002-03-04crypto_check_alg() is not neededderaadt1-32/+1