Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-03-24 | major knf | Hans-Joerg Hoexer | |
fix spelling in comment, by rohee@ no binary change ok deraadt@ | |||
2005-03-24 | ansi and tiny knf | Hans-Joerg Hoexer | |
ok deraadt@ | |||
2004-12-21 | Don't use crypto thread for callbacks. | Marco Pfatschbacher | |
This primarily improves IPsec performance when using crypto accelerators. With help from markus@, tested by wvdputte@. ok deraadt@, markus@ | |||
2004-12-20 | Allow the setkey function of a transform to fail, eg. when an insufficient | Hans-Joerg Hoexer | |
number of key bits is supplied. Only AES and DES/3DES might fail. ok and help markus@ | |||
2004-12-15 | minimum key length of aes is 128 bit, not 64. | Hans-Joerg Hoexer | |
ok markus | |||
2004-12-14 | indentation and some knf, no binary change | Hans-Joerg Hoexer | |
ok + help markus | |||
2004-06-26 | Ansification of defalte-/lsz-stubs. | Hans-Joerg Hoexer | |
ok jfb@ | |||
2004-06-20 | In crypto_thread(), always save return value from splimp(). We were only | Aaron Campbell | |
storing it once on kernel startup. Scary. "holy crap" --deraadt. art@ ok Unclear if this was actually a problem in practice, but this doesn't hurt. | |||
2004-05-07 | Replace RSA-derived md5 code with code derived from Colin Plumb's PD version. | Todd C. Miller | |
This moves md5.c out of libkern and into sys/crypto where it belongs (as requested by markus@). Note that md5.c is still mandatory (dev/rnd.c uses it). Verified with IPsec + hmac-md5 and tcp md5sig. OK henning@ and hshoexer@ | |||
2004-05-03 | Rev 1.4 was bogus (committed from the wrong tree), this repairs it. | Todd C. Miller | |
2004-05-03 | some minor KNF | Todd C. Miller | |
2004-04-29 | The data pointer passed to the transform function may not be properly | Todd C. Miller | |
aligned so copy it in a way that a) is endian indepenent and b) does not rely on alignment. Problem found and solution tested by hshoexer@ | |||
2004-04-28 | Sync userland sha2.c with kernel. The SHAXXX_End and SHAXXX_Data functions | Todd C. Miller | |
have been removed; we provide these in userland but not in the kernel. | |||
2004-04-28 | Some KNF, made bit count u_int64_t instead of u_int32_t (similar to libc). | Hans-Joerg Hoexer | |
Added constants for buffer lengths. ok millert@ | |||
2004-04-14 | leak; vgirish at tenet.res.in; via angelos; ok hshoexer, henning, deraadt | Markus Friedl | |
2004-03-31 | remove sparc64/gcc2 workaround. | Brad Smith | |
ok millert@ deraadt@ jason@ | |||
2004-03-14 | disable mac for now, they are not usable with current hardware; ok deraadt@ | Markus Friedl | |
2004-02-08 | save kernel space; full unroll is not needed; from freebsd | Theo de Raadt | |
2004-02-05 | expose two more functions | Theo de Raadt | |
2003-12-26 | - use 1/2 space for rijndael context in ipsec | Markus Friedl | |
- rijndael_set_key_enc_only() sets up context for encryption only - rijndael_set_key() always sets up full context - rijndaelKeySetupDec() gets back original protoype - uvm: use _enc_only() interface with hshoexer@, ok deraadt@ | |||
2003-12-14 | alignment fixes (e.g sparc 64); from Daniel Lucq; ok millert, henning | Markus Friedl | |
2003-10-07 | arc4 support; ok millert@, fgsch@ | Markus Friedl | |
2003-09-23 | Replace select backends with poll backends. selscan() and pollscan() | Todd C. Miller | |
now call the poll backend. With this change we implement greater poll(2) functionality instead of emulating it via the select backend. Adapted from NetBSD and including some changes from FreeBSD. Tested by many, deraadt@ OK | |||
2003-09-03 | zap context correctly, from Juergen Buchmueller <pullmoll at stop1984 dot com> | Federico G. Schwindt | |
deraadt@ ok. | |||
2003-08-14 | mirror change in mbufs: cuio_copyback's 4th arg is now const void * | Jason Wright | |
2003-07-31 | pasto; lha@stacken.kth.se | Markus Friedl | |
2003-07-24 | increase ALG_MAX_RESULT_LEN to 64 bytes for sha2-512 | Markus Friedl | |
2003-07-24 | hmac-sha2-{256,384,512} support in AH/ESP auth. markus ok | Jun-ichiro itojun Hagino | |
2003-06-10 | don't allow /dev/crypto to be opened ifndef CRYPTO (the thread hasn't been | Jason Wright | |
started, so all operations will hang later on anyway). | |||
2003-06-03 | license cleanup regarding term 4 | Theo de Raadt | |
2003-06-03 | Fastpath for userland crypto requests. This change makes userland | Bob 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-05-30 | move max limit back down to 65536-4 | Jason Wright | |
2003-04-09 | makeing a local array static saves some bytes; idea from mickey@ | Markus Friedl | |
2003-02-21 | There's no cleaning necessary for deflate compression, so remove it from | Jason Wright | |
the switch. | |||
2003-02-19 | Copy the ENTIRE table into the supported algorithms (how the hell did this | Jason Wright | |
work before?!) | |||
2003-02-19 | lzs is lzs, lzs is not deflate | Jason Wright | |
2003-02-15 | skeleton support for LZS compression | Jason Wright | |
2003-02-15 | CRD_F_COMP isn't so special that it needs 4 bits for a binary flag | Jason Wright | |
2003-01-08 | Move the rounds into separate functions on sparc64 so gcc's optimizer | Todd C. Miller | |
doesn't blow up. This is a hack but is better than compiling sha1.c with -O0 on sparc64. From NetBSD (mrg). deraadt@ OK | |||
2002-11-21 | From Angelos: | Jason Wright | |
- simplistic load balancing across multiple cards - simplified registration process - a few style nits. | |||
2002-11-12 | Add a CRYPTO_NULL xform (it's a do nothing, but nice for measuring the | Jason Wright | |
bandwidth of the kernel API). It's only available from userland and then only if kern.cryptodevallowsoft=1. | |||
2002-10-27 | Use int32_t rather long on strategic places, to be more sparc64-friendly; | Miod Vallat | |
ok jason@ a long time ago | |||
2002-08-16 | fix size in MALLOC/bzero call, from sam@errno.com, ok deraadt@ | Daniel Hartmeier | |
2002-07-17 | I 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-16 | Double-pass over drivers, first hardware only, then software (if we | Angelos D. Keromytis | |
are interested in software). | |||
2002-07-16 | Fix a typo, cleanup on session migration code in crypto_invoke(), and | Angelos D. Keromytis | |
add a convention that if the driver returns ERESTART as an error message of its process method, the crypto framework will unregister the driver and migrate all its sessions. After discussion with Sam Leffler and Jason Wright. | |||
2002-07-16 | Add CRYPTO_ALGORITHM_ALL | Angelos D. Keromytis | |
2002-07-10 | proper cdev_decl(crypto) and no private protos | Michael Shalayeff | |
2002-07-10 | use right sizeof in memcpy; markus ok | Theo de Raadt | |
2002-07-02 | inital -> initial | Nathan Binkert | |