summaryrefslogtreecommitdiff
path: root/sys/crypto
AgeCommit message (Expand)Author
2014-12-28remove KPDK. not really used, and a bad choice anyway. ok naddyTed Unangst
2014-12-23as in libc, always assume digest is passed to Final. no null allowed.Ted Unangst
2014-12-23as in libc, there's no need to check for calling Init on null contextTed Unangst
2014-12-23use endian.h swap macros instead of home grown versionsTed Unangst
2014-12-20openbsd rcisdTed Unangst
2014-12-19make the code look more like libc by changing Transform to take the stateTed Unangst
2014-12-19convert bcopy/zero to memcpy. ok deraadt djmTed Unangst
2014-12-18only unroll on i386 and amd64 (where confirmed to be much faster).Ted Unangst
2014-12-17unroll loops for sha2. quite a bit faster for amd64.Ted Unangst
2014-11-17Sync our kernel AES code to the one shipped in OpenSSL/LibreSSL.Mike Belopuhov
2014-11-16Defining the interface in terms of char * means most callers areTed Unangst
2014-11-12Improve performance of an internal loop by saving up on branchingMike Belopuhov
2014-11-04introduce SipHash, designed by Jean-Phillippe Aumasson and DanielDavid 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-08-20Bye bye /dev/cryptoMike Belopuhov
2014-08-18dont rely on mbuf.h to provide pool.h.David Gwynne
2014-07-13use mallocarray()Theo de Raadt
2014-07-13do not need malloc.hTheo de Raadt
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-07-08decouple struct uvmexp into a new file, so that uvm_extern.h and sysctl.hTheo de Raadt
2014-02-18fix IPComp interop with linux: switch Z_PARTIAL_FLUSH to Z_FINISH forMarkus Friedl
2014-02-11- grow the decompression buffer more aggressively if we haveMarkus Friedl
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-11-18ansify some function definitions and tidy up this code style wise. thisBrad Smith
2013-11-02replace rc4 with ChaCha20 here, too; ok djm, tedu, deraadtMarkus Friedl
2013-10-31convert crypto work queue to the task_add(9) api; ok dlgMike Belopuhov
2013-08-25Allocate and deallocate memory for encryption contexts within cryptosoft,Joel Sing
2013-06-11Replace more ovbcopy with memmove; swap the src and dst arguments tooTheo de Raadt
2013-06-05fix a bug that caused time-based rekeys to happen too frequently.Damien Miller
2013-03-27institute a hard cap on crypto devs instead of a useless wraparound checkTed Unangst
2012-12-11Bring back a small copy optimization in the aes-gcm handling:Mike Belopuhov
2012-12-07RFC 4106, Section 5 states that the SPI and a 64-bit SequenceMike Belopuhov
2012-12-07Fix one of the two issues with ESN support in the GCM case:Mike Belopuhov
2012-12-05Remove excessive sys/cdefs.h inclusionTheo de Raadt
2012-10-28We need to allocate memory for crp_buf in the DMA accessibleMike Belopuhov
2012-10-04Clean up uninitialized warnings from cryptosoft and aesni.Christiano F. Haesbaert
2012-06-29Add support for the Extended (64-bit) Sequence Number as definedMike Belopuhov
2012-04-25Use explicit_bzero() for clearing key material.Matthew Dempsky
2012-04-22Add struct proc * argument to FRELE() and FILE_SET_MATURE() inPhilip Guenthe
2012-02-15Hold struct filedesc's fd_lock when writing to the fd_ofiles, fd_ofileflags,Philip Guenthe
2011-07-07empty files should be deletedTed Unangst
2011-07-07Replace the cruddy old sys/net/zlib.[ch]. We now use the sys/lib/libzTheo de Raadt
2011-01-12cleanup aes-ctr keystream after use; ok deraadtMike Belopuhov