summaryrefslogtreecommitdiff
path: root/sys/opencrypto/cryptodev.c
AgeCommit message (Expand)Author
2019-06-13don't always panic when modunload crypto (int the pool destroy code, becausechristos
2019-03-01Rename the MODULE_*_HOOK() macros to MODULE_HOOK_*() as brieflypgoyette
2019-01-27Merge the [pgoyette-compat] branchpgoyette
2018-02-08Typos.dholland
2017-11-30add fo_name so we can identify the fileops in a simple way.christos
2017-11-14check results of pool_prime.christos
2017-06-15Divide crp_devflags from crp_flags to write exclusively.knakahara
2017-06-08sanitize in CIOCNCRYPTM and initialize comp_alg in CIOCNGSESSIONknakahara
2017-06-08sanitize count used for kmem_alloc size.knakahara
2017-06-02rename crypto_mtx to cryptodev_mtxknakahara
2017-05-25add cryptkop alloc/free KPI instead of manipulating cryptkop_pool directly.knakahara
2017-05-17opencrypto: cleanup debug messages.knakahara
2017-04-24separate crypto_drv_mtx from crypto_mtx.knakahara
2017-04-07the processing said "ghastly hacks" is unnecessary now.knakahara
2017-04-07fix race among crypto_done(), cryptoret(), and {cryptodev_op(), cryptodev_key...knakahara
2017-04-05fix processes accessing /dev/crypto stall when over three processes run with ...knakahara
2016-07-07KNF. Remove extra spaces. No functional change.msaitoh
2015-08-20include "ioconf.h" to get the 'void <driver>attach(int count);' prototype.christos
2015-03-26Trivial printf format changes and typo fixprlw1
2014-11-27Return ENOSPC instead of ENOMEM when there is no room in the buffer tochristos
2014-09-05Try not to use f_data, use f_fcrypt to get a correctly typed pointer.matt
2014-08-04At least crypto_mtx needs initialisation here. Spotted during PR/49065skrll
2014-07-25Add d_discard to all struct cdevsw instances I could find.dholland
2014-03-16Change (mostly mechanically) every cdevsw/bdevsw I can find to usedholland
2014-02-03Undo previous - it still needs a lot more work.pgoyette
2014-01-31Replace home-grown config with standardized calls topgoyette
2014-01-24As requested by mrg@, since there is still a small window during whichpgoyette
2014-01-21Implement in-module ref-counting, and do not allow auto-unload if therepgoyette
2014-01-21knf: Blank line even if no variable declarations.pgoyette
2014-01-19bail out unloading for nowchristos
2014-01-04When crypto(4) is built-in, crypto_modcmd() doesn't need to handle allpgoyette
2014-01-01Modularize the opencrypto components and link to the buildpgoyette
2013-09-12Fix return value of cryptodev_msessionfin.martin
2011-07-04Fix memset usage.joerg
2011-06-09-if an opencrypto(9) session is allocated, the driver is refcounteddrochner
2011-05-27allow testing of GCM/GMAC code from userlanddrochner
2011-05-26fix building of a linked list if multiple algorithms are requesteddrochner
2011-05-24catch some corner cases of user inputdrochner
2011-05-24copy AES-XCBC-MAC support from KAME IPSEC to FAST_IPSECdrochner
2011-05-23-remove references to crypto/arc4/arc4.* -- the code isn't useddrochner
2011-05-23If symmetric encryption is done from userland crypto(4) and no IVdrochner
2011-05-23being here, export camellia-cbc through crypto(4) to allow userland testsdrochner
2011-05-23add an AES-CTR xform, from OpenBSDdrochner
2011-05-23-in the descriptor for encryption xforms, split the "blocksize" fielddrochner
2011-05-16split the "crypto_mtx" spinlock into 3: one spinlock each fordrochner
2011-05-06As a first step towards more fine-grained locking, don't requiredrochner
2011-02-19make the compatibility code conditional on COMPAT_50drochner
2011-02-18more "const"drochner
2010-08-02Consistently use a single CRYPTO_SESID2HID-like macro.jakllsch
2010-01-31Add missing "break" for CRYPTO_CAST_CBC, and some assorted comment fixes.hubertf