summaryrefslogtreecommitdiff
path: root/sys/crypto
AgeCommit message (Expand)Author
2015-11-03Enable Chacha20-Poly1305 in the software crypto driverMike Belopuhov
2015-11-03Hook up Chacha20-Poly1305 to the OpenBSD Cryptographic FrameworkMike Belopuhov
2015-11-03Chacha20-Poly1305 AEAD construction as described in RFC7634 and RFC7539Mike Belopuhov
2015-10-29Import Poly1305 Message Authentication CodeMike Belopuhov
2015-10-27Use verbose defines instead of hardcoded values for clarity whenMike Belopuhov
2015-10-27Sync chacha_ivsetup to the version in ssh so that we couldMike Belopuhov
2015-10-26Use axf's hashsize as a block size in the authenticated encryption routine.Mike Belopuhov
2015-08-31two fairly simple sizes for free()Theo de Raadt
2015-08-28fairly simple sizes for free(); ok teduTheo de Raadt
2015-03-16Include <sys/param.h> rather than <sys/types.h> when also includingMiod Vallat
2015-03-14Remove wrong reference to zlib.Loganaden Velvindron
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2015-02-20Use standard spelling for types, and rename local variable from "free".Ted Unangst
2015-02-09we want to defer work traditionally (in openbsd) handled in anDavid Gwynne
2015-02-07keep this in sync a bit with userland by putting static on functionsDavid Gwynne
2015-01-27remove the second void * argument on tasks.David Gwynne
2015-01-16Less code, more better. No longer need to worry about what mysteriousTed Unangst
2015-01-15remove static version stringTed Unangst
2015-01-15simplify des headers by stripping out all the unnecessary userland bitsTed Unangst
2015-01-04Use __buffer__ instead of __string__ as the __bounded type. The former causesMiod Vallat
2014-12-31recent changes broke alignment requirements on arm.Ted Unangst
2014-12-30add __bounded as appropriate.David Gwynne
2014-12-28convert bcopy to memcpy in md5 and sha1. also be consistent about clearingTed Unangst
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