summaryrefslogtreecommitdiff
path: root/sys/crypto/cryptodev.h
AgeCommit message (Collapse)Author
2003-08-14mirror change in mbufs: cuio_copyback's 4th arg is now const void *Jason Wright
2003-07-24increase ALG_MAX_RESULT_LEN to 64 bytes for sha2-512Markus Friedl
2003-07-24hmac-sha2-{256,384,512} support in AH/ESP auth. markus okJun-ichiro itojun Hagino
2003-06-03license cleanup regarding term 4Theo de Raadt
2003-06-03Fastpath for userland crypto requests. This change makes userlandBob Beck
crypto requests attempt to call the crypto driver directly to process crypto layer requests, as opposed to queueing them in the kernel crypto thread. If we can't use the crypto devices (i.e. they're busy) we fall back to queueing the request up in the crypto thread as before. This does allow for faster performance in some cases (smaller requests, how small seems to be dependent on the card/cpu combination) where context switching is a major issue in performance. ok deraadt@ jason@
2003-02-15skeleton support for LZS compressionJason Wright
2003-02-15CRD_F_COMP isn't so special that it needs 4 bits for a binary flagJason Wright
2002-11-21From Angelos:Jason Wright
- simplistic load balancing across multiple cards - simplified registration process - a few style nits.
2002-11-12Add a CRYPTO_NULL xform (it's a do nothing, but nice for measuring theJason Wright
bandwidth of the kernel API). It's only available from userland and then only if kern.cryptodevallowsoft=1.
2002-07-17I don't know why this breaks things for me when sshd starts on sparc64.Artur Grabowski
But after wasting the whole day trying to just locate the problem I don't care. Back out since this wasn't tested and showed to anyone else.
2002-07-16Add CRYPTO_ALGORITHM_ALLAngelos D. Keromytis
2002-06-11kernel changes to make asymmetric crypto work in userlandBob Beck
- modify getfeat to return something more useful to us on devices (like lofn and everything else until jason fixes it) that can't do rsa stuff, etc and can only do mod_exp.. - error handling fixes so we correctly fail to software when we can't deal with a particular key size - add sysctl kern.userasymcrypto to turn on/off userland asymmetric crypto via /dev/crypto - 1 == on, 0 == off, default is off
2002-06-09Don't use an int for the flags, when the structure usesAngelos D. Keromytis
u_int8_t. Also, make sure the logic is correct (bad theo!)
2002-05-18not ready to export fcrypt to userland yet; spotted by lebelTheo de Raadt
2002-05-18export struct fcrypt to userlandTheo de Raadt
2002-04-24kernel API does not need the userland addresses, make them go awayTheo de Raadt
2002-04-23initial hack at a CIOCSYMFEAT ioctlTheo de Raadt
2002-04-23driver queueing & callback code for keying operationsTheo de Raadt
2002-04-08Credit DARPA/USAF appropriately.Jason Wright
2002-03-14First round of __P removal in sysTodd C. Miller
2002-03-04remove old PK stuffTheo de Raadt
2002-03-02do some more renamingTheo de Raadt
2002-03-02initial cut at crypto_sop definitions for symmetric cryptoTheo de Raadt
2002-03-01remove CRYPTO_BUF_CONTIG and convert to handle iovs. okay deraadt@Niels Provos
2002-03-01helper functions for uio (cuio_apply and cuio_getptr) okay deraadt@Niels Provos
2002-02-24license repair, angelos okTheo de Raadt
2002-01-29Remove the iov2pages/mbuf2pages API... All of the relevant arch's supportJason Wright
bus_dma(9) which actually does this job correctly.
2001-11-09be way more sure that software cannot be usedTheo de Raadt
2001-08-28Getting closer to working userland MAC.ben
2001-08-22add RC4 and SHA1 supportTheo de Raadt
2001-08-05put in tags for ARC4 to please ben, who now has no excusesTheo de Raadt
2001-07-05Stylistic changes.Angelos D. Keromytis
2001-07-05Compression support for IPComp. Include files only. angelos@ ok.Jean-Jacques Bernard-Gundol
2001-06-25Add crypto_check_alg(), from jgarfiel@seas.upenn.eduAngelos D. Keromytis
2001-06-25Update comments.Angelos D. Keromytis
2001-06-24Fix RSA structure.Angelos D. Keromytis
2001-06-23Remove unneeded crp_iv field, set the right flags for IV handling inAngelos D. Keromytis
the crypto device.
2001-06-23New prototype for crypto_register(), to take into account maximum keyAngelos D. Keromytis
length (for PK operations) and various flags. Structures for public key operations (DH, RSA, DSA). A lot of this work was done by jgarfiel@seas.upenn.edu
2001-06-23merge crypto/crypto{dev,}.h to crypto/cryptodev.h, to avoid name conflicts ↵Theo de Raadt
inside OpenSSL codebase
2001-06-01CRIOGET is a _IOWR ioctlTheo de Raadt
2001-05-13copyrights and $OpenBSD$ tagsJason Wright
2001-05-13initial cut at /dev/crypto support. takes original mbuf "try, and discardTheo de Raadt
if we fail" semantics and extends to two varients of data movement: mbuf, or an iovec style block.